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 mcp add code-graph-mcp-ec50 -- npx -y @sdsrs/code-graphnpx -y @sdsrs/code-graphgit clone https://github.com/sdsrss/code-graph-mcpTools (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` modeget_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` modeget_call_graphTrace upstream/downstream call chains for a function. Pass `route_path='GET /api/x'` to trace an HTTP route → handler → downstream insteadmodule_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 chokepointssemantic_code_searchHybrid BM25 + vector search (RRF) for AST nodes. Supports `compact` modeSecurity 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
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