Claude Code Usage Tracking
Multi-PC aggregation dashboard for Claude Code power users

Auto-sync agent on each machine pushes usage data to a central Supabase database. See total spending across all your workstations.
Dark-mode React dashboard with interactive charts. Filter by machine, project, model, and time period.
Data syncs the moment your session ends via Claude Code hooks. Sub-100ms execution, zero blocking. Polling daemon as 60-min backup.
Cloudflare Workers proxy all API calls. No secrets in your frontend bundle. Magic link auth with email whitelist.
12 tools for natural language queries. Ask Claude about your usage, trends, anomalies, and forecasts directly.
Insights Engine with trend detection, anomaly alerts, 7-day forecasts, and week-over-week comparisons.
CLI tools like ccusage and ccost are excellent for tracking Claude Code usage โ but they're single-machine tools.
If you use Claude Code on 2+ PCs (work laptop, home desktop, cloud VM), you have no unified view of your total spending. The Anthropic rate limits are per account, not per machine โ you need to see everything together.
claude-telemetry is the aggregation and visualization layer on top of tools like ccusage.
Each PC runs a lightweight Python agent that calls ccusage to extract usage data from Claude Code's logs and syncs it to Supabase every 15 minutes. The agent does no custom JSONL parsing โ it delegates that to ccusage and focuses only on multi-PC aggregation and centralized sync.
Get up and running in 3 steps:
Create a project on supabase.com and run the SQL migrations:
-- Run in Supabase SQL Editor
-- Full schema: /guide/installation
CREATE TABLE IF NOT EXISTS usage_data (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
machine_id TEXT NOT NULL,
timestamp TIMESTAMPTZ NOT NULL DEFAULT NOW(),
-- ... see full migration in installation guide
);git clone https://github.com/RyanTech00/claude-telemetry.git
cd claude-telemetry/dashboard
npm install
npx wrangler pages project create claude-telemetry
npx wrangler pages secret put SUPABASE_URL # paste Project URL
npx wrangler pages secret put SUPABASE_SERVICE_KEY # paste service_role key
npx wrangler pages secret put ALLOWED_EMAILS # e.g. "you@email.com"
npm run build
npx wrangler pages deploy distnpm install -g ccusage ccost
pip install cc-telemetry
cc-telemetry setup # interactive wizard
cc-telemetry doctor # verify everything worksThe setup wizard configures hooks, MCP server, statusline, and daemon automatically. See the full installation guide for details.
| Feature | claude-telemetry | ccusage | ccost | CC_Dashboard |
|---|---|---|---|---|
| Daily/Monthly/Session reports | โ | โ | โ | โ |
| 5-Hour Blocks | โ | โ | โ | โ |
| Weekly reports | โ | โ | โ | โ |
| Web dashboard | โ | โ | โ | โ |
| Multi-PC aggregation | โ | โ | โ | โ |
| Auto-sync daemon | โ | โ | โ | โ |
| Deploy page (Wazuh-style) | โ | โ | โ | โ |
| Auth + email whitelist | โ | โ | โ | โ (API key) |
| Plan vs API cost | โ | โ | โ | โ |
| Currency conversion | โ | โ | โ | โ |
| Docker support | โ | โ | โ | โ |
| Rate limit predictor | โ | โ | โ | โ |
| Project budgets | โ | โ | โ | โ |
| Cross-machine burn rate | โ | โ | โ | โ |
| MCP Server (12 tools) | โ | โ | โ | โ |
| Real-time hooks | โ | โ | โ | โ |
| Insights Engine | โ | โ | โ | โ |
| Webhook alerts | โ | โ | โ | โ |
| Rate limit % (5h/1w) | โ | โ | โ | โ |
| Zero cost hosting | โ | N/A | N/A | โ |
| Open source | โ MIT | โ MIT | โ MIT | โ MIT |
claude-telemetry uses ccusage and ccost as data layers. We're the aggregation and visualization layer on top.
See the full Roadmap for v0.4.0 and beyond.
If claude-telemetry saved you from rate limit blindness or helped you understand your Claude Code costs, consider supporting the project:
Star the repo on GitHub to help others discover claude-telemetry.