xiufengsun/TokenTracker

Local-first AI token usage & cost tracker for 31 coding tools incl

TokenTracker is a local-first token usage and cost dashboard for 33 AI coding tools, including DeepSeek Harness. It runs entirely on your machine — no cloud account or API keys needed. Features include a desktop pet that reacts to agent activity, 4 native macOS widgets, and 15 achievement tracks. Featured in 阮一峰周刊 #393. Shows per-tool token spend, cost breakdown, and usage trends.

Coding & Development ★ 1.4k updated 2026-09-20 — untested
View on GitHub ↗

Install

npm install -g tokentracker-cli

macOS: also available via Homebrew (brew install xiufengsun/tokentracker/tokentracker) or as a native macOS menu bar + widgets app from GitHub Releases. Windows: system tray app from GitHub Releases.

Compatibility

CLI: macOS, Linux, Windows. macOS app: menu bar + 4 native widgets. Windows: system tray. Tracks 33 AI coding tools including DeepSeek Harness. No cloud account, no API keys.

Details

Recent updates

Available as CLI (tokentracker-cli), Homebrew formula, macOS app (menu bar + widgets), and Windows system tray app. Author's own usage tracked at the badge in the README.

FAQ

How do I install TokenTracker?
CLI: npm install -g tokentracker-cli. macOS app: download from GitHub Releases or brew install xiufengsun/tokentracker/tokentracker.
Does TokenTracker need an API key or cloud account?
No. TokenTracker is fully local — it reads your local agent log files to track usage. No internet connection required.
Which AI tools does TokenTracker track?
TokenTracker supports 33 AI coding tools including DeepSeek Harness, Claude Code, Codex, and others.

Alternatives

ccch1mneyyy/dsh-TUI · bowenliang123/dsh-context · paean-ai/deeptide

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins