Claude Code Usage Monitor
Real-time Claude Code usage monitor with predictions and warnings
Install: pipx install claude-monitor
Works with Claude Code ยท 8,799 GitHub stars
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
Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCPโฆ
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โฆ