Narsil MCP
Blazingly fast π₯ best in class MCP server in Rust π¦ with neural engine, security profiling, and optional graph frontend
Ads
Overview
> The blazing-fast, privacy-first MCP server for deep code intelligence A Rust-powered MCP (Model Context Protocol) server providing AI assistants with deep code understanding through 90 specialized tools. - 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
Installation
npm install -g narsil-mcp
Configuration
{
"mcpServers": {
"narsil-mcp": {
"command": "narsil-mcp",
"args": ["--repos", ".", "--git", "--call-graph"]
}
}Capabilities
- Find symbols across 32 languages
Search for functions, classes, or interfaces by name or pattern using `find_symbols` or `workspace_symbol_search`.
- Trace tainted data for security audits
Follow user input through the codebase with `trace_taint` and detect injection vulnerabilities like SQLi or XSS.
- Analyze function call relationships
Map callers, callees, and paths between functions with `get_call_graph`, `get_callers`, and `find_call_path`.
- Generate a software bill of materials
Export a CycloneDX or SPDX SBOM and check dependencies against the OSV database with `generate_sbom` and `check_dependencies`.
- Infer types without external checkers
Get inferred types for Python, JavaScript, or TypeScript variables using `infer_types` and find potential type errors.
- Query the codebase as a knowledge graph
Run SPARQL queries against the RDF graph or export tiered CCG layers for AI consumption with `sparql_query` and `export_ccg`.
Tags
- development
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.