Skip to content
Sriinnu edited this page Oct 11, 2026 · 3 revisions

Tokmeter

Every AI coding agent you run, on one ledger.

Tokmeter reads the session files your AI coding agents already write to disk and turns them into token and cost totals by project, model, provider, and day — across Claude Code, Codex, Gemini CLI, Cursor, and 20+ more. No API keys, no telemetry, no account. Your usage data stays on your machine; the only network calls are an optional public price-catalog fetch (--light skips it) and the macOS app's update check.

npx -y @sriinnu/tokmeter --today

Start here

Canonical docs (in the repo)

The repository is the source of truth; these pages summarize and link into it.

Packages

  • @sriinnu/tokmeter — core API, CLI, and TUI
  • @sriinnu/tokmeter-mcp — MCP server, daemon, and statusline (was @sriinnu/drishti through 1.12.0)

Applications are AGPL-3.0-only; core source is MPL-2.0.

Clone this wiki locally