Local-first dashboard + MCP server for Claude Code and Codex token usage. MCP-aware, multi-vendor, MIT.
Local-first dashboard + MCP server for Claude Code and Codex token usage. MCP-aware, multi-vendor, MIT. The token mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 4 defined tools rather than through you.
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.
The server ships on npm as @whdrnr2583/token-meter, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
usage_summary — Daily table of token counts, USD-equivalent cost, and call counts — broken down by day and modelrecent_sessions — Latest sessions with paste-ready claude --resume / codex resume commandssession_tools — Per-tool breakdown inside a session: call count, total tokens, average latency, response sizerefresh_data — Re-scans your local JSONL logs for new activity, then returns a fresh summaryAmong the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Token's toolset — usage_summary, recent_sessions, session_tools and 1 more — is a fair guide to whether it matches your workflow. It is maintained by whdrnr2583; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Token's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| usage_summary | Daily table of token counts, USD-equivalent cost, and call counts — broken down by day and model |
| recent_sessions | Latest sessions with paste-ready claude --resume / codex resume commands |
| session_tools | Per-tool breakdown inside a session: call count, total tokens, average latency, response size |
| refresh_data | Re-scans your local JSONL logs for new activity, then returns a fresh summary |
{
"mcpServers": {
"token-meter": {
"command": "npx",
"args": ["-y", "@whdrnr2583/token-meter"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.