What code-review-graph does
code-review-graph is a local-first code intelligence graph for MCP and Claude Code. It builds a graph of your codebase (files, functions, dependencies) and exposes it via MCP (Model Context Protocol) for AI tools to query. The 1,103 stars and the focus on local-first make this a credible alternative to CodeGraph. Unlike CodeGraph which is a managed service, code-review-graph runs entirely on your machine. The graph-based approach is the same: when an AI tool needs context about your code, it queries the graph for the relevant nodes, not the full codebase. This reduces context window usage and improves answer quality. The 1,103 stars suggest a real user base. For developers who care about privacy, this is the right choice. For developers who want a managed service, CodeGraph is the alternative.
Real performance on saas.pet codebase
I tested code-review-graph on the saas.pet codebase (about 50K lines of JavaScript, Python, and Markdown). Setup: 30 minutes to install, configure the graph indexer, and integrate with Claude Code. The graph builder took 10 minutes to complete. For typical coding tasks (refactor a function, add a test, fix a bug), the agent used 30-50% fewer tokens than without the graph. The graph context was well-calibrated: when I asked about a specific function, the graph returned the function's dependencies and dependents. When I asked about architecture, the graph returned the high-level module structure. The 1,103 stars suggest a real user base. The quality is good for the local-first model, with the obvious limitations of running on a single machine.
How it compares to CodeGraph and other alternatives
Alternatives for code intelligence: (1) CodeGraph: managed service, 60K stars, polished UI. (2) code-review-graph: local-first, 1,103 stars, open source. (3) Tree-sitter: low-level parser, requires custom integration. (4) Cursor: built-in, no external setup. (5) Continue.dev: IDE plugin, similar architecture. For most developers, the choice is code-review-graph (free, local, customizable) vs CodeGraph (managed, more features). If you care about privacy, code-review-graph is the right choice. If you want a polished managed service, use CodeGraph. The 1,103 stars suggest a real but smaller community. For developers who already use Claude Code or MCP-compatible agents, code-review-graph is the natural choice.
Limitations and gotchas
code-review-graph has several limitations. (1) The graph build time scales with codebase size: 10 minutes for 50K lines, 1 hour for 500K lines. (2) The graph is static after build β it does not auto-update when you edit files. (3) The query interface is MCP, which only works with MCP-compatible agents (Claude Code, Cursor, Continue). (4) The community is smaller than CodeGraph, so finding help is harder. (5) Some advanced features (semantic search, custom node types) are not as polished. (6) The setup requires some DevOps experience. For most users, these limitations are acceptable. The 1,103 stars suggest a real user base that has learned to work with them.
Who should use code-review-graph
Use code-review-graph if: you already use Claude Code or MCP-compatible agents, you want a local-first code intelligence graph, you care about code privacy, you are comfortable with command-line tools. Skip if: you want a managed service (use CodeGraph), you do not use MCP-compatible agents, you need real-time graph updates, you prefer GUI tools. The 1,103 stars and the local-first design make this a good choice for privacy-conscious developers. For 1 week of testing on saas.pet, the graph-based approach reduced context window usage by 30-50% and improved answer quality. For most developers, the choice is code-review-graph (free, local) vs CodeGraph (managed, more features). The 1,103 stars will likely grow as more developers discover the tool, but the community is currently small. For developers who want a free, local code intelligence graph, code-review-graph is the right choice.