whdrnr2583-cmd avatar

Token Meter

whdrnr2583-cmd/token-meter

If you're running Claude Code or Codex locally and want to know where your tokens are actually going, this parses the JSONL files they already write to disk and breaks it down by model, project, MCP server, and individual tool. The MCP server exposes usage_summary, recent_sessions, and tool_stats so you can query cost and latency from inside your AI editor without switching to a dashboard. The free tier gives you 7 days of history and per-tool breakdowns. Everything stays local in a SQLite database under ~/.tokenpulse. Useful when you need to spot which MCP integration is burning tokens or compare hourly patterns across projects without sending your session data anywhere.

GitHub stars
1
tools
4
transport
STDIO
last updated
Jun 10, 2026

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

usage_summaryDaily table of token counts, USD-equivalent cost, and call counts — broken down by day and model

Daily table of token counts, USD-equivalent cost, and call counts — broken down by day and model

No parameter schema in public metadata yet.

recent_sessionsLatest sessions with paste-ready `claude --resume` / `codex resume` commands

Latest sessions with paste-ready `claude --resume` / `codex resume` commands

No parameter schema in public metadata yet.

session_toolsPer-tool breakdown inside a session: call count, total tokens, average latency, response size

Per-tool breakdown inside a session: call count, total tokens, average latency, response size

No parameter schema in public metadata yet.

refresh_dataRe-scans your local JSONL logs for new activity, then returns a fresh summary

Re-scans your local JSONL logs for new activity, then returns a fresh summary

No parameter schema in public metadata yet.

Sponsors

Readme

Token Meter

Token Meter

Track Claude Code, Codex & Cursor token usage and cost locally — no account, no cloud.

One local dashboard for your Claude Code and Codex token usage. Free, MCP-aware, MIT-licensed core.

npm: @whdrnr2583/token-meter · GitHub: whdrnr2583-cmd/token-meter · Site: token-meter.dev

Token Meter parses the JSONL files that Claude Code and Codex already write to disk and turns them into a real dashboard: cost per project, per model, per MCP tool, per hour. Your data never leaves your machine.

Run your first audit

npx -y @whdrnr2583/token-meter audit

View the full README on GitHub

Details

Repository
github.com/whdrnr2583-cmd/token-meter
Website
token-meter.dev
Category
Data & Analytics
Package
@whdrnr2583/token-meter
Transport
STDIO
Registry
MCP registry, active

More from whdrnr2583-cmd

Related Data & Analytics MCP servers

View all
1yimingyan avatarFivetran Mcpyimingyan/fivetran-mcpMCP server for Fivetran API - manage syncs, check status, and control data pipelines1stars
2adelaidasofia avatarMCP server for RescueTime productivity dataadelaidasofia/rescuetime-mcpMCP server for RescueTime productivity data0stars
3rootdata avatarRoot Data Public Directoryai.rootdata/public-directoryPublic Root Data dental analytics directory for DSOs, dental practices, blog, and FAQ tools.0stars
4amansingh63 avatarDBHub Analyticsamansingh63/dbhub-analyticsMCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB0stars
5ankitpal181 avatarToon Parse Mcpankitpal181/toon-parse-mcpMCP server that reduces LLM context by removing code comments and converting data formats to TOON0stars
6martinendara avatarLotus — AI Citation Intelligencemartinendara/lotus-mcpMeasure how AI assistants cite your brand. Returns measured data and ready-to-apply fixes.0stars