← all comparisons vs code-review-graph · updated 17 Sep 2026

TokenSavevscode-review-graph

Of everything in this space, code-review-graph is the closest to TokenSave in philosophy: a local, symbol-level graph in SQLite, queried by the agent through specialised MCP tools. It is also, by a wide margin, the more popular project. The differences are implementation language, analysis depth, and what each one thinks the graph is for.

TokenSave v7.12.1 · code-review-graph v2.3.8 (PyPI, Sep 2026)
Scale, stated plainly. code-review-graph has roughly 31,500 GitHub stars. TokenSave has about 640. If you weight adoption — more eyes on bugs, more contributors, more chance it is still maintained in two years — that gap is the most important number on this page, and it does not favour TokenSave. Two earlier TokenSave docs describe this project as having 22 tools and 19 languages; it now documents 30 tools and 40+ languages. Those docs were stale and the figures below are the current ones.

At a glance

DimensionTokenSavecode-review-graph
ImplementationRust, single static binaryPython 3.10+
Runtime depsNone — OS libraries onlyPython interpreter + tree-sitter bindings
LicenseMITMIT
Adoption~640 stars~31,500 stars
MCP tools8730
Languages6040+, plus Jupyter/Databricks notebooks
StoragelibSQL, WAL, FTS5, asyncSQLite
Multi-repoOne project at a timeRegistry + cross-repo search
ClusteringCoupling and DSM analysisLeiden communities, recursive split
Execution flowsCall traversal onlyNamed, criticality-ranked flows
Doc generationdoc_coverage measures existing docsWiki generation from the graph
MCP promptsNone5 templates
Framework awarenessGeneric extraction across 60 grammarsLaravel PSR-4, Spring DI
Multi-branchPer-branch graphs, cross-branch diffNo
Edit primitives4 atomic writers, re-index in placerefactor / apply_refactor
Published benchmarkstokensave bench, reproducible on your repo~63x median reduction, F1 0.69

Where code-review-graph is the better tool

Where TokenSave is the better tool

Which should you use

Choose code-review-graph if…

you work across several repositories, you want execution flows and named communities, you want generated wiki documentation, you value framework-aware extraction for PHP or Java, or you simply want the project with the largest community behind it.

Choose TokenSave if…

you want the graph invoked reflexively rather than deliberately, you need deep per-symbol quality metrics, you work across branches and worktrees, or you want the agent to edit code with the graph staying true afterwards.

Method

Every TokenSave figure on this page was verified against the source at origin/master (v7.12.1), not taken from its own README: