MCP server
TokenZero Official
io.github.tokenzero-ai/tokenzero
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Working at last checkOfficial: tokenzero.sh's GitHub account (tokenzero-ai)About 839 tokens per request once connected5 tools
https://tokenzero.sh/mcp
At a glance
- Type
- MCP server
- Publisher
- tokenzero.sh (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 5
- Token cost
- About 839 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http tokenzero https://tokenzero.sh/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.tokenzero] url = "https://tokenzero.sh/mcp"
Gemini CLI
{"mcpServers":{"tokenzero":{"httpUrl":"https://tokenzero.sh/mcp"}}}
Cursor
{"mcpServers":{"tokenzero":{"url":"https://tokenzero.sh/mcp"}}}
VS Code
{"servers":{"tokenzero":{"type":"http","url":"https://tokenzero.sh/mcp"}}}
Antigravity
agy mcp add tokenzero https://tokenzero.sh/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"tokenzero","server_url":"https://tokenzero.sh/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"tokenzero","server_url":"https://tokenzero.sh/mcp"}
Tools
audit_repo_token_waste~182 tokens
Static-analyze a public GitHub 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. Returns findings with fixes and an estimated recoverable percentage.calculate_model_arbitrage~185 tokens
Price a workload at list prices across models: cost per request and per month for the requested model, its cheaper sibling, and the effect of prompt caching. Pricing table version 2026-10-26.optimize_prompt_payload~184 tokens
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 token profile and the projected per-request saving. Never changes the tokens thprovision_workspace~120 tokens
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 is billed.workspace_metrics~168 tokens
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 (tz_live_…); pass demo: true for a labelled sample.
Browse
Related MCP servers
- Cloud FinOps Skill & MCP
Cloud cost + FinOps knowledge for AI agents: AWS/Azure/GCP optimisation, AI spend, waste playbooks. - Diogenes Autonomous Microservice Gateway
Autonomous AI microservices: 55 dynamic guardrails, contract audits & oracles via L402/x402/MPP. - HirePulse Agent Gateway
26 tools: 4-in-1 company profiles, growth signals, commerce; free sandbox and 25-call trials. x402. - SHPBL: Repository Audit & Repair
Audit and repair any public GitHub repo. Free survey; paid source, unified diffs and a pull request. - Api Payload Auditor
Cloudflare Workers MCP server: api-payload-auditor - RugShield 402
Real-time token contract safety scanner and honeypot auditor via x402 on Base. - MaCalculatriceEnLigne
Calculatrices francaises : salaire net, SMIC, impots, bareme kilometrique, TVA, conversions. - Futility Breaker
Evidence-bound stopping for agents: judgment ledger, binding futility verdicts, signed receipts.
Badge for your README
[](https://aptlynx.net/servers/io.github.tokenzero-ai/tokenzero)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents