English | 日本語
A macOS menubar application that monitors Claude Code API usage and costs in real-time.
This app wraps the ccusage CLI tool to provide visual, easy-to-understand usage tracking for Claude Code.
- Real-time Display: Shows current session usage percentage in the menubar
- Session Management: Accurate tracking based on Claude Code's 5-hour sessions
- Plan Support: Auto-detection and manual setting for Pro/Max5/Max20 plans
- 📊 Current Session Information
- Remaining tokens and percentage
- Session cost (reference value)
- Burn rate (tokens/minute)
- Time remaining prediction
- 📈 Historical Data
- Daily usage and costs
- Model-specific breakdown
- Past session history
- 🔄 Auto-refresh every 5 minutes
- 🔄 Manual refresh button
- ⚙️ Plan settings (Pro/Max5/Max20)
- 🌍 Multi-language support (English/Japanese)
Download the latest release from GitHub Releases.
- macOS 13.0 or later
- Swift 5.9 or later
- Bun or Node.js 18 or later (required for ccusage CLI tool)
- Xcode 15 or later (for development)
git clone https://github.com/K9i-0/ClaudeCodeMonitor.git
cd ClaudeCodeMonitor
open Package.swift
In Xcode:
- Build: Product > Build (⌘B)
- Run: Product > Run (⌘R)
# Build and create app bundle
./scripts/create-app-bundle.sh
Contributions are welcome! Please see CONTRIBUTING.md for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
- Claude Code - Official Claude Code by Anthropic
- ccusage CLI - The underlying CLI tool