CodeGraph gives coding agents a persistent code knowledge graph via MCP
techNmak · x · 2026-11-17
A million-token context window still doesn't give Claude Code a map of your codebase — agents read thousands of lines yet burn dozens of tool calls figuring out call structure and blast radius.
The open-source CodeGraph project takes a different approach: a Rust-powered parser with tree-sitter builds a persistent knowledge graph of the repo, indexing functions, classes, imports, calls, inheritance, and dependencies into a local SQLite database. Coding agents like Claude Code, Codex, and Cursor query the graph through MCP, retrieving relevant source, tracing call paths, and checking downstream effects without repeatedly searching files. It runs 100% locally, is MIT-licensed (v1.6.2), supports Windows/macOS/Linux, and claims compatibility with a long list of tools including Cursor, GitHub Copilot, Gemini, Kiro, and Windsurf.
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- Clairvoyance dev reveals 'staff model' agent architecture: one PM, named agents, per-agent inboxes — draginol · 2026-11-29
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29