Show HN: Mantic.sh – A structural code search engine for AI agents

Hacker News (score: 43)
Found: January 06, 2026
ID: 2922

Description

Other
Show HN: Mantic.sh – A structural code search engine for AI agents Author here! Some context: I published this 48 hours ago and it was auto-listed on MCPMarket (the MCP tools directory). Got 700+ organic downloads with zero marketing—developers were actively searching for exactly this solution.

The "Git Accelerator" optimization story:

Initially used a file walker that took 6.6s on Chromium. Profiling showed 90% was filesystem I/O. The fix: git ls-files returns 480k paths in ~200ms. Added smart heuristics for untracked files (only scan dirs <50k files), bringing total to 0.46s.

Why this matters: Agents can't wait 10 seconds for search. Sub-500ms makes it feel instant, changing how they explore codebases.

Installation:

  Cursor: npx mantic.sh@latest
  VS Code: npx mantic.sh@latest
  CLI: npm i -g mantic.sh
Limitations: Mantic is optimized for precise queries ("find stripe webhook") where structure matters. For fuzzy exploratory search, traditional embeddings may still be better. Curious if HN has ideas for hybrid approaches.

Happy to answer questions!

More from Hacker

Show HN: Sqlit – A lazygit-style TUI for SQL databases

Show HN: Sqlit – A lazygit-style TUI for SQL databases I work mostly in the terminal but found myself constantly switching to bloated GUIs like SSMS only for the simple task of browsing tables and run queries. And I didn&#x27;t find Existing SQL TUIs intuitive, having to read documentation to learn keybindings and CLI flags to connect. Given I had recently switched to linux, I found myself using vs code&#x27;s sql database extension. Something was awfully wrong.<p>I wanted something like lazygit for databases – run it, connect, and query and frankly just make it enjoyable to access data.<p><pre><code> Sqlit is a keyboard-driven SQL TUI with: - Context-based keybindings (always visible) - Neovim-like interface with normal and insert mode for query editing - Browse databases, tables, views, stored procedures - Adapters for SQL Server, SQLite, PostgreSQL, Turso &amp; more - SSH tunneling support - Themes (Tokyo Night, Nord, Gruvbox etc.) Inspired by lazygit, neovim and lazysql. Built with Python&#x2F;Textual. </code></pre> Feedback welcome – especially on which adapters to prioritize next. My vision of sqlit is to make a tool that makes it easy to connect and query data, and to do that, and that thing only, really well.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Maxteabag&#x2F;sqlit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Maxteabag&#x2F;sqlit</a>

Show HN: Turn Markdown into React/Svelte/Vue UI at runtime, zero build step

Show HN: Turn Markdown into React/Svelte/Vue UI at runtime, zero build step

Manticore Search: Fast, efficient, drop-in replacement for Elasticsearch

Manticore Search: Fast, efficient, drop-in replacement for Elasticsearch

No other tools from this source yet.