Claude Code Usage Monitor
Real-time Claude Code usage monitor with predictions and warnings
Install
pipx install claude-monitorInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🎯 Claude Code Usage Monitor
A privacy-first Claude Usage-Ops companion for Claude Code. It combines a Rich live terminal monitor with official statusline rate_limits, machine-readable state/export output, provenance labels, forecasting, and an opt-in local usage warehouse.
📑 Table of Contents
- ✨ Key Features
- 🚀 Installation
- 📖 Usage
- 🙏 Please Help Test This Release!
- ✨ Features & How It Works
- 🚀 Usage Examples
- 🔧 Development Installation
- Troubleshooting
- 📞 Contact
- Related Tools
- 📚 Additional Documentation
- 📝 License
- 🤝 Contributors
- 🙏 Acknowledgments
✨ Key Features
🚀 v4.0.0 Major Update - Usage Ops Companion
- 🔎 Official-limit trust layer -
--statuslinecaptures Claude Code's officialrate_limits; stale or expired captures fall back to labeled local estimates. - 📦 Machine-readable protocol -
--once,--compact, and--write-stateall use one versioned snapshot builder with automation exit codes. - 🏷️ Provenance labels - exported and displayed numbers distinguish
official,local_estimate,experimental, andunknownconfidence. - 📈 Persistent usage warehouse - opt-in local history survives Claude's 30-day cleanup with project/model/day dimensions and CSV/JSON reports.
- 🧭 Forecasting and pace - reset-aware pace, date-context forecasts, official-only weekly percentages, and limit-hit freeze behavior.
- 🧩 Multi-source input -
--data-paths,CLAUDE_CONFIG_DIR, and WSL discovery can scan multiple directories without merging unrelated accounts into one 5-hour window. - 🖥️ Rich UI parity - live Rich output, rich one-shot output, compact output, state files, and exports use the same snapshot contract.
- 🧰 External companion boundary - GUIs, trays, provider adapters, and status bars should consume
--write-stateor--once --output json. - 🧪 Regression coverage - the non-integration suite now covers the trust layer, state protocol, warehouse, reports, title updates, multi-source paths, and timezone edge cases.
📋 Default Custom Plan
The Custom plan is now the default option, specifically designed for 5-hour Claude Code sessions. It monitors three critical metrics:
- Token usage - Tracks your token consumption
- Messages usage - Monitors message count
- Cost usage - The most important metric for long sessions
Similar plugs
Multi-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Google Antigravity, and Pi
The Developer Tool for Visual Engineers • An Open-Source AI-First Design tool • Visually build, style, and edit your code with AI • World's best, top-most agent recommended #1…
A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.