mcpbeat Sign in

Tokmeter — AI Agent Usage & Cost MCP Server

local only

Tokmeter — AI Agent Usage & Cost runs on your own machine — the client starts it, so there is no endpoint to ping. 1 924 installs a week from npm. Last commit 4 Nov 2026.

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

Installs per day peak 569 · avg 112 · +94% w/w
a month agotoday
1 924
Installs / week
npm · @sriinnu/tokmeter-mcp
1
Stars
0 open issues
4 Nov 2026
Last commit
20 releases in 90 days
AGPL-3.0
License
TypeScript

What the code does

We read the source, 2 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Decodes a string and executes it packages/core/src/parsers/antigravity.ts:141
    const match = FILE_URI_RE.exec(Buffer.from(refs).toString("utf-8"));
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        let plistPath = home + "/Library/LaunchAgents/com.sriinnu.tokmeter.daily.plist"
Runs an external command packages/cli/src/cli.ts:906
      spawn(process.execPath, [process.argv[1], "daemon", "start"], {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Tokmeter — AI Agent Usage & Cost and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add tokmeter -- npx -y @sriinnu/tokmeter-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tokmeter": {
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.tokmeter]
command = "npx"
args = ["-y", "@sriinnu/tokmeter-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "tokmeter": {
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tokmeter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/tokmeter-mcp"
      ]
    }
  }
}

Alternatives to Tokmeter — AI Agent Usage & Cost

same job, measured the same way
Minnimemory
by minniai-com

Curated, on-demand memory for AI coding agents. Cuts Claude Code token cost per session.

167 installs/wk local only
Claude Code Usage
by wheelbarrel00

Claude Code token usage, cost, and plan limits from local logs and Anthropic's usage API.

51 installs/wk local only
sessionwiki
by necroz

Search a local wiki compiled from your Claude Code, Codex, Cursor and other AI coding sessions.

1 956 installs/wk local only
Codeman
by ark0n

Start, prompt and read AI coding agent sessions (Claude Code, Codex, Gemini CLI and more) in Codeman

4 270 installs/wk local only
Token Meter
by whdrnr2583-cmd

Local-first dashboard + MCP for Claude Code and Codex token usage. Per-MCP/tool breakdown.

136 installs/wk local only
Token Context MCP
by mck564

On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.

189 installs/wk local only
LoreConvo
by labyrinth-analytics

Local-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.

914 installs/wk local only
Lybrary
by vibhu-dixit

Local codebase memory and repository code search for Codex, Claude Code, and MCP coding agents.

173 installs/wk local only

Tokmeter — AI Agent Usage & Cost — questions

Answers built from our own checks of this server.

Why is there no uptime for Tokmeter — AI Agent Usage & Cost?
Tokmeter — AI Agent Usage & Cost runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @sriinnu/tokmeter-mcp was installed 1 924 times last week.
How do I connect Tokmeter — AI Agent Usage & Cost?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @sriinnu/tokmeter-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Tokmeter — AI Agent Usage & Cost?
The npm package @sriinnu/tokmeter-mcp was installed 1 924 times in the last week. Week over week that is +94%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Tokmeter — AI Agent Usage & Cost open source?
Yes — it is published under the AGPL-3.0 licence, written in TypeScript and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.