Token analytics for Claude Code. Find waste, track your ROI, share your stats.
No setup. No config. Runs locally.
See how much API-equivalent value you're extracting from your Claude Code plan.
Detects your plan (Pro, Max 5x, Max 20x) from Claude Code's own config and shows your multiplier. The stat that makes subscribers feel good.
Per-turn cost chart, context growth curve, and where /clear would have saved you.
Hour-by-day grid shows when you code. Peak time callout included.
Filter by week or month and see cost delta vs the previous period.
12 automated insights flag vague prompts, long sessions, and model waste.
One-click PNG export optimized for social. The ROI badge is the hook.
Max plans meter rolling windows, not dollars. See your 5-hour and 7-day utilization next to the cost, in the CLI and over MCP.
--report prints markdown or JSON per project or per session id, subagents folded in. Built for nightly jobs and agents.
Counts each API response once, walks nested subagent transcripts, and prices the Claude 5 family and 1-hour cache writes correctly.
npx @mpalermiti/claude-spend reads your local session data. Nothing leaves your machine.
Filter by date, drill into sessions, see per-turn costs, project breakdowns, and tool usage.
Generate a share card showing your ROI multiplier, token usage, and peak coding hours.