Real-time Claude Code usage monitor with predictions and warnings
open sourceMITself-hostablefree
Claude Code Usage Monitor is a Python terminal tool that shows live Claude Code token, message and cost usage against your plan's 5-hour session limits, with burn-rate forecasts and warnings before you hit a limit. Version 4 can capture Claude Code's official rate_limits through the statusline, label numbers by provenance (official vs local estimate), keep an opt-in local usage history beyond Claude's 30-day cleanup, and write machine-readable state for status bars and trays.
Problems it solves
- I keep hitting the Claude Code usage limit in the middle of a task with no warning
- how long until my 5-hour Claude session limit resets
- a live view of how fast I'm burning through tokens
- predict whether I'll run out before the window resets
- show my Claude usage in my menu bar or status line
- keep usage history longer than Claude Code's 30-day log cleanup
- export my Claude Code usage as CSV
- track the weekly limit as well as the 5-hour one
Features
- live Rich terminal UI
- 5-hour session and weekly limit tracking
- burn-rate forecasting
- statusline capture of official rate_limits
- provenance labels
- opt-in local usage warehouse
- JSON/CSV export and state files
- WSL and multiple data paths
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Claude Code Usage Monitor does.
