1. Conduid
  2. Developer Tools
  3. Narsil MCP
MCP server · Developer Tools

Narsil MCP

Rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more

74Good

Scored 1 hours ago · breakdown

About Narsil MCP

Narsil MCP is an MCP server published by postrv in the Developer Tools category: rust MCP server for comprehensive code intelligence - 90 tools, 32 languages, security scanning, call graphs, and more. Conduid read 88 tools from its source: add_remote_repo, check_cwe_top25, check_dependencies, check_licenses, check_owasp_top10, check_type_errors and 82 more. No package is published for it, so it installs from a source checkout.

The repository has 190 stars and 28 forks, is licensed Apache-2.0, and its last commit was on 7 Oct 2026. The latest release is v1.7.2 (7 Oct 2026). It follows v1.7.1 (7 Oct 2026), and the 5 most recent releases go back to v1.6.0 (16 Feb 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include security-tools, devtools, code-intelligence and privacy.

Install

From source
git clone https://github.com/postrv/narsil-mcp

Tools (88)

add_remote_repoClone and index GitHub repository
check_cwe_top25Scan for CWE Top 25 weaknesses
check_dependenciesCheck for known vulnerabilities (OSV database)
check_licensesAnalyze licenses for compliance issues
check_owasp_top10Scan for OWASP Top 10 2021 vulnerabilities
check_type_errorsFind potential type mismatches
discover_reposAuto-discover repositories in a directory
explain_vulnerabilityGet detailed vulnerability explanation
export_ccgExport all CCG layers as a bundle
export_ccg_architectureLayer 1 architecture (~10-50KB JSON-LD) - modules, API
export_ccg_fullLayer 3 full detail (~1-20MB N-Quads gzipped)
export_ccg_indexLayer 2 symbol index (~100-500KB N-Quads gzipped)
export_ccg_manifestExport Layer 0 manifest to file
find_call_pathFind path between two functions
find_circular_importsDetect circular dependencies
find_dead_codeFind unreachable code blocks
find_dead_storesAssignments that are never read
find_injection_vulnerabilitiesFind SQL injection, XSS, command injection, path traversal
find_referencesFind all references to a symbol
find_semantic_clonesFind Type-3/4 semantic clones of a function
find_similar_codeFind code similar to a snippet (TF-IDF)
find_similar_to_symbolFind code similar to a symbol
find_symbol_usagesCross-file symbol usage with imports
find_symbolsFind structs, classes, functions by type/pattern
find_uninitializedVariables used before initialization
find_upgrade_pathFind safe upgrade paths for vulnerable deps
generate_sbomGenerate SBOM (CycloneDX/SPDX/JSON)
get_blameGit blame for file
get_branch_infoCurrent branch and status
get_call_graphGet call graph for repository/function
get_calleesFind functions called by a function
get_callersFind functions that call a function
get_ccg_access_infoGet CCG access tier information
get_ccg_aclGenerate WebACL access control for CCG layers
get_ccg_manifestLayer 0 manifest (~1-2KB JSON-LD) - repo identity, counts
get_chunk_statsStatistics about code chunks
get_chunksGet AST-aware chunks for a file
get_commit_diffDiff for specific commit
get_complexityGet cyclomatic/cognitive complexity
get_contributorsRepository/file contributors
get_control_flowGet CFG showing basic blocks and branches
get_data_flowVariable definitions and uses
get_dependenciesAnalyze imports and dependents
get_embedding_statsEmbedding index statistics
get_excerptExtract code around specific lines with context
get_export_mapGet exported symbols from a file/module
get_fileGet file contents with optional line range
get_file_historyCommit history for file
get_function_hotspotsFind highly connected functions
get_hotspotsFiles with high churn and complexity
get_hover_infoType info and documentation
get_import_graphBuild and analyze import graph
get_incremental_statusMerkle tree and change statistics
get_index_statusShow index stats and enabled features
get_metricsPerformance stats and timing
get_modified_filesWorking tree changes
get_neural_statsNeural embedding index statistics
get_project_structureGet directory tree with file icons and sizes
get_reaching_definitionsWhich assignments reach each point
get_recent_changesRecent commits in repository
get_remote_fileFetch file via GitHub API
get_security_summaryComprehensive security risk assessment
get_symbol_definitionGet symbol source with surrounding context
get_symbol_historyCommits that changed a symbol
get_taint_sourcesList taint sources (user input, files, network)
get_type_infoPrecise type information
get_typed_taint_flowEnhanced security analysis with type info
go_to_definitionFind definition location
hybrid_searchCombined BM25 + TF-IDF with rank fusion
import_ccgImport CCG layer from URL or file
import_ccg_from_registryImport CCG from codecontextgraph.com registry
infer_typesGet inferred types for all variables in a function
list_remote_filesList files via GitHub API
list_reposList all indexed repositories with metadata
list_sparql_templatesList available SPARQL query templates
neural_searchSemantic search using neural embeddings (finds similar code even with different names)
query_ccgQuery CCG using SPARQL
reindexTrigger re-indexing of repositories
run_sparql_templateExecute predefined SPARQL template with parameters
scan_securityScan with security rules (OWASP, CWE, crypto, secrets)
search_chunksSearch over AST-aware code chunks
search_codeKeyword search with relevance ranking
semantic_searchBM25-ranked semantic search
sparql_queryExecute SPARQL query against RDF knowledge graph
suggest_fixGet remediation suggestions for findings
trace_taintTrace tainted data flow from a source
validate_repoCheck if path is a valid repository
workspace_symbol_searchFuzzy search symbols across workspace

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 6.0K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and frontend/package-lock.json.
  • !No dynamic code executionScanned 114 source files and found 22 calls to eval or shell execution, in npm/install.js:99, npm/install.js:115 and src/taint/analyzer.rs:953 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
None found in the source
Starts other programs
30 callsnpm/bin/narsil-mcp.js:8, npm/install.js:99, npm/install.js:115
Outbound network calls
14 callsfrontend/src/api/client.ts:28, frontend/src/api/client.ts:39, frontend/src/api/client.ts:51
Writes or deletes files
60 callsbenches/indexing.rs:45, benches/indexing.rs:74, benches/indexing.rs:78
Lockfile
Cargo.lock and frontend/package-lock.json

Pattern matches on the source text of 114 files: places to read, not proof of what the code does at run time.

Releases

v1.7.2narsil-mcp v1.7.2 · 7 Oct 2026What's Changed ci: allow cold native graph test builds to complete by @postrv in https://github.com/postrv/narsil-mcp/pull/29 fix(installer): parse compact release metadata by @postrv in https://github.com/postrv/narsil-mcp/pull/30 Release…
v1.7.1v1.7.1 · 7 Oct 2026Known npm packaging issue A fresh npm installation of 1.7.1 can download the native binary without creating the `narsil-mcp` command. The defect is in npm command linking; the published native binaries and the Cargo and Homebrew…
v1.7.0v1.7.0 · 13 May 2026Full Changelog: https://github.com/postrv/narsil-mcp/compare/v1.6.1...v1.7.0
v1.6.1v1.6.1 · 25 Feb 2026Full Changelog: https://github.com/postrv/narsil-mcp/compare/v1.6.0...v1.6.1
v1.6.0v1.6.0 · 16 Feb 2026Full Changelog: https://github.com/postrv/narsil-mcp/compare/v1.5.0...v1.6.0

README

The repository's README runs to about 6.0K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Narsil MCP

How do I install Narsil MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Narsil MCP safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 114 source files found that it starts other programs (30 calls), makes outbound network calls (14 calls) and writes or deletes files (60 calls). Its dependencies are pinned by Cargo.lock and frontend/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Narsil MCP still maintained?

Yes — the latest release is v1.7.2 (7 Oct 2026), and the last commit was a month ago. The repository has 190 stars and 1 open issues.

What tools does Narsil MCP provide?

Conduid read 88 tools from the source: add_remote_repo, check_cwe_top25, check_dependencies, check_licenses, check_owasp_top10, check_type_errors, discover_repos, explain_vulnerability and 80 more.

What license is Narsil MCP released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v1.7.2, as well.