tokmeter

Level CLocal

Token and cost tracking for AI coding agents. Reads the local session logs of Claude Code, Codex, Gemini CLI, Cursor and 20+ more. No API keys, no telemetry, nothing leaves your machine.

⭐ 1DevOps & DeploymentTypeScriptRepo ↗Updated 2026-11-01

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "tokmeter": {
      "command": "npx",
      "args": [
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/sriinnu/tokmeter

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "tokmeter": {
      "command": "npx",
      "args": [
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers