1. Conduid
  2. RAG
  3. Code Graph MCP
MCP server · RAG

Code Graph MCP

AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, impact analysis. Auto-indexes 10 languages via Tree-sitter.

76Good

Scored 5 hours ago · breakdown

About Code Graph MCP

Code Graph MCP is an MCP server published by sdsrss in the RAG category: aST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, impact analysis. Auto-indexes 10 languages via Tree-sitter. Conduid read 7 tools from its source: ast_search, find_references, get_ast_node, get_call_graph, module_overview, project_map and 1 more. It is published to npm as @sdsrs/code-graph and starts with npx.

The repository has 102 stars and 19 forks, is licensed MIT, and its last commit was on 25 Nov 2026. The latest release is v0.171.3 (17 Oct 2026): Upgrading: nothing to do (INDEX_VERSION is unchanged). It follows v0.171.2 (17 Oct 2026), and the 5 most recent releases go back to v0.170.1 (16 Oct 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include ast, call-graph, claude-code-plugin, code-navigation, knowledge-graph and semantic-search.

Install

Claude Code
claude mcp add code-graph-mcp-ec50 -- npx -y @sdsrs/code-graph
npx
npx -y @sdsrs/code-graph
From source
git clone https://github.com/sdsrss/code-graph-mcp

Tools (7)

ast_searchSearch AST nodes by text and/or structural filters (type, return type, params)
find_referencesFind all references to a symbol (callers, importers, inheritors, implementors, value/type references). Supports `compact` mode
get_ast_nodeOne symbol with signature, body and relations. `include_impact` adds the blast radius, `include_similar` embedding-similar nodes, `include_references` callers/callees. Supports `compact` mode
get_call_graphTrace upstream/downstream call chains for a function. Pass `route_path='GET /api/x'` to trace an HTTP route → handler → downstream instead
module_overviewSymbols in a directory or file, grouped by type and caller count. `include_dead` lists unreferenced symbols under the path; `include_deps` adds the file dependency graph (single-file paths only)
project_mapFull project architecture: modules, dependencies, entry points, hot functions. `include_centrality` adds architectural chokepoints
semantic_code_searchHybrid BM25 + vector search (RRF) for AST nodes. Supports `compact` mode

Security checks

  • ✓README presentThe repository's README runs to about 6.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 151 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.171.3v0.171.3 · 17 Oct 2026Upgrading: nothing to do (`INDEX_VERSION` is unchanged). To pin the binary back: `npm i -g @sdsrs/code-graph@0.171.2` (or, from source, `cargo install locked --git https://github.com/sdsrss/code-graph-mcp --tag v0.171.2 features…
v0.171.2v0.171.2 · 17 Oct 2026Upgrading: nothing to do (`INDEX_VERSION` is unchanged). To pin the binary back: `npm i -g @sdsrs/code-graph@0.171.1` (or, from source, `cargo install locked --git https://github.com/sdsrss/code-graph-mcp --tag v0.171.1 features…
v0.171.1v0.171.1 · 17 Oct 2026Upgrading: nothing to do (`INDEX_VERSION` is unchanged). `incremental-index` can now take longer: while another index build runs it waits for it (printing `Waiting for another index build …` unless `--quiet`), where it used to write…
v0.171.0v0.171.0 · 17 Oct 2026Upgrading: nothing to do (`INDEX_VERSION` is unchanged). Two exit codes change. While the MCP server builds the index, the CLI query commands exit 1 and ask you to retry; they answered from the part built so far with exit 0. And…
v0.170.1v0.170.1 · 16 Oct 2026Upgrading: nothing to do unless a project's `.code-graph` is a symlink, a regular file or a FIFO (`INDEX_VERSION` is unchanged). The commands that read such a project now refuse it (exit 1; `grep` falls back to plain grep). Through a…

README

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

Read full README
Questions

About Code Graph MCP

How do I install Code Graph MCP?

In Claude Code, run claude mcp add code-graph-mcp-ec50 -- npx -y @sdsrs/code-graph. Other MCP clients take the command after "--" in their server configuration.

Is Code Graph MCP safe to use with an AI agent?

Its trust score is 76 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Code Graph MCP still maintained?

Yes — the latest release is v0.171.3 (17 Oct 2026), and the last commit was 7 days ago. The repository has 102 stars and 2 open issues.

What tools does Code Graph MCP provide?

Conduid read 7 tools from the source: ast_search, find_references, get_ast_node, get_call_graph, module_overview, project_map and semantic_code_search.

What license is Code Graph MCP released under?

The repository declares the MIT license. That applies to the latest release, v0.171.3, as well.