A macOS menu bar app that displays your Claude Code CLI usage statistics.
- Shows session (5h) and weekly (7d) usage with color-coded indicators
- Dual icon display:
🟢🟡 45/62%(session/weekly) - Auto-refreshes every 5 minutes
- Manual refresh available
- Shows reset times for rate limits
- 🟢 Green = Usage below 50%
- 🟡 Yellow = Usage between 50-80%
- 🔴 Red = Usage at 80% or higher
- macOS 10.15+
- uv package manager
-
Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh -
Build the app:
python3 build_app.py
-
Open the app:
open "Usage Inspector.app"
On first launch, click the menu bar icon and select "Set OAuth Token..." to enter your Claude Code OAuth token (generated by claude setup-token).
You can also run directly without building:
./usage_inspector.pyThe script will automatically create a virtual environment and install dependencies on first run.