ClaudeUsage – macOS menu bar app to track your Claude Pro usage limits
Scrapes Claude's undocumented API to put usage in your menu bar—fragile but useful.
Minimal macOS menu bar app to check Claude Code usage at a glance — accurate, safe, zero setup
Clever PTY hack to avoid Keychain prompts, but solves a Claude Code UX papercut, not a platform gap.
macOS users running Claude Code heavily who need frictionless usage checks without interrupting agents
Remove.bg menu bar wrapper pattern · Raycast Claude integration
## The problem
If you use Claude Code heavily, you probably run multiple sessions across multiple terminal windows. When you want to check how much of your usage limit you've burned through, your only option is to type `/usage` inside a Claude Code session. That means either:
1. *Interrupting a running agent* mid-task to type a command, or 2. *Opening a new terminal and starting a new session* just to check a number
Both are disruptive. You lose flow, and the agent loses context.
## Why not just call the usage API?
A lot of community tools solve this by grabbing the OAuth token that Claude Code stores in the macOS Keychain and calling Anthropic's usage API directly. This works, but it has a real UX and security cost: *macOS will prompt you every time a third-party app tries to read that Keychain item.* You get a system dialog asking whether to allow access, sometimes repeatedly. It's not a smooth experience, and handing your OAuth token to another process is a legitimate security concern.
## How CC Usage Bar works differently
CC Usage Bar takes a simpler, zero-trust approach. It doesn't touch your Keychain, doesn't make any network calls itself, and doesn't parse or store any credentials. Instead, when you click the menu bar icon, it:
1. Spawns a real Claude Code session in a pseudo-terminal (PTY) 2. Sends the `/usage` command 3. Captures and renders the output with full ANSI color fidelity 4. Terminates the session immediately
It literally runs `claude` the same way you would, just in a hidden terminal. The data comes straight from Claude Code itself, so it's always accurate and reflects the latest state. No reverse engineering, no API scraping, no hacks.
## What it looks like
A single icon in your menu bar. Left-click to open a popover showing your current usage. Click outside to dismiss. That's it.
- Native Swift/SwiftUI app, runs as a lightweight menu bar agent (no Dock icon) - macOS 14 Sonoma or later - Requires Claude Code already installed and on your PATH
## Links
- GitHub: https://github.com/yilei-he/cc-usage-bar (MIT licensed) - Download pre-built .app from the Releases page, or build from source with Xcode
Happy to hear feedback or ideas. If you've been annoyed by the same workflow interruption, give it a try.
Scrapes Claude's undocumented API to put usage in your menu bar—fragile but useful.
Notch pet that lives in your MacBook notch while tracking Claude token usage.
Reads cookies directly; no auth dance, no Electron, pure native macOS.
Native menu bar dots track Claude Code sessions plus browser-cookie usage limits.
Read-only Keychain access means zero token management overhead for multi-account users.
Turns Claude usage numbers into an immediately understandable battery UI — two menu-bar icons (session and weekly), red alerts under 20%, per-model breakdown, and a weekly reset countdown in a compact popover. The multi-account support (up to 5) and nickname editing are thoughtful touches for people juggling personal and work accounts. It isn't revolutionary, but the battery metaphor and tiny friction to install (DMG + menu-bar UX) make this the kind of tool non-technical teammates will actually use.