← Back to Leaderboard
Cgetagentseal

getagentseal/codeburn

Local session-log analytics for AI coding tokens, spend, and quotas

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 93/100
Maintenance Activity
● Updated yesterday
Latest Release
desktop-v0.9.28
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence20/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 11,994
24h Growth
+14
7d Growth
+63
Forks
918

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

getagentseal/codeburn Star History (2026-04-12 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +12k in 236d · avg +51/day 12.7k 6.3k 0 2026-04-12: ★ 12026-05-02: ★ 4,9102026-05-23: ★ 6,8442026-06-13: ★ 7,8442026-07-04: ★ 8,3182026-07-25: ★ 8,8222026-08-15: ★ 9,3132026-09-05: ★ 10,7472026-09-26: ★ 11,1622026-10-17: ★ 11,4462026-11-02: ★ 11,6352026-11-17: ★ 11,8372026-12-04: ★ 11,994 ★ 12k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

CodeBurn is a TypeScript end-user observability app, not an agent runner or a proxy. It discovers session files already written by supported coding tools, parses recorded calls and token counts, applies LiteLLM pricing, and aggregates the results. The terminal UI, desktop app, web dashboard, and menu-bar or tray views use the same local data, though their totals can differ temporarily when they refresh at different times.

The package exposes a codeburn binary and lists Commander, Ink, React, Zod, and @modelcontextprotocol/sdk as dependencies. The tree separates src/, dash/, app/, plugins/, and vscode/, with platform-specific code under mac/, windows/, and gnome/. The Claude Code plugin adds /codeburn:cost and configures a local stdio MCP server. That server queries the same local data without making network calls of its own.

Key Capabilities & Differentiators

Spend analysis runs from a period total down to a single turn. Breakdowns cover tool, model, project, git branch, and task; task categories such as coding, debugging, and planning are inferred from sessions. Side-by-side period comparison helps evaluate model or workflow changes. Yield correlates spend with pull requests recorded in sessions. codeburn context breaks down context by source and reports compactions, with block sizes estimated from character counts.

codeburn optimize scans the last 30 days of sessions and ~/.claude/ configuration for costs such as repeatedly loaded files or unused MCP servers. Findings distinguish measured from modeled savings, and the A–F grade rates configuration, not how much was spent. Selected fixes support review, backup, undo, and follow-up measurement. Subscription tracking and live quota checks are separate from Guard, which uses opt-in Claude Code hooks for spending thresholds, tool loops, and repeated command failures.

Trade-offs & Limitations

Compared with provider billing consoles, CodeBurn offers finer cross-tool attribution but prices recorded tokens rather than reconciling invoices. Subscription utilization and token-priced spend are different measures. Coverage depends on what each tool persists and whether its parser keeps pace with format changes; missing or incomplete sessions can leave gaps. Compared with a gateway, out-of-band collection avoids changing the request path, but it cannot enforce a budget across providers. Guard is limited to Claude Code.

Local analysis also does not make every interface or output equivalent for privacy. The desktop app and macOS menu bar start with anonymous telemetry enabled; the Windows tray asks once. The MCP server is local and pseudonymizes project names by default, but agents can request them. Exports omit prompts, replies, code, and file contents, yet still carry identifiers and command names. Review those fields before sharing reports outside the machine or team.

Hardware & Deployment Guide

Run npx codeburn with Node.js 22.15 or newer, install persistently with npm install -g codeburn or brew install codeburn, or launch codeburn web for a browser view. Local spend analysis needs no account, API key, proxy, or GPU. Model pricing refreshes daily, and live quota checks use tools where you are already signed in, so local analysis should not be read as a guarantee that every feature works offline.

codeburn menubar installs the signed, notarized macOS app and records the CLI path it will use. The Windows desktop app is available through the Microsoft Store; the separate unsigned tray MSI requires CodeBurn 0.9.9 or newer and WebView2. Windows can also read sessions from WSL home directories, and Linux has a GNOME Shell extension. Release desktop-v0.9.28 adds macOS quota exhaustion forecasts using one hour of history for short windows and six for long ones, with two readings at least ten minutes apart.

Integration coverage: the provider list covers 42 tools, including Claude Code, Codex, Cursor, and Gemini CLI, with automatic discovery where supported session files exist.
Spend attribution: break down estimated cost by project, git branch, model, or task, then drill from a session to individual turns.
Optimization workflow: codeburn optimize --apply previews changes and backs up files; codeburn act undo --last rolls back the last change, and codeburn act report compares projected savings with later usage.
Quota vs. enforcement: codeburn quota reads live limits from signed-in tools; codeburn guard install adds opt-in Claude Code hooks with configurable $5 warning and $15 stop defaults.
Machine-readable export: CSV and codeburn.export.v3 JSON expose usage records and activity metadata without prompts or code.
In-agent access: a local stdio MCP server exposes two tools and pseudonymizes project names by default.
Best For

Developers and teams with access to local coding-agent logs who want to attribute spend to projects and branches, investigate expensive sessions, and measure the effect of configuration changes.

Skip If

You need invoice reconciliation, coverage of activity not captured in accessible session logs, or centrally enforced budgets across providers.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
npx codeburn

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
codeburn ★12k+63TypeScriptMITLocal session-log analytics for AI coding tokens, spend, and quotas
OpenHands94.8k+374TypeScriptMITSelf-hosted control plane for coding agents across local, remote, and cloud back
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
OfficeCLI33.8k+135C#Apache-2.0A single-binary OOXML CLI for agents to edit, render, and validate Office files

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/getagentseal/codeburn.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

getagentseal/codeburn Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about codeburn

How does CodeBurn collect usage, and how does an agent query it?

CodeBurn discovers session files written by supported tools and analyzes them outside the request path. It requires neither a proxy nor an API key for local spend analysis. For in-agent access, claude mcp add codeburn -- npx -y codeburn mcp registers a local stdio server. The server itself makes no network calls and pseudonymizes project names by default, unless the client requests them.

Does it need a GPU, and what drives runtime overhead?

No GPU, VRAM allocation, or local inference model is required. The CLI needs Node.js 22.15 or later. Size the host for local file scanning, parsing, aggregation, and the interface you run. Larger session histories mean more data to process; measure your own history before setting resource budgets.

Can a company deploy or redistribute it under the MIT license?

The MIT license permits commercial use and self-hosting; retain the copyright and license notices when redistributing copies or substantial portions. For internal rollout, evaluate privacy separately: desktop and macOS menu-bar telemetry starts enabled, the Windows tray prompts once, and exports can contain project names, session IDs, and shell command names even though they omit prompts, replies, code, and file contents.

When should I use CodeBurn instead of a provider console or usage gateway?

Use CodeBurn to compare tools and attribute local activity to projects, branches, tasks, and turns. Use the provider console or invoice as the source of truth for charges, and a gateway when requests must be governed centrally across clients. CodeBurn's optional Guard adds local Claude Code controls, not a provider-wide or organization-wide spending limit.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining getagentseal/codeburn? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature getagentseal/codeburn on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare