sdsrss

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.

15
2
100% credibility
Found Mar 18, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

A server that builds a knowledge graph of codebases from parsed ASTs, enabling AI assistants to perform semantic searches, trace call graphs, analyze change impacts, and map HTTP routes across multiple languages.

How It Works

1
🔍 Discover in your AI coding helper

While using Claude Code or similar AI tools, you find this helpful add-on in the marketplace that promises to deeply understand your entire codebase.

2
📦 Install with a simple command

Add it to your AI tool using a quick marketplace command, and it sets itself up automatically without hassle.

3
🚀 Open your project

Switch to your code folder, and it quietly scans and builds a smart map of all functions, classes, and connections in the background.

4
🗺️ See your code's hidden structure

Slash commands like /understand or /trace reveal the full picture: who calls what, routes to handlers, and change impacts, all in plain English.

5
💬 Ask natural questions

Chat with your AI about 'how does login work?' or 'what breaks if I change this?', and it pulls precise answers from the map instead of guessing.

6
Work faster and safer

Get overviews, similar code, and risk warnings before edits, turning hours of manual tracing into seconds of insight.

🎉 Code with confidence

Your AI now truly knows your project inside out, helping you build, debug, and refactor like a pro teammate.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is code-graph-mcp?

code-graph-mcp is a Rust MCP server that auto-indexes codebases into an AST knowledge graph for 10 languages via Tree-sitter, powering semantic search, call graph traversal, HTTP route tracing, and impact analysis. It plugs into Claude Code, Cursor, or Windsurf as a code knowledge graph MCP tool, slashing LLM tool calls by delivering structured insights like project maps and blast radius checks. Forget grep or raw AST explorer github dumps—this gives AI assistants relational code understanding out of the box.

Why is it gaining traction?

Unlike ast-grep github or basic code ast github tools, it fuses BM25 full-text with vector search for concept-based queries like "handle user login," plus recursive CTEs for transitive calls and route flows—benchmarks show 80-95% tool call savings vs glob/read/grep. Claude plugin hooks deliver slash commands (/understand, /trace, /impact), auto-indexing, and statusline integration. Zero-runtime-deps single binary with incremental Merkle updates keeps it snappy for real projects.

Who should use this?

Backend devs tracing Express/Flask/Go routes to DB calls in one query. Teams refactoring Rust/Python/TS monorepos needing pre-change impact analysis. Claude Code powerusers tired of agents globbing files blindly for architecture overviews or similar code detection.

Verdict

Strong pick for MCP code graph RAG setups—CLI like `code-graph-mcp impact ` shines too. 1.0% credibility and 15 stars signal early days, but thorough docs, e2e tests, and uninstall hooks make it low-risk to eval; watch for adoption as mcp code graph latest evolves.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.