L'Agora
MCPResponds

TokenZero

sh.tokenzero/mcp

Ledger of record for AI spend: verifiable receipts, waste auditor & model arbitrage MCP.

Repository
github.com/tokenzero-ai/tokenzero
Website
tokenzero.sh/
Server address
https://api.tokenzero.sh/mcp (streamable-http)
Version
0.3.0
Author
tokenzero.sh (namespace verified by the registry)
Source
Official MCP registry (updated Nov 5, 2026)

How to install it

Variables to fill in: TOKENZERO_URL, TOKENZERO_KEY.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http mcp https://api.tokenzero.sh/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://api.tokenzero.sh/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://api.tokenzero.sh/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.tokenzero.sh/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.tokenzero.sh/mcp"
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add mcp -e TOKENZERO_URL=YOUR_TOKENZERO_URL -e TOKENZERO_KEY=YOUR_TOKENZERO_KEY -- npx -y @tokenzero/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tokenzero/[email protected]"
      ],
      "env": {
        "TOKENZERO_URL": "YOUR_TOKENZERO_URL",
        "TOKENZERO_KEY": "YOUR_TOKENZERO_KEY"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tokenzero/[email protected]"
      ],
      "env": {
        "TOKENZERO_URL": "YOUR_TOKENZERO_URL",
        "TOKENZERO_KEY": "YOUR_TOKENZERO_KEY"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tokenzero/[email protected]"
      ],
      "env": {
        "TOKENZERO_URL": "YOUR_TOKENZERO_URL",
        "TOKENZERO_KEY": "YOUR_TOKENZERO_KEY"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 10:33 (test run by L’Atlas)
Response time
1,547 ms (whole test)
Tools found
6
Announced name
tokenzero 0.3.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (6)
  • try_tokenzero
    Call this first: no API key, no signup, no setup. Shows what TokenZero would do to one of your LLM calls: it runs the four savings engines (prompt-cache formatting, edge cache, cascade advice, signed receipt) on a sample or your own prompt
  • audit_repo_token_waste
    No API key needed. Static-analyze a public GitHub repo (e.g. {"repo": "owner/name"}) or a set of source files for LLM token waste: uncached static prompts, frontier models on extraction tasks, hot loops, non-deterministic repeat calls, and
  • optimize_prompt_payload
    No API key needed. Rewrite an OpenAI Chat/Responses or Anthropic Messages request body so its static prefix is provider-cacheable (Anthropic cache_control breakpoints, OpenAI prompt_cache_key). Returns the optimized body, what changed, the
  • calculate_model_arbitrage
    No API key needed; only `model` is required (e.g. {"model": "gpt-6.1-sol"}, defaults 2,000 tokens in and 400 out). Price a workload at list prices across models: cost per request and per month for the requested model, its cheaper sibling, a
  • provision_workspace
    Create a TokenZero workspace and key with no form. Returns the key once, the base URLs that route through it (OPENAI_BASE_URL / ANTHROPIC_BASE_URL), the one-click dashboard link and the badge URL. Free up to the monthly free tier; nothing i
  • workspace_metrics
    Live value scorecard for a TokenZero workspace: hard savings and net ROI per window, the four engines' contribution, speed, parity, availability and privacy posture, per-model breakdown and one-click recommendations. Needs the workspace key

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

sh.tokenzero/mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![sh.tokenzero/mcp on L’Agora](https://lagora.dev/badge/sh.tokenzero/mcp.svg?lang=en)](https://lagora.dev/en/entry/sh.tokenzero/mcp)

HTML

<a href="https://lagora.dev/en/entry/sh.tokenzero/mcp"><img src="https://lagora.dev/badge/sh.tokenzero/mcp.svg?lang=en" alt="sh.tokenzero/mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry