TokenZero
io.github.tokenzero-ai/tokenzero
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
- Repository
- github.com/tokenzero-ai/tokenzero
- Website
- tokenzero.sh/
- Server address
https://tokenzero.sh/mcp(streamable-http)- Version
- 0.2.2
- Author
- tokenzero-ai (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 26, 2026)
How to install it
Claude Code
In a terminal:
claude mcp add --transport http tokenzero https://tokenzero.sh/mcpClaude (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://tokenzero.sh/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://tokenzero.sh/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"tokenzero": {
"url": "https://tokenzero.sh/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"tokenzero": {
"type": "http",
"url": "https://tokenzero.sh/mcp"
}
}
}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, 08:40 (test run by L’Atlas)
- Response time
- 1,239 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 promptaudit_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, andoptimize_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, thecalculate_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, aprovision_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 iworkspace_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.
Badge for your README
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)
[](https://lagora.dev/en/entry/io.github.tokenzero-ai/tokenzero)HTML
<a href="https://lagora.dev/en/entry/io.github.tokenzero-ai/tokenzero"><img src="https://lagora.dev/badge/io.github.tokenzero-ai/tokenzero.svg?lang=en" alt="io.github.tokenzero-ai/tokenzero on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.