L'Atlas / MCP servers / TokenBudget
MCP server

TokenBudget

io.github.adamhursey/tokenbudget

MCP server OK 7 tools

Get a review See pricing

Sourced LLM API prices and cost budgets for agent runs across OpenAI, Claude, Gemini and more.

Technical sheet

Author
adamhursey (registry namespace)
Repository
—
Site
—
Version
0.2.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://tokenbudget.netlify.app/mcp Streamable HTTP
Tools
7
Categories
AI, agents and memory, Commerce and marketing
Last updated
25 Nov 2026
Published
25 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.adamhursey/tokenbudget.svg?lang=en)](https://latlas.dev/en/mcp/io.github.adamhursey/tokenbudget)
HTML
<a href="https://latlas.dev/en/mcp/io.github.adamhursey/tokenbudget"><img src="https://latlas.dev/badge/statut/mcp/io.github.adamhursey/tokenbudget.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.adamhursey/tokenbudget.svg?lang=en)](https://latlas.dev/en/mcp/io.github.adamhursey/tokenbudget)
HTML
<a href="https://latlas.dev/en/mcp/io.github.adamhursey/tokenbudget"><img src="https://latlas.dev/badge/fiche/io.github.adamhursey/tokenbudget.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://tokenbudget.netlify.app/mcp
Last result
OK 28 Nov 2026, 09:32
Response time
1,185 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
tokenbudget 0.2.0
Tools
7

History

DateResultResponseTools
28 Nov 2026, 09:32OK1,185 ms7

Exposed tools (7, from tools/list, 28 Nov 2026)

estimate_cost

Estimate the cost of one LLM request across models

Price one LLM request (input + expected output) on many models at once, cheapest first, with current list prices from each provider's own pricing page (source URL and check date included), prompt-cache and batch discounts, long-prompt surcharges and announced price changes. Also says whether the request fits each model's context window. Call this before an expensive request to pick a model or to stay inside a budget.

ParameterTypeRequiredDescription
textstringnoPrompt text. Counted with an estimator, never stored.
messagesarray<object>noChat messages [{role, content}]. Counted with an estimator, never stored.
systemstringnoSystem prompt text.
input_tokensintegernoExact input token count, if you have it. Overrides text and gives an exact cost.
output_tokensintegernoExpected output tokens (or the max_tokens you will allow).
cached_input_tokensintegernoHow many input tokens will be read from the prompt cache.
batchbooleannoPrice with the provider's batch API discount where one is listed.
modelsarray<string>noModel ids to compare, e.g. ["claude-sonnet-5-5", "gpt-6.2-sol", "gemini-3.8-flash"]. Omit to compare every listed model. list_models gives every id.
providersarray<enum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq">noOnly these providers.
datestringnoPrice on this day (YYYY-MM-DD), to see announced price changes. Default today.

plan_agent_run

Budget a multi-turn agent run

Estimate the total cost of an agent loop that re-sends its growing context every turn, with prompt caching, on many models. Returns total cost, peak context, how many turns fit in each model's context window, how many turns fit in a budget, and a recommended model. Use before starting a long agent task.

ParameterTypeRequiredDescription
turnsintegeryesNumber of model calls in the loop.
system_tokensintegerno
tools_tokensintegernoTokens of tool definitions sent every turn.
task_tokensintegernoTokens of the first user message.
output_tokens_per_turnintegernoDefault 800.
tool_result_tokens_per_turnintegernoDefault 1500.
cachebooleannoAssume prompt caching of the previous turn. Default true.
budget_usdnumberno
modelsarray<string>noModel ids to compare, e.g. ["claude-sonnet-5-5", "gpt-6.2-sol", "gemini-3.8-flash"]. Omit to compare every listed model. list_models gives every id.
providersarray<enum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq">noOnly these providers.

check_context_fit

Check which models' context windows fit an input

Say which models can take this input plus the output you want to reserve, which cannot, and which do not publish a context window. Use before sending a very large document or conversation.

ParameterTypeRequiredDescription
textstringnoPrompt text. Counted with an estimator, never stored.
messagesarray<object>noChat messages [{role, content}]. Counted with an estimator, never stored.
systemstringnoSystem prompt text.
input_tokensintegernoExact input token count, if you have it. Overrides text and gives an exact cost.
reserve_output_tokensintegerno
modelsarray<string>noModel ids to compare, e.g. ["claude-sonnet-5-5", "gpt-6.2-sol", "gemini-3.8-flash"]. Omit to compare every listed model. list_models gives every id.
providersarray<enum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq">noOnly these providers.

count_tokens

Estimate token counts per tokenizer

Estimate how many tokens a text is for each tokenizer family (OpenAI o200k, Claude legacy and 2026, Gemini, DeepSeek, Mistral, Qwen), with an error band. Estimates only; for exact counts use the provider's count endpoint.

ParameterTypeRequiredDescription
textstringnoPrompt text. Counted with an estimator, never stored.
messagesarray<object>noChat messages [{role, content}]. Counted with an estimator, never stored.
modelsarray<string>noModel ids to compare, e.g. ["claude-sonnet-5-5", "gpt-6.2-sol", "gemini-3.8-flash"]. Omit to compare every listed model. list_models gives every id.

list_models

List models with prices and limits

List every model this tool prices, with input, output, cache and batch prices per 1M tokens, context window, max output, source URL and the day the price was checked.

ParameterTypeRequiredDescription
providersarray<enum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq">noOnly these providers.
providerenum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq"noOne provider (same as providers with one item).
min_contextintegerno

get_model_pricing

Get one model's price and limits

Price, context window, long-prompt surcharge, announced price changes and source for one model id.

ParameterTypeRequiredDescription
modelstringyes

send_feedback

Send feedback about this tool

Report a wrong price, a missing model, a bug or an idea. Read by a person. Keep it under 1000 characters and do not include prompts, secrets or personal data (they are scrubbed anyway).

ParameterTypeRequiredDescription
kindenum: "bug" | "wrong-price" | "missing-model" | "idea" | "praise" | "other"no
messagestringyes
modelstringnoModel id the feedback is about, if any.
endpointstringnoTool or endpoint the feedback is about, e.g. plan_agent_run.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://tokenbudget.netlify.app/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http tokenbudget https://tokenbudget.netlify.app/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : tokenbudget ; URL : https://tokenbudget.netlify.app/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : tokenbudget ; Server URL : https://tokenbudget.netlify.app/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "tokenbudget": {
      "url": "https://tokenbudget.netlify.app/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "tokenbudget": {
      "type": "http",
      "url": "https://tokenbudget.netlify.app/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "tokenbudget": {
      "url": "https://tokenbudget.netlify.app/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "tokenbudget": {
      "httpUrl": "https://tokenbudget.netlify.app/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.tokenbudget]
url = "https://tokenbudget.netlify.app/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

TokenBudget · L’Atlas · Tested on

Markdown
[TokenBudget — L’Atlas](https://latlas.dev/en/mcp/io.github.adamhursey/tokenbudget)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.