CodeGraph is a local-first code intelligence tool that builds a persistent, pre-indexed knowledge graph of a codebase using tree-sitter AST parsing.
It functions as an MCP server, allowing AI agents to query symbol relationships, call paths, and dependencies directly, significantly reducing the need for file-by-file discovery.
- 01
Native Rust-powered parsing for 20+ languages
- 02
Automatic, debounced file-watcher for real-time index syncing
- 03
Surgical context retrieval via the codegraph_explore MCP tool
- 04
Blast-radius analysis for impact assessment before code changes
- 05
100% local operation with no external API calls or data storage
Free
Open-source under the MIT License with no paid tiers or usage-based fees.
Best for
Developers using AI agents like Claude Code or Cursor on large, complex codebases where discovery overhead and token costs are significant.
Not ideal for
Small projects under 1,000 lines where the overhead of maintaining an index outweighs the benefits, or environments where the codebase changes faster than the index can sync.
An essential infrastructure layer for power users of AI coding agents, providing dramatic reductions in token consumption and tool calls by replacing inefficient file-scanning loops with precise, graph-based retrieval.
Version 1.6.0 introduced Copilot integration across VS Code and JetBrains, project-local Codex configuration, non-interactive installation flows, and fixes for index drift and disk-space leaks.
As of
Is CodeGraph free?+
Yes - CodeGraph is Free. Open-source under the MIT License with no paid tiers or usage-based fees.
Is CodeGraph open source?+
Yes - CodeGraph is open source. Open-source under the MIT License with no paid tiers or usage-based fees.
Who is CodeGraph best for?+
Developers using AI agents like Claude Code or Cursor on large, complex codebases where discovery overhead and token costs are significant.
Who is CodeGraph not ideal for?+
Small projects under 1,000 lines where the overhead of maintaining an index outweighs the benefits, or environments where the codebase changes faster than the index can sync.
What are the best CodeGraph alternatives?+
The closest CodeGraph alternatives on ai.dosa.dev are Greptile, Fern, remio - all listed under AI Codebase Knowledge & Generation.
Who makes CodeGraph?+
CodeGraph is developed by Colby McHenry. It is listed in the AI Codebase Knowledge & Generation category on ai.dosa.dev.
Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.