Skip to main content

Real-time Claude token usage monitor with beautiful terminal interface

Project description

🎯 Claude Code Usage Monitor

PyPI version Python Version License: MIT Tests Test PyPI Release codecov Downloads Code style: black Imports: isort Ruff PRs Welcome GitHub stars

Real-time terminal monitoring tool for Claude AI token usage. Track consumption, burn rate, and predict when tokens will run out.

Claude Token Monitor Screenshot

✨ Features

  • 🔄 Real-time monitoring - Updates every 3 seconds
  • 📊 Visual progress bars - Token and time usage at a glance
  • 🔮 Smart predictions - Know when tokens will deplete
  • 🤖 Auto-detection - Automatically detects your token limits
  • 📋 Multiple plans - Supports Pro, Max5, Max20
  • ⚠️ Smart warnings - Alerts before token depletion
  • 🎨 Rich UI mode - Beautiful, flicker-free terminal interface (NEW!)

🚀 Quick Start

# Install from PyPI
pip install ccusage-monitor

# Install ccusage CLI tool (required)
npm install -g ccusage

# Run the monitor
ccusage-monitor

Or use without installation:

uvx ccusage-monitor

📖 Basic Usage

# Default (Pro plan)
ccusage-monitor

# Specify plan
ccusage-monitor --plan max5
ccusage-monitor --plan max20
ccusage-monitor --plan custom_max  # Auto-detect

# Custom timezone
ccusage-monitor --timezone US/Eastern

# Custom reset hour
ccusage-monitor --reset-hour 9

# Beautiful Rich UI mode (recommended!)
ccusage-monitor --rich

📚 Documentation

🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

📝 License

MIT License - see LICENSE file.

🙏 Acknowledgments

Built upon ccusage by @ryoppippi.


Star this repo if you find it useful!

Report BugRequest Feature

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ccusage_monitor-1.0.1.tar.gz (113.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ccusage_monitor-1.0.1-py3-none-any.whl (139.0 kB view details)

Uploaded Python 3

File details

Details for the file ccusage_monitor-1.0.1.tar.gz.

File metadata

  • Download URL: ccusage_monitor-1.0.1.tar.gz
  • Upload date:
  • Size: 113.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for ccusage_monitor-1.0.1.tar.gz
Algorithm Hash digest
SHA256 352b91a60449e1eec15766c14cc550223a07aa9733a8b08e307890bb313f755d
MD5 f7715ecaf313485b67b44ffed3277eeb
BLAKE2b-256 7a0c6944a5604a73be3ff627fa81acfda26ae6d00d56f3e1e2a0c5b60f4c1fd7

See more details on using hashes here.

File details

Details for the file ccusage_monitor-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ccusage_monitor-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d13d97ffe75046d585cc351d71d78eb3d8cf3b36ca404ccabd8f6b941ef7294a
MD5 689e431a43c410c1d961beb63aad1b2d
BLAKE2b-256 ad2667dd2045ee0d911842fa70ef4e716d2951424b131f95a4b867b90c72143f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page