A blazingly fast MCP server for code intelligence - multi-language parsing, semantic search, call graphs, security scanning
npm install narsil-mcpA blazingly fast MCP (Model Context Protocol) server for comprehensive code intelligence.
``bash`
npm install -g narsil-mcp
Create .mcp.json in your project root:
`json`
{
"mcpServers": {
"narsil-mcp": {
"command": "npx",
"args": ["narsil-mcp", "--repos", ".", "--git", "--call-graph"]
}
}
}
Then start Claude Code in your project directory.
- 76 MCP tools for code intelligence
- 16 languages supported via tree-sitter
- Multi-mode search: BM25, TF-IDF, hybrid, neural embeddings
- Call graph analysis: callers, callees, paths, hotspots
- Security scanning: OWASP Top 10, CWE Top 25, secrets detection
- Git integration: blame, history, contributors, hotspots
- Static analysis: CFG, DFG, type inference, taint analysis
`bashIndex current directory
narsil-mcp --repos . --git --call-graph
Documentation
Full documentation: https://github.com/postrv/narsil-mcp
Alternative Installation
`bash
Shell installer (recommended for non-Node.js users)
curl -fsSL https://raw.githubusercontent.com/postrv/narsil-mcp/main/install.sh | bashBuild from source
cargo install narsil-mcpHomebrew (macOS)
brew install postrv/tap/narsil-mcp
``MIT OR Apache-2.0