claude-spend
v1.0.6
Published
See where your Claude Code tokens go. One command, zero setup.
Downloads
2,142
Maintainers
Readme
claude-spend
See where your Claude Code tokens go. One command, zero setup.
Problem
I've been using Claude Code every day for 3 months. I hit the usage limit almost daily, but had zero visibility into which prompts were eating my tokens. So I built claude-spend. One command, zero setup.
How does it look
Install
npx claude-spendThat's it. Opens a dashboard in your browser.
What it does
- Reads your local Claude Code session files (nothing leaves your machine)
- Shows token usage per conversation, per day, and per model
- Surfaces insights like which prompts cost the most and usage patterns
Options
claude-spend --port 8080 # custom port (default: 3456)
claude-spend --no-open # don't auto-open browserPrivacy
All data stays local. claude-spend reads files from ~/.claude/ on your machine and serves a dashboard on localhost. No data is sent anywhere.
License
MIT
