Skip to main content

Real-time token and cost monitoring overlay for Claude Code CLI with session tracking

Project description

simple-usage-monitor

In-terminal (HUD) usage monitoring for Claude Code - see your costs without leaving your workflow

Unlike other monitoring tools that require opening separate dashboards or browsers, sumonitor displays your usage data right in your terminal in real-time as you work. No context switching.

sumonitor usage

  • Live token counts (input, output, cache)
  • Cost tracking with tiered pricing
  • Session limits based on your plan
  • Time until session reset

All processing happens locally on your device - your sessions remain completely private.

Supported Models

  1. Opus 4.5
  2. Sonnet 4.5
  3. Haiku 4.5

Other models will still have accurate token counting, just not dollar cost.

Installation

Install from PyPI (Recommended)

pip install sumonitor

Install from source

  1. Clone the repo

    git clone https://github.com/SrivathsanSivakumar/simple-usage-monitor

  2. Then install the tool

    cd path/to/simple-usage-monitor

    pip install -e .

Uninstallation

pip uninstall sumonitor

Usage

Simply run:

sumonitor

This will:

  1. Auto-detect your Claude Code installation
  2. Start Claude Code with the monitoring overlay
  3. Show real-time usage at the bottom of your terminal

Command Line Options

sumonitor [OPTIONS]

Options:

  • --plan {pro,max5,max20} - Your Claude subscription plan (default: pro)

    • pro: Claude Pro plan limits
    • max5: Max 5 plan limits
    • max20: Max 20 plan limits
  • --path PATH - Custom path to Claude Code binary (default: auto-detect)

  • --version - Show version information

  • -h, --help - Show help message

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Areas for contribution:

  • Support for additional Claude models
  • Enhanced error handling
  • Additional export formats for usage data
  • UI improvements
  • Overlay functionality improvements

Changelog

See CHANGELOG.md for version history and release notes.

Acknowledgments

Big thanks to Claude Code Usage Monitor for the inspiration and awesome work!

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

sumonitor-0.1.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

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

sumonitor-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file sumonitor-0.1.0.tar.gz.

File metadata

  • Download URL: sumonitor-0.1.0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for sumonitor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f692d33e795d35e9235749072c08e35bb44fdde3113dda6f6ef774fb1b926d4
MD5 90e511ac6c8bb51f94525a1876ad0d54
BLAKE2b-256 39026261ce84d7e9dac5433b42de8b26e1fc828af148d29eee267d49b9a25524

See more details on using hashes here.

File details

Details for the file sumonitor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sumonitor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for sumonitor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 319ef9400fc22586152f3f7060e3e53b69cf33422499580203bfa294c118b802
MD5 6bbb178c03817ca6da2d75e0ae744655
BLAKE2b-256 bbef777790d78771d13eee3b998664e23ee6fed12562abc34aba7aca64f64a06

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