CLI ToolsMay 13, 2026·2 min read

TokenTracker — Local Cost Dashboard for 13+ AI CLIs

TokenTracker collects token usage across 13+ AI coding tools and serves a local dashboard for cost trends, model breakdowns, and integration health.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
CLI Tool
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 40a64fc2-68fe-54f9-909d-ea0f389f2190 --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

TokenTracker collects token usage across 13+ AI coding tools and serves a local dashboard for cost trends, model breakdowns, and integration health.

Best for: tracking spend and rate limits across multiple agent tools

Works with: Node.js 20+, Claude Code/Codex CLI/Cursor/Gemini CLI/OpenCode and more

Setup time: 3-10 minutes

Key facts (verified)

  • GitHub: 449 stars · 40 forks · pushed 2026-05-13.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-verified entrypoint: npm i -g tokentracker-cli.

Main

  • Start with npx tokentracker-cli for a zero-config first run; it installs the needed hooks and opens the dashboard on localhost:7680.

  • Use tokentracker status after upgrades to confirm each tool integration is active (hooks, plugins, or passive readers depending on the tool).

  • Keep your workflow auditable: TokenTracker focuses on token counts and timestamps (not prompt/response content) per its README privacy section.

Source-backed notes

  • README says first run opens the dashboard at http://localhost:7680 and supports global install via npm i -g tokentracker-cli.
  • README lists tokentracker sync, status, and doctor commands for maintenance and troubleshooting.
  • README enumerates supported tools and describes detection methods (hooks/plugins/passive readers).

FAQ

  • Is it local-only?: README states data stays on your machine by default; leaderboard is optional/opt-in.
  • Which Node version do I need?: README lists Node.js 20+ as the requirement.
  • How do I verify integrations?: Run tokentracker status or tokentracker doctor per README.
🙏

Source & Thanks

Source: https://github.com/mm7894215/TokenTracker > License: MIT > GitHub stars: 449 · forks: 40

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets