Product Launch
anonymous
2 points
1 comments
Posted16 days ago
Narsil-MCP
github.comlaunchedlibrarydevelopers
Key Features
MCP server implementation76 tools for deep code intelligenceRust-powered
Tech Stack
Rust
Key Features
Tech Stack
What it does:
- Multi-language parsing (14 languages) via tree-sitter - Rust, Python, JS/TS, Go, Java, C/C++, C#, Ruby, Kotlin, PHP, Bash
- Semantic search - BM25, TF-IDF, hybrid ranking, and optional neural embeddings (Voyage AI/OpenAI)
- Security analysis - taint tracking, OWASP Top 10, CWE Top 25, secrets detection
- Supply chain - SBOM generation (CycloneDX/SPDX), dependency vulnerability checks via OSV, license compliance
- Static analysis - call graphs, control flow, data flow, type inference for dynamic languages
- Git integration - blame, history, hotspots, contributors
Why I built it:
Existing MCP servers for code are either limited to specific languages, require cloud APIs, or lack security analysis. I wanted something that runs entirely locally - no data leaves your machine - while providing the best possible depth of analysis.
Technical highlights:
- Single ~30MB binary - zero runtime dependencies
- Parses at ~2 GiB/s (tree-sitter is fast)
- Symbol lookup in <1µs, full-text search in <1ms
- Incremental indexing via Merkle trees
- WASM build available for browser-based tools
Works with Claude Code, Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client.
GitHub: https://github.com/postrv/narsil-mcp
Happy to answer questions about the architecture or tree-sitter query patterns.Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.