Skip to content

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-monitor

Install command taken from the project's README or registry entry. Always review code before running it.

๐ŸŽฏ 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

๐Ÿš€ v4.0.0 Major Update - Usage Ops Companion

  • ๐Ÿ”Ž Official-limit trust layer - --statusline captures Claude Code's official rate_limits; stale or expired captures fall back to labeled local estimates.
  • ๐Ÿ“ฆ Machine-readable protocol - --once, --compact, and --write-state all use one versioned snapshot builder with automation exit codes.
  • ๐Ÿท๏ธ Provenance labels - exported and displayed numbers distinguish official, local_estimate, experimental, and unknown confidence.
  • ๐Ÿ“ˆ 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-state or --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

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

PluginDev tools+6,803 this week

Multi-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Google Antigravity, and Pi

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

PluginDev tools+87 this week

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โ€ฆ

PluginProductivity+1,755 this week

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โ€ฆ

Explore related