dewey
3 days ago
Alternatively there's also this with 1.7k stars already and supporting more services (Despite the name): https://github.com/steipete/CodexBar (https://codexbar.app)
RichHickson
3 days ago
Good shout. CodexBar covers a lot more ground. This one is intentionally minimal and Claude focused because that is all I personally needed.
realharo
3 days ago
Or just vibe code your own. Seems fitting.
iLemming
2 days ago
btw, I have failed to make the proper use of either of them - claudecodeusage keeps saying that I'm not signed in (I have Claude Desktop and CLI installed and signed in on both). CodexBar keeps saying "Claude usage probe timed out", even though it does show some numbers. I don't have a subscription, I just use the API.
ttoinou
3 days ago
Is it safe ? It needs to reads Keychain. Like the OP app
RichHickson
3 days ago
The app only reads ONE specific keychain entry:
Service: "Claude Code-credentials"
This is the entry created by the official Claude Code CLI when you log in. The app:
1. Only reads - never writes, modifies, or deletes any keychain data
2. Only accesses this one service name - cannot read any other passwords, keys, or credentials
3. Extracts only the OAuth access token - used to call api.anthropic.com/api/oauth/usage
4. Sends data only to Anthropic's API - no analytics, no third-party servers
The token never leaves your machine except to Anthropic's own API endpoint. You can verify this yourself - the entire source is ~400 lines of Swift: https://github.com/richhickson/claudecodeusage
macOS will also prompt you the first time the app tries to access this keychain entry, giving you control to allow or deny.