Native macOS menu bar app for tracking Claude AI usage limits in real-time. Built with Swift/SwiftUI.
# Add to your Claude Code skills
git clone https://github.com/hamed-elfayome/Claude-Usage-TrackerGuides for using ai agents skills like Claude-Usage-Tracker.
Last scanned: 4/24/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-24T06:08:52.882Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}A native macOS menu bar application for real-time monitoring of Claude AI usage limits
🇬🇧 English • 🇪🇸 Español • 🇫🇷 Français • 🇩🇪 Deutsch • 🇮🇹 Italiano • 🇵🇹 Português • 🇧🇷 Português (BR) • 🇯🇵 日本語 • 🇰🇷 한국어 • 🇨🇳 简体中文 • 🇹🇼 繁體中文 • 🇹🇷 Türkçe • 🇺🇦 Українська
macOS 14.0+ (Sonoma) | ~6 MB | Native Swift/SwiftUI | Officially Signed
Claude Usage Tracker is a lightweight, native macOS menu bar application that provides real-time monitoring of your Claude AI usage limits. Built entirely with Swift and SwiftUI, it offers a clean, intuitive interface to track your 5-hour session window, weekly usage limits, and Opus-specific consumption.
Menu bar icon and detailed usage popover
v3.1.0 (2026-04-14): Peak hours indicator with flame icon and countdown popover, right-click context menu on menu bar icons, per-element statusline color customization (#208), weekly & extra usage segments in statusline (#177), active profile indicator in multi-profile mode, Nix installation option (#211), 3 new languages (Brazilian Portuguese, Turkish, Ukrainian) bringing total to 12, 13 bug fixes including popover crash on profile switch, app hang on launch, and E3000 unauthorized errors
v3.0.3 (2026-03-10): 6-tier pace system with colored pace markers, 3 color modes (Multi-Color/Greyscale/Single Color), label toggles, 24-hour time format, terminal-matching preview colors
v3.0.2 (2026-03-10): API cost tracking with daily chart, browser-based authentication, rate limit header usage for CLI OAuth, auto-sizing popover, session key expiry tracking
v3.0.1 (2026-03-08): Popover settings tab, multi-display CPU fix
v3.0.0 - Major Release (2026-03-08): Headless mode, usage history charts, global shortcuts, auto-switch profiles, borderless settings, 6 new statusline components, Simplified Chinese
v2.3.0 – Multi-profile menu bar display, remaining percentage toggle
v2.2.0 – Multi-profile management, CLI integration, Korean language
v2.0.0 – Apple code signing, automatic updates, Keychain security
Before installing Claude Usage Tracker, ensure you have:
Authentication (choose one method):
Note: For terminal statusline integration, you'll still need to manually configure a session key even if using Claude Code OAuth
brew install --cask hamed-elfayome/claude-usage/claude-usage-tracker
Or tap first, then install:
brew tap hamed-elfayome/claude-usage
brew install --cask claude-usage-tracker
Note: Starting with v2.0.0, the app is officially signed with an Apple Developer certificate. No security workarounds needed!
To update:
brew upgrade --cask claude-usage-tracker
Or use the built-in automatic update feature (Settings → Updates).
To uninstall:
brew uninstall --cask claude-usage-tracker
Test the app:
nix-shell -p claude-usage-tracker
Install it using home-manager:
home.packages = with pkgs; [
claude-usage-tracker
];
.zip file from the link aboveClaude Usage.app to your Applications folderv2.0.0+ Note: The app is now officially signed with an Apple Developer certificate. You can install and run it like any other Mac application - no security warnings or workarounds needed.
Automatic Updates: Once installed, the app will automatically check for updates and notify you when new versions are available (Settings → Updates).
# Clone the repository
git clone https://github.com/hamed-elfayome/Claude-Usage-Tracker.git
cd Claude-Usage-Tracker
# Open in Xcode
open "Claude Usage.xcodeproj"
# Build and run (⌘R)
New in v2.2.2: If you have Claude Code installed and logged in, the app works automatically!
Install Claude Code (if not already installed)
claude loginLaunch Claude Usage Tracker
Verify It's Working
If you don't use Claude Code, sign in directly through the app:
If you prefer manual configuration:
Step 1: Extract Your Session Key
Open Claude AI
Open Developer Tools
F12 or Cmd+Option+I (macOS) / Ctrl+Shift+I (Windows)Cmd+Option+IF12 or Cmd+Option+I (macOS) / Ctrl+Shift+I (Windows)Navigate to Cookies
sessionKey cookiesk-ant-sid01-...)Step 2: Configure Session Key
Step 3: Verify It's Working
Success! The app is now monitoring your Claude usage.
No comments yet. Be the first to share your thoughts!