nikhilnt
TokenBurnRate
See where your AI tokens go — and how to spend less of them.
TokenBurnRate is an MCP server + CLI that logs every Claude / GPT / Gemini API call locally, shows you a cost dashboard in your terminal, and tells you exactly how to reduce that cost.
⬡ token-tracker LAST 7 DAYS
────────────────────────────────────────────────────────────────────────
Overview
Total cost $18.7421 (~$80.59/month est.)
API calls 347
Input tokens 4.82M
Cache reads 620K (11.4% hit rate)
Daily Cost
Mon Jun 02 ████████████░░░░░░░░░░░░ $2.14
Tue Jun 03 ████████████████████░░░░ $3.82
Thu Jun 05 ████████████████████████ $4.51
💡 Optimization Hints saves $31.20/mo
● CRIT Prompt cache barely used
Cache hit rate: 11.4% — target is 30–60%
Action: Move static content to top of messages
Est. saving: $12.40/month
● HIGH Expensive model doing test generation
104 test-gen calls on Sonnet costing $2.25/week
Action: Route to claude-haiku-4-5, saves 80%
Est. saving: $7.80/monthInstall
npm install -g token-tracker-mcpOr run without installing:
npx token-tracker-mcp reportRelated MCP server: token-meter
Add to Claude Desktop
node scripts/setup.jsOr add manually to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"token-tracker": {
"command": "token-tracker",
"args": ["serve"]
}
}
}Restart Claude Desktop. Done.
CLI Commands
Command | Description |
| Full 7-day dashboard |
| Monthly report |
| Today only |
| Optimization hints ranked by $ saving |
| Deep-dive on one hint |
| One-line: cost · cache % · top hint |
| Budget gauges |
| Pricing table for all models |
| Raw CSV export |
MCP Tools (use inside Claude)
Tool | Description |
| Log an API call — auto-calculates cost |
| Summary for today / week / month / all |
| Ranked optimization hints with $ savings |
| Deep-dive on a specific hint |
| Set a daily / weekly / monthly spend limit |
| Sessions ranked by cost |
| Pricing table |
| CSV dump |
Optimization Hints Engine
8 deterministic rules — no LLM calls, runs instantly on your local data:
Hint | Triggers when |
| Cache hit rate < 30% |
| Test gen running on Sonnet / Opus |
| Debugging on Opus |
| Output / input ratio > 0.35 |
| Any session costs 3× your average |
| Avg tokens / call > 8K |
| Sessions with 30+ high-token calls |
| 100% traffic on one expensive model |
Each hint includes severity · evidence · recommended action · estimated monthly saving.
Privacy
All data stored at ~/.token-tracker/usage.db (SQLite).
Nothing leaves your machine. No telemetry, no account required.
Development
git clone https://github.com/nikhilnt1234/TokenBurnRate.git
cd TokenBurnRate
npm install --ignore-scripts
npx tsup
npm testRoadmap
Team / Supabase backend (multi-user shared dashboard)
Weekly email digest
Slack / webhook alerts
macOS menubar app
License
MIT © 2026 Nikhil T
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for unified cost tracking and analysis across AWS, OpenAI, and Anthropic. It enables users to query expenditures, compare costs across providers, and analyze usage trends through natural language.Last updated10MIT
- AlicenseAqualityAmaintenanceLocal-first dashboard + MCP server that parses Claude Code and Codex JSONL files into a SQLite cost / token tracker. Per-MCP and per-tool breakdown, session drill-down, dedup by request_id; never talks to vendor APIsLast updated51601MIT

Tessera MCP Serverofficial
Alicense-qualityAmaintenanceMCP server for Tessera's LLM cost-optimization layer. Anchored spend, drift detection, recommendations as typed tools.Last updated4Apache 2.0- Flicense-qualityDmaintenanceEnables AI cost calculation, comparison, and optimization across major providers like Anthropic, OpenAI, Google, Meta, and Mistral. Supports cost estimation, budget-aware model finding, and token estimation through a simple API and MCP integration.Last updated
Related MCP Connectors
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Agent Cost Allocator MCP — multi-tenant LLM cost attribution for chargeback billing. Companion to
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikhilnt1234/TokenBurnRate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server