weekly
weekly copied to clipboard
[Self-promo] TokenTracker — macOS menu-bar dashboard for AI token usage & cost across 8 CLIs
If you use multiple AI coding CLIs — Claude Code, Codex, Cursor, Gemini CLI, etc. — you probably have no idea how much you actually spent this month, which model burns the most tokens, or how close you are to hitting your weekly quota. Every tool has its own dashboard (or none at all).
TokenTracker is a macOS menu-bar app + web dashboard that auto-aggregates token usage across 8 AI CLIs from local logs. No API keys, no prompts uploaded, one command to start.
![]()
What it does
- 8 AI CLIs supported — Claude Code, Codex, Cursor, Gemini CLI, OpenCode, OpenClaw, Every Code, Kiro. Auto-detects which ones you have installed and wires up hooks.
- Live menu-bar token count — single click for a popover, double click to open the full dashboard (WKWebView with native glass chrome).
- Quota tracking — session/weekly limits for Claude Pro/Max, Codex Plus/Pro, Cursor, Gemini, with reset countdowns.
- Cost analytics — pricing table for 70+ models, day/week/month/custom ranges, per-model breakdowns.
- GitHub-style activity heatmap + opt-in global leaderboard.
- Annual report + shareable cards — one-click neon-style recap image.
- Privacy-first — only token counts, never prompt content. Data lives locally first; cloud sync is opt-in.
![]()
![]()
![]()
How it compares
| TokenTracker | ccusage | Agenton | |
|---|---|---|---|
| AI CLI coverage | 8 | 1 (Claude) | 2 |
| Menu-bar resident | ✅ | ❌ | ❌ (standalone window) |
| Platform | macOS | Any | Windows |
| Leaderboard / social | ✅ | ❌ | ❌ |
| Open source | ✅ MIT | ✅ | ❌ |
Install
# Option 1: npm (cross-platform CLI)
npx tokentracker-cli
# Option 2: macOS menu-bar app
brew install --cask mm7894215/tokentracker/tokentracker
First run walks through a short wizard: detect CLIs → install hooks → open http://localhost:7680.
Links
- GitHub: https://github.com/mm7894215/TokenTracker
- npm: https://www.npmjs.com/package/tokentracker-cli
- Live demo: https://token.rynn.me
MIT licensed. Stars / issues / PRs all welcome — feedback in this thread too 🙏