Home / Security / TokenTrace

TokenTrace

io.github.abhiyoheswaran1/tokentrace · v0.21.3 stdio

Score 79. Maintenance 39 of 40, security 35 of 35, adoption 5 of 25.

Local-first AI CLI usage analytics: cost, models, sessions. Maintenance mode, security fixes only.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #76 of 314 Security servers on Socketlist by score and a last code push 7d ago.

Install

npx -y tokentrace mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect TokenTrace to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio tokentrace -- npx -y tokentrace mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "tokentrace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokentrace",
        "mcp"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "tokentrace": {
      "command": "npx",
      "args": [
        "-y",
        "tokentrace",
        "mcp"
      ]
    }
  }
}

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "tokentrace",
        "mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance39/40Last push 7d ago, 0 open issuesStrong
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption5/250 GitHub stars, 110 npm downloads a weekWeak

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Security. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars0
npm weekly downloads110
Last push7d ago
LicenceMIT
Open issues0
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-11-24

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

HOL Guard

Score 85. Maintenance 35 of 40, security 35 of 35, adoption 15 of 25.

io.github.hashgraph-online/hol-guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

★ 1.1kApache-2.0pushed today Security

CodeInspectus

Score 76. Maintenance 37 of 40, security 25 of 35, adoption 14 of 25.

io.github.Synvoya/codeinspectus

Local-first MCP security scanner and CLI for AI-generated applications.

★ 51↓ 125/wkApache-2.0pushed 16d ago Security

SecHelix

Score 75. Maintenance 39 of 40, security 35 of 35, adoption 2 of 25.

io.github.omarmohelal/sechelix

Evidence-first security review of authorized repositories. Read-only, root-confined, no shell.

★ 1Apache-2.0pushed 8d ago Security