How I Track Claude Code Costs Across Multiple PCs
The Problem Claude Code logs your usage locally in JSONL files. CLI tools like ccusage and ccost read these files beautifully — but only on one machine at a time. If you use Claude Code on multiple...

Source: DEV Community
The Problem Claude Code logs your usage locally in JSONL files. CLI tools like ccusage and ccost read these files beautifully — but only on one machine at a time. If you use Claude Code on multiple PCs (work laptop, home desktop, cloud VM), you have a problem: Anthropic's rate limits are per account, not per machine. Without aggregation, you're flying blind: No idea how close you are to your 5-hour block limit across machines No way to compare daily spending between workstations No centralized view of total cost No historical trends across your entire usage footprint I hit this wall myself. I use Claude Code on my work laptop and home desktop. Every time I ran ccusage it only showed me half the picture. So I built claude-telemetry. The Solution Claude-telemetry is the aggregation layer that sits on top of existing tools like ccusage. The architecture is dead simple: A lightweight Python agent runs on each PC. Every 15 minutes, it calls ccusage to extract usage data, then syncs the resu