Monitor your Claude AI usage quotas directly from your menu bar
Installation • Features • Setup • Development
| Feature | Description |
|---|---|
| 📊 Real-time Monitoring | Track your 5-hour session and 7-day usage limits |
| 🎨 Color-coded Indicators | Green (<70%), Orange (70-90%), Red (>90%) at a glance |
| ⚡ Smart Refresh | Auto-adjusts refresh rate based on your usage level |
| 🔐 Secure Storage | Credentials stored in system Keychain/Credential Manager |
| 🖥️ Cross-platform | Native support for macOS, Windows, and Linux |
| 🔄 Auto-updates | Automatically checks for and installs new versions |
| 🌙 Dark Mode | Seamlessly adapts to your system theme |
Option 1: Direct Download
- Download the latest
.dmgfrom Releases - Open the DMG and drag ClaudeMeter to Applications
- Launch from Applications (you may need to right-click → Open on first launch)
Option 2: Homebrew (coming soon)
brew install --cask usage4claude- Download the latest
.msifrom Releases - Run the installer
- Launch ClaudeMeter from the Start Menu
AppImage:
chmod +x ClaudeMeter_*.AppImage
./ClaudeMeter_*.AppImageDebian/Ubuntu:
sudo dpkg -i usage4claude_*.debClaudeMeter needs your Claude session key to fetch usage data. Here's how to get it:
📋 Step-by-step Instructions
- Go to claude.ai and sign in
- Press
F12(orCmd+Option+Ion macOS) to open Developer Tools - Click the Application tab
- In the left sidebar, expand Cookies → https://claude.ai
- Find
sessionKeyin the list - Double-click the Value column to select it, then copy (
Ctrl+C/Cmd+C)
- Go to claude.ai and sign in
- Press
F12to open Developer Tools - Click the Storage tab
- Expand Cookies → https://claude.ai
- Find
sessionKeyand copy its value
- Enable Developer menu: Safari → Settings → Advanced → "Show Develop menu"
- Go to claude.ai and sign in
- Press
Cmd+Option+Ito open Developer Tools - Click Storage → Cookies → claude.ai
- Find
sessionKeyand copy its value
🔒 Privacy Note: Your session key is stored locally in your system's secure credential storage (Keychain on macOS, Credential Manager on Windows). It is never sent anywhere except directly to Claude's API.
|
Quick usage overview |
Settings panel |
|
Easy setup wizard |
Menu bar integration |
- Node.js 20+
- Rust (latest stable)
- Platform-specific dependencies:
- macOS: Xcode Command Line Tools
- Linux:
libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev - Windows: Microsoft Visual Studio C++ Build Tools
# Clone the repository
git clone https://github.com/itsmylife44/claudemeter.git
cd claudemeter
# Install dependencies
npm install
# Run in development mode
npm run tauri dev| Command | Description |
|---|---|
npm run tauri dev |
Start development server with hot reload |
npm run tauri build |
Build production binaries |
npm run test |
Run frontend tests |
npm run check |
TypeScript type checking |
cd src-tauri && cargo test |
Run Rust backend tests |
claudemeter/
├── src/ # Svelte frontend
│ ├── lib/components/ # UI components
│ ├── lib/types/ # TypeScript types
│ └── routes/ # SvelteKit routes
├── src-tauri/ # Rust backend
│ └── src/
│ ├── api/ # Claude API client
│ ├── credentials/ # Secure storage
│ ├── tray/ # System tray
│ └── lib.rs # Tauri commands
└── docs/ # Screenshots & docs
| Layer | Technology |
|---|---|
| Frontend | Svelte 5 + TypeScript |
| Backend | Rust + Tauri v2 |
| Testing | Vitest (frontend) + Cargo test (backend) |
| CI/CD | GitHub Actions |
If Anthropic modifies their API, this application may stop working until updated. Use at your own discretion.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Tauri and Svelte
- Inspired by Claude-Usage-Tracker
Made with ❤️ for the Claude community