v1.22.0 — Live context monitoring for Claude Code

Know your context.
Act before Claude degrades.

Real-time context-window monitoring for Claude Code. See your token usage, catch degradation early, and understand your AI spend — without leaving the terminal.

Claude Code — context-stats live
# Always-on statusline in Claude Code meta-app | feat/85-catalog-visibility-toggle [3] | 132,944 (66.5%) | Code | 3.3 tok/s | Sonnet 4.6 | baaff3c8-2b25-458b-adcd-96ebdeb5125d $ context-stats graph Token Usage Graphs (Session: a3f9c12d…) Cumulative Token Usage Max: 53,250 53,250 ┤ ▄▄▟███████ 37,192 ┤ ▗▄██████████ 25,148 ┤▄▄▄▄▟███ └16:25──────16:27──────16:34 Token Delta Per Interval Max: 25,148 25,148 ┤▌ ▖ ▟ 0 ┤▁▁▁▂▁▁▁▁█▁▁▁▁██▁ Summary Statistics Current Tokens: 53,250 Session Duration: 8m Average Delta: 2,958 Total Growth: 28,102 $
GitHub stars
Forks
PyPI downloads
3
Analytics levels
5
Context zones
0
Network calls
60s
To set up
MIT
Free forever

Three levels of analytics,
one lightweight tool.

From the live statusline in front of you to multi-week cost reports — each level answers a different question about how you use Claude Code.

Level 1 · Live

Real-time statusline

Context zone, Model Intelligence score, and token delta on every prompt — so you act now, not after the context is already gone.

context-stats graph
Level 2 · Session

Per-session deep dive

Export a full session to Markdown: cache efficiency, interaction timeline, zone history, and the exact moments context compacted.

context-stats export
Level 3 · Report

Multi-week analytics

Cost breakdown, cache analysis, and cross-project patterns over weeks or months — so you know exactly where your tokens go.

context-stats report

Want the full picture?

Terminal walkthroughs, the five context zones, Model Intelligence, cache keep-warm, configuration, and every command — all in one place.

Open the documentation → View changelog →

Stop flying blind.
Start every session with a map.

Free. MIT licensed. Zero external dependencies. All your data stays local — always.

No data sent anywhere Install in under 60s MIT licensed, free forever