Skip to main content

simple-usage-monitor

PyPI version License codecov Python PRs Welcome

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.6
  2. Sonnet 4.6
  3. Opus 4.5
  4. Sonnet 4.5
  5. 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 .

Uninstallation

pip uninstall sumonitor

Troubleshooting

PATH not found: If you see WARNING: The script sumonitor is installed in '/home/username/.local/bin' which is not on PATH, add to your shell config:

export PATH="$HOME/.local/bin:$PATH"

externally-managed-environment error: On modern Linux (Ubuntu 23.04+, Debian 12+, Fedora 38+), use one of these alternatives:

  • pipx (recommended):

    pipx install sumonitor
    
  • Virtual environment:

    python3 -m venv myenv && source myenv/bin/activate
    pip install 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!

Metadata

Release files for sumonitor 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sumonitor 0.1.3
File Size Uploaded
sumonitor-0.1.3.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sumonitor 0.1.3
File Interpreter ABI Platform
sumonitor-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / sumonitor-0.1.3.tar.gz

Download URL sumonitor-0.1.3.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d93060b12e10ec21f908fd68cd1b4ae84c4c1882fa9afbb8482f86b762964e0f
BLAKE2b-256 checksum
How to use checksums
d56bbf7deb46d05a735fd61418547862ebc559c5ad9952122fe21719086c2cea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.16

Release files / sumonitor-0.1.3-py3-none-any.whl

Download URL sumonitor-0.1.3-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fff8b67b7702aaa6d82ad3b6dc10121810c5c271201c9a0f60cd16fa540545a
BLAKE2b-256 checksum
How to use checksums
c1f7b61b677271c3bbe705f93eb0a2b6125da098f6ab9df1a66854a6fc735183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.16

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page