Narsil
Rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more
Rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more
{
"mcpServers": {
"narsil-mcp": {
"command": "narsil-mcp",
"args": [
"--repos",
".",
"--git",
"--call-graph"
]
}
}
}
# narsil-mcp > The blazing-fast, privacy-first MCP server for deep code intelligence [](LICENSE-MIT) [](https://www.rust-lang.org) [](https://github.com/postrv/narsil-mcp) [](https://modelcontextprotocol.io) A Rust-powered MCP (Model Context Protocol) server providing AI assistants with deep code understanding through 90 specialized tools. ## Why narsil-mcp? | Feature | narsil-mcp | XRAY | Serena | GitHub MCP | |---------|------------|------|--------|------------| | **Languages** | 32 | 4 | 30+ (LSP) | N/A | | **Neural Search** | Yes | No | No | No | | **Taint Analysis** | Yes | No | No | No | | **SBOM/Licenses** | Yes | No | No | Partial | | **Offline/Local** | Yes | Yes | Yes | No | | **WASM/Browser** | Yes | No | No | No | | **Call Graphs** | Yes | Partial | No | No | | **Type Inference** | Yes | No | No | No | ## Key Features - **Code Intelligence** - Symbol extraction, semantic search, call graph analysis - **Neural Semantic Search** - Find similar code using embeddings (Voyage AI, OpenAI) - **Security Analysis** - Taint analysis, vulnerability scanning, OWASP/CWE coverage - **Supply Chain Security** - SBOM generation, dependency auditing, license compliance - **Advanced Analysis** - Control flow graphs, data flow analysis, dead code detection ### Why Choose narsil-mcp? - **Written in Rust** - Blazingly fast, memory-safe, single binary (~30MB) - **Tree-sitter powered** - Accurate, incremental parsing for 32 languages - **Zero config** - Point at repos and go - **MCP compliant** - Works with Claude, Cursor, VS Code Copilot, Zed, and any MCP client - **Privacy-first** - Fully local, no data leaves your machine - **Parallel indexing** - Uses all cores via Rayon - **Smart excerpts** - Expands to complete syntactic scopes - **Security-first** - Built-in vulnerability detection and taint analysis - **Neural embeddings** - Optional semantic search with Voyage AI or OpenAI - **WASM support** - Run in browser with WebAssembly build - **Real-time streaming** - Results as indexing progresses for large repos ## Supported Languages | Language | Extensions | Symbols Extracted | |----------|------------|-------------------| | Rust | `.rs` | functions, structs, enums, traits, impls, mods | | Python | `.py`, `.pyi` | functions, classes | | JavaScript | `.js`, `.jsx`, `.mjs` | functions, classes, methods, variables | | TypeScript | `.ts`, `.tsx` | functions, classes, interfaces, types, enums | | Go | `.go` | functions, methods, types | | C | `.c`, `.h` | functions, structs, enums, typedefs | | C++ | `.cpp`, `.cc`, `.hpp` | functions, classes, structs, namespaces | | Java | `.java` | methods, classes, interfaces, enums | | C# | `.cs` | methods, classes, interfaces, structs, enums, delegates, namespaces | | **Bash** | `.sh`, `.bash`, `.zsh` | functions, variables | | **Ruby** | `.rb`, `.rake`, `.gemspec` | methods, classes, modules | | **Kotlin** | `.kt`, `.kts` | functions, classes, objects, interfaces | | **PHP** | `.php`, `.phtml` | functions, methods, classes, interfaces, traits | | **Swift** | `.swift` | classes, structs, enums, protocols, functions | | **Verilog/SystemVerilog** | `.v`, `.vh`, `.sv`, `.svh` | modules, tasks, functions, interfaces, classes | | **Scala** |...
A collection of MCP servers.
Chrome DevTools for coding agents
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, M...
Playwright MCP server
GitHub's official MCP Server
🚀 The fast, Pythonic way to build MCP servers and clients.