PN

postrv/narsil-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

185 stars 27 forks 品質 90 トレンド 31Apache-2.0

postrv/narsil-mcp は、https://github.com/postrv/narsil-mcp. からインポートされたMCPサーバー候補です。

概要

postrv/narsil-mcp は、https://github.com/postrv/narsil-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

深層コードインテリジェンスのための高速でプライバシー最優先のMCPサーバー

Rust搭載のMCP(モデルコンテキストプロトコル)サーバーで、90の専門ツールを通じてAIアシスタントに深いコード理解を提供します。

なぜnarsil-mcpなんだ?

機能 NARSIL-MCP XRAY Serena GitHub MCP
言語32 4 30+(LSP) 該当なし
神経検索はい いいえ いいえ いいえ
汚染分析はい いいえ いいえ いいえ
SBOM/ライセンスはい いいえ いいえ 部分的
オフライン/ローカルはい はい はい いいえ
WASM/ブラウザはい いいえ いいえ いいえ
コールグラフはい 部分的 いいえ いいえ
タイプ推論はい いいえ いいえ いいえ

主な特徴

  • コードインテリジェンス - シンボル抽出、セマンティックサーチ、コールグラフ解析
  • ニューラルセマンティックサーチ - 埋め込みを使って類似コードを検索(Voyage AI、OpenAI)
  • セキュリティ分析 - 汚染分析、脆弱性スキャン、OWASP/CWEカバレッジ
  • サプライチェーンセキュリティ - SBOM生成、依存監査、ライセンス遵守
  • 高度な解析 - 制御フローグラフ、データフロー解析、死コード検出

なぜnarsil-mcpを選ぶのか?

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

narsil-mcp

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.

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
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector ./target/release/narsil-mcp --repos ./path/to/repo
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "narsil-mcp": { "command": "narsil-mcp", "args": ["--repos", ".", "--git", "--call-graph"] } } }