A macOS menu bar app for monitoring Claude API usage.
- Real-time 5-hour and 7-day usage monitoring
- Menu bar progress bars with percentage display
- Customizable refresh intervals (30s - 10m)
- Usage alerts when exceeding 90%
- Auto-retry on network failure
- Supports both Claude Pro and Claude Max subscriptions
- macOS 15.0+
- Claude Code CLI installed and logged in (for OAuth token)
Download the latest version from Releases.
git clone https://github.com/lion9453/Usage4AI.git
cd Usage4AI
xcodebuild -scheme Usage4AI -configuration Release -derivedDataPath build build
cp -R build/Build/Products/Release/Usage4AI.app /Applications/- Make sure you have Claude Code CLI installed and logged in
- Open Usage4AI from Applications or Spotlight (
Cmd + Space, type "Usage4AI") - Important: When prompted for Keychain access, enter your Mac password and click "Always Allow"
This grants Usage4AI permission to read the OAuth token from Claude Code's Keychain.
If you see "Failed to Load" after reopening the app, it's usually a Keychain permission issue. Run this command to reset:
security delete-generic-password -s "Usage4AI-token" && open /Applications/Usage4AI.appThen click "Always Allow" when the Keychain dialog appears.
| Issue | Solution |
|---|---|
| Keychain permission denied | Reset token cache (see above) and click "Always Allow" |
| Claude Code not logged in | Run claude in terminal and complete login |
| Token expired | Re-login to Claude Code CLI |
Usage4AI reads your OAuth token from Claude Code's Keychain and caches it locally:
- First launch: Reads from
Claude Code-credentials(requires password) - Subsequent launches: Reads from
Usage4AI-tokencache (no password needed) - If cache becomes invalid: Delete it with the command above
To start Usage4AI automatically when you log in:
- Click the Usage4AI icon in the menu bar
- Click Settings (gear icon)
- Enable "Launch at Login"
- Spotlight:
Cmd + Space→ type "Usage4AI" → Enter - Terminal:
open /Applications/Usage4AI.app
This is an unofficial tool, not affiliated with Anthropic. Usage data may differ from official dashboard.
Copyright 2026 lion9453
