Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

CodeBurn

MCP server by getagentseal Community

Shows where AI coding spend goes across Claude Code, Codex, Cursor and dozens of other tools, by project, model and task. Built for developers who want to track token costs and plan quotas. It can run as a local MCP server inside Claude Code.

  • Score 94
  • 12k stars
  • MIT
  • Updated

Install CodeBurn

Built from the published package, never by AI.

claude mcp add codeburn -- npx -y codeburn

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install CodeBurn in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the codeburn block.

About

CodeBurn reads the session files that AI coding tools already write to your disk, prices every token, and produces a breakdown of your spend. The source says it splits cost by tool, model, project, git branch and task, and it reports how much of a subscription plan you have used. It also includes an optimize command that lists token waste and can apply and undo config changes.

It runs as a terminal command, a web dashboard, a desktop app, a macOS menu bar and Windows tray view, and a Linux top-panel extension. It can also run as a local MCP server over stdio, so an agent can answer spend questions from the same local data. The source says there is no account or sign-up, and that prompts and code stay on the user's computer. It is aimed at developers and teams who use several AI coding tools and want to see what they cost.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Spend breakdownAnswers questions about where tokens and money went over a chosen period.
  • Cost by project and modelSplits spend by project, git branch, model and task category.
  • Plan usageShows how much of a configured subscription plan has been used.
  • Spend optimizationLists token waste and suggests changes that would lower spend.

What you need

  • Node.js 22.15 or later
  • Session files on disk from supported AI coding tools
  • macOS, Windows or Linux

Try asking

  • Where did my tokens go this week?
  • What should I change to spend less on AI coding?
  • How much of my Claude Max plan have I used this month?

Good to know

  • Prices come from LiteLLM and refresh once a day.
  • Project names are pseudonymized unless the agent asks for them.
  • The MCP server makes no network call of its own and reads local files only.
  • Vercel AI Gateway spend is shown on its own row and left out of totals by default.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to CodeBurn

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

CodeBurn: common questions

Does CodeBurn need an API key or account?

The source says there is no account, no sign-up, no API key and no proxy in front of the agent. It reads files already on the disk.

How do I add CodeBurn to Claude Code?

The source says to install the Claude Code plugin with the marketplace command, or register only the MCP server with claude mcp add. The plugin also adds a /codeburn:cost command.

Does CodeBurn send my prompts or code anywhere?

The source says prompts, code and project names stay on the user's computer. The export never contains prompts, replies, code or file contents.

How do I install CodeBurn?

In Claude Code run claude mcp add codeburn -- npx -y codeburn. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is CodeBurn the official server?

CodeBurn is a community project by getagentseal, not verified by a company domain.

Is CodeBurn free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is CodeBurn safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to CodeBurn?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does CodeBurn work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

CodeBurn Install

Add to stack

Loading.