Skip to content

code-review-graph vs CodeBurn

Which should you use? A side-by-side look at what each one does, who it suits, what it costs, how hard it is to set up, and where each falls short.

code-review-graph

Open source · MIT

Builds a local map of your codebase so AI coding tools read only the files a change touches.

CodeBurn

Open source · MIT

Local tool that tracks what your AI coding tools spend on tokens, broken down by model, project, and task.

The short answer

Choose code-review-graph if you need…

  • Developers who use an MCP-compatible AI coding assistant on a large repository
  • Teams that want code reviews to focus on the files a change affects
  • People who want the code map kept local rather than sent to a hosted service
  • Users of supported tools such as Claude Code, Cursor or Codex who want automatic setup

Choose CodeBurn if you need…

  • Developers who use several AI coding tools and want one view of spending
  • People on a Claude subscription who want to see how much of their plan they have used
  • Developers who want to find config bloat, such as unused MCP servers or oversized CLAUDE.md files
  • Anyone comparing whether a workflow or model change actually lowered cost

Side-by-side

code-review-graphCodeBurn
TypeDev toolDev tool
PriceFree and open sourceFree and open source
LicenceMITMIT
GitHub stars32.6k11.7k
Setup difficultyBeginnerBeginner
How you get itInstall with a package managerInstall with a package manager
Main languagePythonTypeScript
Last code update8 days ago5 days ago

What each one is

code-review-graph

code-review-graph is a Python tool that scans a code repository with Tree-sitter and stores a graph of its functions, classes, imports and calls in a local database. AI coding assistants connected to it through MCP can then ask for a small set of relevant files instead of reading the whole project. The README says this is aimed at reducing the context an assistant needs during code reviews and on large repositories.

CodeBurn

CodeBurn reads the session files that AI coding tools such as Claude Code, Codex, and Cursor write to your disk, then prices every token and shows what you spent. It breaks the total down by tool, model, project, and task, so you can see where a monthly bill actually goes. It runs locally and the README says no account or sign-up is needed.

Best for

code-review-graph

  • Developers who use an MCP-compatible AI coding assistant on a large repository
  • Teams that want code reviews to focus on the files a change affects
  • People who want the code map kept local rather than sent to a hosted service
  • Users of supported tools such as Claude Code, Cursor or Codex who want automatic setup

CodeBurn

  • Developers who use several AI coding tools and want one view of spending
  • People on a Claude subscription who want to see how much of their plan they have used
  • Developers who want to find config bloat, such as unused MCP servers or oversized CLAUDE.md files
  • Anyone comparing whether a workflow or model change actually lowered cost

Strengths

code-review-graph

  • Runs locally and stores the graph in a local database (SQLite, per the README's pipeline diagram)
  • One install command configures many AI coding tools and reports which were detected
  • Incremental updates re-parse only files whose SHA-256 hash changed, per the README

CodeBurn

  • Runs locally with no account, and the README says it reads files already on your disk
  • Covers many tools and breaks spend down by model, project, git branch, and task
  • Optimize and undo commands back up files before changing them, which makes config edits reversible

Not ideal for

code-review-graph

  • Projects in languages outside the supported list, since parsing coverage is limited to the listed languages
  • Users who do not use an MCP-compatible AI tool, since the main interface is through MCP
  • Anyone expecting the token savings to hold exactly, since the README's numbers come from one 2026-08-02 snapshot and it says the repository has grown since

CodeBurn

  • People who want a hosted cloud dashboard across a team, since the README describes it as local
  • Users of tools outside the supported list, because it only reads the session files of tools it integrates with
  • Anyone needing exact billing reconciliation, since the README presents figures as estimates from session data and does not claim they match invoices

Trade-offs

code-review-graph

  • The token-reduction figures are from a single snapshot and the README says current numbers are larger
  • Parsing is limited to the listed languages, with fallbacks where no Tree-sitter grammar exists
  • Requires Python 3.10 or newer and depends on MCP-compatible tools to be useful

CodeBurn

  • Depends on each tool's session file format, so coverage can change when those tools update
  • The README describes several surfaces (desktop app, menu bar, Capacity Dock) that appear to be macOS-focused, and the Windows and Linux feature set is not clearly stated
  • README is truncated, so details on privacy of the desktop app and full command list are not verified here

Getting started

code-review-graph

Install from PyPI

pip install code-review-graph

Configure detected AI coding tools

code-review-graph install
Step-by-step guide: how to use code-review-graph

CodeBurn

Run without installing

npx codeburn

Install globally with npm

npm install -g codeburn
Step-by-step guide: how to use CodeBurn

Frequently asked questions

What is the difference between code-review-graph and CodeBurn?

code-review-graph: Builds a local map of your codebase so AI coding tools read only the files a change touches. CodeBurn: Local tool that tracks what your AI coding tools spend on tokens, broken down by model, project, and task. code-review-graph suits developers who use an mcp-compatible ai coding assistant on a large repository, while CodeBurn suits developers who use several ai coding tools and want one view of spending.

Are code-review-graph and CodeBurn free?

code-review-graph: Free and open source. CodeBurn: Free and open source.

Is code-review-graph or CodeBurn more popular?

code-review-graph has more GitHub stars (32.6k) than CodeBurn (11.7k). Popularity isn't the same as fit — check which one matches your use case above.

What are other alternatives to code-review-graph and CodeBurn?

Other options people compare them with include Trail-code, codebase-memory-mcp, ECC, wshobson/agents, claude-context.

Keep comparing

Built from our catalogue entries for both products: open-source details come from each project's README (AI-assisted, refreshed weekly) and GitHub data; AI-tool details are editorial. Spotted something wrong? Let us know from either product's page.