codegraph
Local code knowledge graph served to coding agents over MCP
CodeGraph indexes a project into a local graph of symbols, call edges and dependencies under `.codegraph/`, then exposes it to coding agents through an MCP server. Agents can fetch relevant source, call paths and change impact in one call instead of grepping and reading files. `codegraph install` wires it into Claude Code, Cursor, Codex CLI, opencode, Gemini CLI, Kiro, GitHub Copilot and others, and auto-sync keeps the index current.
Strengths
- Runs locally; no Node.js needed, ships as a bundled installer or npm package
- One `codegraph install` configures MCP for nine named agents and IDEs
- Covers 30+ languages, including TypeScript, Python, Go, Rust, Java, C#, Swift
- Watches files and updates the graph automatically; no manual re-index
Weaknesses
- README admits about 80% more retrieval context stays resident in long sessions
- Published benchmarks are the author's, on 7 repos with one question each
- No Docker or compose setup; install is via curl/PowerShell script or npm
- Hosted CodeGraph platform is a waitlist product, separate from this repo
- no GPU