---
name: "Track AI coding-agent token usage with TokenTracker"
slug: "track-ai-coding-agent-token-usage-with-tokentracker"
description: "Use TokenTracker to auto-collect local token, cost, and rate-limit telemetry across Claude Code, Codex, Cursor, Gemini, OpenCode, OpenClaw, and other AI coding tools."
github_stars: 959
verification: "security_reviewed"
source: "https://github.com/mm7894215/TokenTracker"
author: "TokenTracker contributors"
publisher_type: "open_source"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "mm7894215/TokenTracker"
  github_stars: 959
  npm_package: "tokentracker-cli"
  npm_weekly_downloads: 15297
---

# Track AI coding-agent token usage with TokenTracker

Use TokenTracker to auto-collect local token, cost, and rate-limit telemetry across Claude Code, Codex, Cursor, Gemini, OpenCode, OpenClaw, and other AI coding tools.

## Prerequisites

Node.js 20+, tokentracker-cli or native desktop app, local AI coding tools to monitor, optional sqlite3 for Cursor token reading

## Installation

Requirements and caveats from upstream:
- <summary><b>"engines.node" or unsupported version error</b></summary>
- TokenTracker requires **Node 20+**. Check your version:
- node --version

Basic usage or getting-started notes:
- 🚀 **Zero config** — Hooks auto-install on first run. From zero to dashboard in 30 seconds.
- 📊 **Beautiful dashboard** — Usage trends, cost breakdowns by model, GitHub-style activity heatmap, project attribution
- 🎨 **4 desktop widgets** — Pin Usage / Activity Heatmap / Top Models / Usage Limits to your desktop

- Source: https://github.com/mm7894215/TokenTracker
- Extracted from upstream docs: https://raw.githubusercontent.com/mm7894215/TokenTracker/HEAD/README.md

## Documentation

- https://www.tokentracker.cc

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/track-ai-coding-agent-token-usage-with-tokentracker/)
