Mantic.sh
A structural code search engine for AI agents
Details
- External ID
- 46512182
- Source
- HN
- Company
- —
- Product
- Mantic.sh
- Website domain
- github.com
- Launched
- Jan. 6, 2026
- Cohort
- —
- Upvotes
- 81
- Upvotes percentile
- 0.8774703557312253
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
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!
Enrichment
- Theme
- browser automation and scraping for AI
- Vertical
- Horizontal
- Function
- Search & retrieval
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- structural code search engine for ai agents
- Manually corrected
- False
Could you build this?
Yes A structural code search CLI/MCP server can be built by wrapping tree-sitter or AST parsers and git commands to search symbols and code structures efficiently.
Discussion
20 comments analyzed.
Competitors mentioned: fzf (fuzzy finder), IDE file pickers, Traditional semantic search tools with embeddings
Concerns raised: Path-dependent ranking unreliable on large/non-standard codebases (Chromium repo fails), Scanner fails on certain project structures, .gitignore issues prevent finding source files, Only returns package.json on some projects, AGPL license concerns for commercial use
Feature requests: Support for Python, Rust, Go language-specific patterns, Two-pass scoring with function/class name extraction, Configurable timeout via MANTIC_TIMEOUT env var, Better handling of non-standard project layouts and monorepos
Competitors
Other products that read as similar to this one — 86 launches clear the similarity bar, closest 8 shown.
Attention rank: #11 of 87 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 60 days after the earliest competitor.
- GitHits · hn · 2025-12-01 · 11 upvotes · similarity 0.43
- Pu.sh · hn · 2026-04-30 · 92 upvotes · similarity 0.42
- Semble · hn · 2026-05-03 · 8 upvotes · similarity 0.42
- Semble · hn · 2026-05-17 · 445 upvotes · similarity 0.42
- Semble · hn · 2026-04-26 · 7 upvotes · similarity 0.42
- GitClassic.com, a fast, lightweight GitHub thin client (pages <14KB) · hn · 2026-03-12 · 41 upvotes · similarity 0.41
- Agentsearch · hn · 2026-04-08 · 5 upvotes · similarity 0.40
- Shikigami, run AI coding agents in parallel, each in a Git worktree · hn · 2026-07-19 · 7 upvotes · similarity 0.40
Other launches for this product
- No other launches for this product.