mcpbeat Sign in

TokenTrace MCP Server

local only

TokenTrace runs on your own machine — the client starts it, so there is no endpoint to ping. 88 installs a week from npm. Last commit 27 Jun 2026.

Local-first AI CLI usage analytics for agents.

Installs per day peak 72 · avg 21 · +13% w/w
a month agotoday
88
Installs / week
npm · tokentrace
0
Stars
0 open issues
27 Jun 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

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.

  const child = spawn(command, commandArgs, {

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

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

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 tokentrace -- npx -y tokentrace
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tokentrace": {
      "args": [
        "-y",
        "tokentrace"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.tokentrace]
command = "npx"
args = ["-y", "tokentrace"]
.cursor/mcp.json
{
  "mcpServers": {
    "tokentrace": {
      "args": [
        "-y",
        "tokentrace"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "tokentrace": {
      "args": [
        "-y",
        "tokentrace"
      ],
      "command": "npx"
    }
  }
}

Alternatives to TokenTrace

same job, measured the same way
Token Meter
by whdrnr2583-cmd

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

109 installs/wk local only
Phi Guard MCP
by abidit

Local-first PHI detection for source code, LLM prompts, logs, and analytics

80 installs/wk local only
Picoli MCP
by amaterous

MCP server for picoli.site - URL shortening and click analytics for AI agents

28 installs/wk local only
Gaffer
by gaffer

Test analytics for AI agents: test history, flaky tests, failure clusters, coverage.

92 installs/wk local only
Lodd MCP Server
by hholen

Headless web analytics for AI agents. 42 MCP tools for traffic, events, funnels.

64 installs/wk local only
Ainative Gtm MCP
by ainative-studio

Full Google Ads, Analytics & Tag Manager lifecycle MCP for AI agents — 57 tools.

105 installs/wk local only
Telemost MCP Server
by telemost

Telegram channel analytics and statistics for AI agents, pay-per-call in USDC via x402.

56 installs/wk 20 tools answering
AnyFile
by useanyfile

Connect AnyFile to AI clients to manage files, share links, file requests, and analytics.

answering

TokenTrace — questions

Answers built from our own checks of this server.

Why is there no uptime for TokenTrace?
TokenTrace 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 tokentrace was installed 88 times last week.
How do I connect TokenTrace?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls tokentrace straight from npm; nothing to host, nothing to sign up for.
How many people use TokenTrace?
The npm package tokentrace was installed 88 times in the last week. Week over week that is +13%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is TokenTrace open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 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.