simple-usage-monitor, or sumonitor, delivers a seamless experience by displaying token usage and cost estimates directly in your terminal for Claude Code. This tool eliminates the need for context switching, providing real-time insights into your session limits and token counts while ensuring your data remains private.
simple-usage-monitor is a command-line interface (CLI) tool designed for real-time monitoring of token usage and cost estimates when working with Claude Code, all directly within the terminal. This utility enhances productivity by eliminating the need to switch between various dashboards or web interfaces, allowing users to stay focused on their coding tasks.
While additional models provide detailed token counting, dollar cost metrics are currently limited to the supported models.
To begin using simple-usage-monitor, simply run the command:
sumonitor
This command automatically detects the installation of Claude Code, initiates it with an integrated monitoring overlay, and displays real-time usage statistics directly in your terminal.
Customize your monitoring experience using the following options:
sumonitor [OPTIONS]
--plan {pro,max5,max20}: Choose your Claude subscription plan (default: pro).--path PATH: Specify a custom path to the Claude Code binary (default is auto-detection).--version: Display version information.-h, --help: Show detailed help messages.Contributions are welcomed to further enhance simple-usage-monitor. Potential areas for development include:
For detailed instructions and guidelines on contributing, please refer to the CONTRIBUTING.md file.
Find version history and release notes in the CHANGELOG.md.
The development of simple-usage-monitor has been inspired by the works from the Claude Code Usage Monitor.
This project aims to simplify the user experience while remaining focused on immediate needs during code execution.
Harness the power of simple-usage-monitor to effectively manage your Claude Code usage and associated costs without losing your workflow.
No comments yet.
Sign in to be the first to comment.