xiufengsun

    xiufengsun/TokenTracker

    Local-first AI token usage & cost tracker for 31 coding tools incl. Claude Code, Codex, Cursor, Gemini & DeepSeek Harness—with native apps. Never reads prompts.

    cli
    analytics
    developer-tools
    observability
    ai-coding-tools
    ai-tools
    antigravity
    claude-code
    codex-cli
    JavaScript
    MIT
    2.1K stars
    225 forks
    2.1K GitHub watchers
    Updated Oct 28, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 94 contributors on GitHub.

    Use Cases & Benefits

    • Tracks AI token usage and costs locally for 27+ AI coding tools with a privacy-first dashboard and native desktop apps.
    • Provides zero-config, local-first tracking with accurate multi-provider deduplication and no cloud account or API keys required.
    • Use for monitoring token consumption and cost trends across multiple AI coding tools in a single unified dashboard.
    • Use for developers seeking privacy-focused, offline token tracking without uploading prompts or responses to external servers.
    • Use for enhancing productivity with native desktop widgets, a coding activity pet, and achievement badges tied to AI tool usage.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    An accurate, local-first token usage and cost dashboard for 27 AI coding tools — plus a desktop pet, 4 native widgets, and 15 achievement tracks. No cloud account, no API keys, no setup.

    📊 See the token dashboard in action

    🏆 Unlock achievements from the way you actually code.

    ⭐ If TokenTracker saves you time, please star it on GitHub — it helps other developers find it.

    Requirements: Node.js 20+ (CLI runs on macOS / Linux / Windows; native desktop app ships for both macOS (menu bar) and Windows (system tray). Cursor token reading uses the system sqlite3 CLI when available and falls back to node:sqlite on supported Node releases).

    That's it. First run installs hooks, syncs your data, and opens the dashboard at http://localhost:7680.

    What you get in 30 seconds:

    Want a native desktop app?

    Excerpt from the xiufengsun/TokenTracker README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    225+98

    Open issues

    27+20

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    xiufengsun/TokenTracker compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    mattpocock/skills315.4K+8.7K357 days ago
    stablyai/orca116.8K+6.6K40today
    obra/superpowers313.1K+4.5K532 days ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    xiufengsun/TokenTracker2.1K—45today
    Category median116.8K+6.6K40—

    Discover Repositories

    Search across tracked repositories by name or description