★ 154 Rust Apache-2.0 sse 更新 5分钟前

Narsil

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"
            ]
        }
    }
}

README 摘要

# narsil-mcp > The blazing-fast, privacy-first MCP server for deep code intelligence [![License](https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT) [![Rust](https://img.shields.io/badge/rust-1.70%2B-orange.svg)](https://www.rust-lang.org) [![Tests](https://img.shields.io/badge/tests-passing-brightgreen.svg)](https://github.com/postrv/narsil-mcp) [![MCP](https://img.shields.io/badge/MCP-compatible-blue.svg)](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** |...

相关 MCP

Libre Chat

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, M...

★ 37614 TypeScript sse 待补充
mcp sse TypeScript

Github

GitHub's official MCP Server

★ 30243 Go sse 待补充
mcp sse Go

Fast

🚀 The fast, Pythonic way to build MCP servers and clients.

★ 25364 Python sse 待补充
mcp Python sse