Search / sh.tokenzero/mcp
TokenZero
R0· no sign-inLedger of record for AI spend: verifiable receipts, waste auditor & model arbitrage MCP.
v0.3.0 · active · repository · website · descriptor JSON · versions
Search / sh.tokenzero/mcp
R0· no sign-inLedger of record for AI spend: verifiable receipts, waste auditor & model arbitrage MCP.
v0.3.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"tokenzero": {
"type": "http",
"url": "https://api.tokenzero.sh/mcp"
}
}
}claude mcp add --transport http tokenzero https://api.tokenzero.sh/mcp[mcp_servers.tokenzero]
url = "https://api.tokenzero.sh/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"tokenzero": {
"type": "remote",
"url": "https://api.tokenzero.sh/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"tokenzero": {
"type": "http",
"url": "https://api.tokenzero.sh/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=tokenzero&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLnRva2VuemVyby5zaC9tY3AifQ%3D%3D"
}{
"servers": {
"tokenzero": {
"type": "http",
"url": "https://api.tokenzero.sh/mcp"
}
}
}{
"mcpServers": {
"tokenzero": {
"httpUrl": "https://api.tokenzero.sh/mcp"
}
}
}extensions:
"tokenzero":
enabled: true
name: "tokenzero"
type: streamable_http
uri: "https://api.tokenzero.sh/mcp"
timeout: 300
protocol.modernsupports 2026-07-28 (server/discover)protocol.statelessanswers without a sessionprotocol.transportstreamable HTTPprotocol.list_ttltool list is cacheable (ttlMs 3600000)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotations6 of 6 tools declare readOnlyHint or destructiveHinttools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHinttools.token_costabout 1,192 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changes11 tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know @tokenzero/[email protected]calculate_model_arbitragechangeddescriptionNo 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, and the effect of prompt caching. Pricing table version 2026-10-28.
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, and the effect of prompt caching. The result names the pricing table version it used.
try_tokenzeroaddedCall 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 and model, and returns the list-price saving, the signed receipt and a copy-paste keyless curl that makes a real call on a free model. Pass {} for the default, or {"model": "gpt-6.1-sol", "system": "...", "prompt": "..."}.
calculate_model_arbitragechangeddescription, input schemaPrice 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-27.
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, and the effect of prompt caching. Pricing table version 2026-10-28.
optimize_prompt_payloadchangeddescriptionRewrite 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 the model sees.
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 token profile and the projected per-request saving. Never changes the tokens the model sees.
audit_repo_token_wastechangeddescriptionStatic-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.
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 prompt-caching mis-integration (caching gated on model names, volatile values in the system prompt, random ids in history, wrong-provider cache markers, misplaced breakpoints, cost math that ignores cached tokens). Returns findings with fixes and an estimated recoverable percentage.
calculate_model_arbitragechangeddescriptionPrice 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.
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-27.
workspace_metricschangedtitle, annotationsprovision_workspacechangedtitle, annotationscalculate_model_arbitragechangedtitle, annotationsoptimize_prompt_payloadchangedtitle, annotationsShowing the latest 10. Full history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +dns-namespace +website +reachable +uptime-91% +updated-2d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@tokenzero/[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://api.tokenzero.sh/mcp streamable-http | none | yes | 91% | 534 ms | 2026-07-28 | 2026-11-07 |
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@tokenzero/mcp | npm | 0.3.0 | – | TOKENZERO_KEY |
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 prompt-caching mis-integration (caching gated on model names, volatile values in the system prompt, random ids in history, wrong-provider cache markers, misplaced breakpoints, cost math that ignores cached tokens). Returns findings with fixes and an estimated recoverable percentage. |
calculate_model_arbitrageread-only | 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, and the effect of prompt caching. The result names the pricing table version it used. |
optimize_prompt_payloadread-only | 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 token profile and the projected per-request saving. Never changes the tokens the model sees. |
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 is billed. |
try_tokenzeroread-only | 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 and model, and returns the list-price saving, the signed receipt and a copy-paste keyless curl that makes a real call on a free model. Pass {} for the default, or {"model": "gpt-6.1-sol", "system": "...", "prompt": "..."}. |
workspace_metricsread-only | 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. |
Schemas: list_tools.
1 other active names share this repository: io.github.tokenzero-ai/tokenzero
{
"name": "sh.tokenzero/mcp",
"title": "TokenZero",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://api.tokenzero.sh/mcp",
"type": "streamable-http"
}
],
"version": "0.3.0",
"packages": [
{
"version": "0.3.0",
"transport": {
"type": "stdio"
},
"identifier": "@tokenzero/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "TOKENZERO_URL",
"description": "Gateway base URL (default https://tokenzero.sh)"
},
{
"name": "TOKENZERO_KEY",
"isSecret": true,
"description": "Workspace key (tz_live_…) for workspace_metrics; optional"
}
]
}
],
"repository": {
"url": "https://github.com/tokenzero-ai/tokenzero",
"source": "github"
},
"websiteUrl": "https://tokenzero.sh",
"description": "Ledger of record for AI spend: verifiable receipts, waste auditor & model arbitrage MCP."
}