A native macOS menu bar app for monitoring Claude usage limits in real-time.
English • Türkçe • 中文 • हिन्दी • Español • Français • العربية • Português • 日本語 • Русский • Italiano
- Real-time Usage Monitoring - View current session and weekly usage limits at a glance
- Plan Badge - Displays your current subscription (Pro, Max, Team)
- Extra Usage Support - Track pay-as-you-go credits when enabled
- Color-coded Progress Bars - Green, yellow, orange, red based on usage percentage
- Multi-language Support - English, Turkish, Chinese, Spanish, Russian with in-app language picker
- Customizable Notifications - Get notified at 50%, 75%, 100%, or on reset
- Auto-refresh - Configurable refresh interval (30s, 1m, 2m, 5m)
- Launch at Login - Optionally start with your Mac
- Menu Bar Percentage - Show/hide usage percentage in menu bar
- Native Experience - Built with SwiftUI, follows macOS design guidelines
- Lightweight - Minimal resource footprint, no Electron
- Privacy Focused - No analytics, no telemetry
Real-time usage monitoring with plan badge
- macOS 14.0 (Sonoma) or later
- Claude Code installed and logged in
- Active Claude Pro, Max, or Team subscription
brew install --cask kemalasliyuksek/claudebar/claudebar-monitorThis automatically handles macOS Gatekeeper security — no manual steps needed.
Download the latest .app from the Releases page, then drag it to your Applications folder.
Note: If macOS shows "ClaudeBar is damaged and can't be opened", run the following command to remove the quarantine flag:
xattr -cr ClaudeBar.app
git clone https://github.com/kemalasliyuksek/claudebar.git
cd claudebar
./build.shThe app bundle will be created at .build/release/ClaudeBar.app.
To install:
cp -r .build/release/ClaudeBar.app /Applications/- Ensure you're logged into Claude Code (
claudecommand should work in terminal) - Launch ClaudeBar from Applications or Spotlight
- Click the gauge icon in your menu bar to view usage limits
Click the ⚙️ icon to configure:
| Setting | Description |
|---|---|
| Launch at login | Start automatically when you log in |
| Show % in menu bar | Display percentage next to the menu bar icon |
| Language | Choose app language (System, English, Turkish, 中文, Espanol, Русский) |
| Refresh interval | How often to fetch usage data (30s - 5m) |
| Notify when 50% used | Send notification at 50% usage |
| Notify when 75% used | Send notification at 75% usage |
| Notify when limit reached | Send notification when limit is reached |
| Notify when limit resets | Send notification when limit resets |
Click the ⓘ icon to view app information, credits, and links.
ClaudeBar reads OAuth credentials from the macOS Keychain that Claude Code stores when you log in. It then queries the Anthropic API for your current usage limits.
┌─────────────────┐ ┌───────────────────────────┐
│ │ Stores tokens │ │
│ Claude Code │─────────────────────▶│ macOS Keychain │
│ (CLI login) │ │ "Claude Code-credentials" │
└─────────────────┘ └───────────────────────────┘
│
│ Reads tokens
▼
┌─────────────────┐ ┌───────────────────────────┐
│ │ GET /api/oauth/usage │ │
│ Anthropic API │◀─────────────────────│ ClaudeBar │
│ │─────────────────────▶│ │
└─────────────────┘ Usage data └───────────────────────────┘
-
Read Credentials - ClaudeBar reads tokens from macOS Keychain using:
security find-generic-password -s "Claude Code-credentials" -w -
Fetch Usage - Calls the Anthropic usage API with the access token:
GET https://api.anthropic.com/api/oauth/usage Authorization: Bearer {accessToken} anthropic-beta: oauth-2025-04-20
-
Token Refresh - When the access token expires (HTTP 401), ClaudeBar automatically refreshes it and updates the Keychain.
{
"five_hour": { "utilization": 11.0, "resets_at": "2026-02-06T11:00:00Z" },
"seven_day": { "utilization": 42.0, "resets_at": "2026-02-07T07:00:00Z" },
"seven_day_sonnet": { "utilization": 0.0, "resets_at": null },
"extra_usage": { "is_enabled": true, "monthly_limit": 5000, "used_credits": 0.0 }
}On first launch, macOS may prompt you to allow ClaudeBar to access the Keychain. Click Always Allow for seamless operation.
ClaudeBar shares OAuth tokens with Claude Code. In rare cases, simultaneous token refresh may require re-login:
claude logout && claude login- Only reads existing credentials from Keychain
- All communication uses HTTPS
- No data stored outside system Keychain
- No analytics or telemetry
- Fully open source
claudebar/
├── Package.swift # Swift Package Manager manifest
├── build.sh # Build script
├── LICENSE # MIT License
├── README.md # This file
├── assets/
│ └── icons/ # App icons
├── docs/ # Translated READMEs
├── Resources/
│ ├── AppIcon.icns # macOS app icon
│ └── Info.plist # App metadata
└── Sources/ClaudeBar/
├── ClaudeBarApp.swift # App entry point
├── Localization.swift # L() helper, language override, AppLanguage enum
├── UsageModels.swift # Data models
├── UsageService.swift # API client & business logic
├── UsageView.swift # SwiftUI views
└── Resources/
├── en.lproj/ # English strings
├── tr.lproj/ # Turkish strings
├── zh-Hans.lproj/ # Simplified Chinese strings
├── es.lproj/ # Spanish strings
└── ru.lproj/ # Russian strings
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Clone your fork
git clone https://github.com/YOUR_USERNAME/claudebar.git
cd claudebar
# Build in debug mode
swift build
# Run
swift run
# Build release
./build.shThis project is licensed under the MIT License - see the LICENSE file for details.
Kemal Aslıyüksek - @kemalasliyuksek
This is an unofficial community project and is not affiliated with, officially maintained, or endorsed by Anthropic. Use at your own discretion.



