mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
Some checks are pending
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
* docs: move the README reference manual into docs/ * assets: designed README images and their sources * README: tell the story first, keep the manual in docs
15 lines
817 B
Markdown
15 lines
817 B
Markdown
# CodeBurn in your agent (MCP)
|
|
|
|
```bash
|
|
claude mcp add codeburn -- npx -y codeburn mcp
|
|
```
|
|
|
|
`codeburn mcp` runs a local MCP server over stdio, so Claude Code, Cursor, or any MCP client can ask "where did my tokens go this week?" or "how do I spend less?" mid-conversation. It exposes two tools:
|
|
|
|
| Tool | What it returns |
|
|
|------|-----------------|
|
|
| `get_usage` | Spend and usage with breakdowns by tool, model, project, and task (fast) |
|
|
| `get_savings` | Cost reductions: waste findings, retry tax, routing waste (slower, deeper analysis) |
|
|
|
|
Everything is read from local disk, same as the CLI. Project names are pseudonymized by default; the agent only sees real names if it asks with `include_project_names: true`. For other MCP clients, configure a stdio server with command `npx` and args `-y codeburn mcp`.
|
|
|