LocalFree

Tokmeter MCP server

sriinnu/tokmeter

Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.

1 GitHub stars

Install Tokmeter in Claude Code

Claude Code
claude mcp add tokmeter-ai-agent-usage-cost -- npx -y @sriinnu/tokmeter-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "tokmeter-ai-agent-usage-cost": {
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Tokmeter MCP server do?

Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.

Is the Tokmeter MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Tokmeter run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Tokmeter to Claude Code?

Run: claude mcp add tokmeter-ai-agent-usage-cost -- npx -y @sriinnu/tokmeter-mcp

More ai agents & coding agents MCP servers

View all