monclaude
A rich, real-time status line for Claude Code
Monitor your context window, rate limits, peak hours, and costs — all without leaving your terminal.
What you get
Context window
Color-coded progress bar showing token usage against your model's context limit, with human-readable formatting.
Rate limits
5-hour rolling and 7-day usage with countdown timers until reset. Know exactly where you stand.
Peak hours
Detects weekday 5–11am PT windows when session limits burn faster. Yellow PEAK badge warns you.
Cost tracking
Running session cost and extra credit usage with monthly cap visibility. No surprises.
Install
One-liner
Requirements
- Claude Code CLI
- jq (brew install jq)
- macOS (uses Keychain & BSD utilities)
- Claude Pro, Max, or Team subscription
How it works
Claude Code pipes session JSON (model, context, cost) into the script via stdin
The script calls the Anthropic usage API for 5-hour and 7-day rate limit data
API responses are cached for 60 seconds to keep things snappy
Peak hours are detected locally by checking current time against weekday 5–11am PT