Discover and explore top open-source AI tools and projects—updated daily.
leeguoooooReal-time Claude Code usage monitoring CLI
Top 97.9% on SourcePulse
A lightweight, highly configurable status-line monitor for Claude Code, designed to provide real-time insights into Anthropic API usage and session metrics. It targets Claude Code users who need immediate visibility into rate-limit consumption, model parameters, and prompt-cache status without leaving their development environment, thereby optimizing API interactions and cost awareness.
How It Works
This project integrates with Claude Code's statusLine hook, leveraging its stdin payload and API headers to display critical data. It employs a Python backend that can run in a low-CPU daemon mode or an inline mode. The system parses API responses for rate-limit percentages and reset timers, extracts model and context window details, and calculates prompt-cache countdowns by analyzing transcript data. Its core advantage lies in presenting complex information concisely on a single line with extensive visual customization.
Quick Start & Requirements
pip install claude-statusbar followed by cs --setup. Restart Claude Code.~/.claude/settings.json.Highlighted Details
classic, capsule, hairline) and 9 themes, configurable via command-line flags or a persistent JSON configuration file.Maintenance & Community
The project is actively maintained, with the latest release v3.10.0 on June 2, 2026. Notable contributions include the show_cache_age widget. Community interaction details like Discord/Slack are not explicitly provided in the README.
Licensing & Compatibility
Limitations & Caveats
The tool is dependent on the Claude Code environment. Many advanced features, such as session cost, project/branch details, and tool/agent tracking, are opt-in and require explicit configuration. The bar_shimmer feature is experimental.
19 hours ago
Inactive
ccusage
winfunc