Skip to content

tiuro/claude-spend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Screenshot 2026-02-18 092727 Screenshot 2026-02-18 093529 Screenshot 2026-02-18 093647 Screenshot 2026-02-18 093647

Install

npx claude-spend

That'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 browser

Privacy

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

About

Claude Spend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 77.1%
  • JavaScript 22.9%