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.
Install CodeBurn
Built from the published package, never by AI.
claude mcp add codeburn -- npx -y codeburnRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"codeburn": {
"args": [
"-y",
"codeburn"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"codeburn": {
"args": [
"-y",
"codeburn"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"codeburn": {
"args": [
"-y",
"codeburn"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add codeburn -- npx -y codeburn{
"mcpServers": {
"codeburn": {
"args": [
"-y",
"codeburn"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add codeburn npx -y codeburnGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
