See where your tokens go

Token analytics for Claude Code. Find waste, track your ROI, share your stats.

npx @mpalermiti/claude-spend copy

No setup. No config. Runs locally.

The number your subscription hides
26.7x

See how much API-equivalent value you're extracting from your Claude Code plan.

Features

ROI multiplier

Select your plan, see your multiplier. The stat that makes subscribers feel good.

Session drill-down

Per-turn cost chart, context growth curve, and where /clear would have saved you.

Activity heatmap

Hour-by-day grid shows when you code. Peak time callout included.

Trend comparison

Filter by week or month and see cost delta vs the previous period.

Smart insights

12 automated insights flag vague prompts, long sessions, and model waste.

Share card

One-click PNG export optimized for social. The ROI badge is the hook.

Dashboard
localhost:3456
claude-spend dashboard
How it works
01

Run one command

npx @mpalermiti/claude-spend reads your local session data. Nothing leaves your machine.

02

Explore your data

Filter by date, drill into sessions, see per-turn costs, project breakdowns, and tool usage.

03

Share your stats

Generate a share card showing your ROI multiplier, token usage, and peak coding hours.