No description
- Swift 97.7%
- Makefile 2.3%
Use template rendering so provider icons automatically follow the menu bar appearance. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .readme | ||
| AIMenubarUsage | ||
| AIMenubarUsage.xcodeproj | ||
| AIMenubarUsageTests | ||
| .env.example | ||
| .gitignore | ||
| Makefile | ||
| project.yml | ||
| README.md | ||
AI Menubar Usage
A native macOS menu bar app for Cursor and Claude usage at a glance.
Features
- Per-provider menu bar indicators with usage percentages
- Popover with a detailed breakdown per provider
- Auto-detect auth from Cursor IDE and Claude Code CLI
- Manual tokens or Admin API keys (Keychain)
- Configurable metrics, refresh interval, and appearance
Requirements
- macOS 14+
- Xcode 15+
- Cursor signed in, and/or Claude Code CLI with
claude auth login
Build & Run
make run # build and launch
make test # unit tests
make help # all targets
First launch from an unsigned build: right-click the app → Open, or xattr -cr "/path/to/AI Menubar Usage.app".
Authentication
| Provider | Auto | Manual |
|---|---|---|
| Cursor | Session from local Cursor IDE database | Session token or Admin API key |
| Claude | claude -p "/usage" via Claude Code CLI |
OAuth token or Admin API key |
Disclaimer
Cursor and Claude usage endpoints used in auto mode are unofficial and may change. Not affiliated with Anthropic or Cursor.
License
MIT