TokenZero

sh.tokenzero/mcp · v0.2.2 · developer-tools

TokenZero is healthy: it completed an MCP handshake in 1279 ms and exposes 5 tools.

LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.

Endpoint: https://api.tokenzero.sh/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count5
Latency1279 ms
Last checked (UTC)2026-10-26T12:05:08.613Z

Health history

Checked (UTC)StatusLatencyError
2026-10-26T12:05:08.613ZHealthy1279

Tools (5)

audit_repo_token_wasteStatic-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.
optimize_prompt_payloadRewrite 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 th
calculate_model_arbitragePrice 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.
provision_workspaceCreate 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_metricsLive 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.