L'Atlas / Serveurs MCP / TokenBudget
Serveur MCP

TokenBudget

io.github.adamhursey/tokenbudget

Serveur MCP OK 7 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
adamhursey (espace de noms du registre)
Dépôt
—
Site
—
Version
0.2.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://tokenbudget.netlify.app/mcp Streamable HTTP
Outils
7
Catégories
IA, agents et mémoire, Commerce et marketing
Dernière mise à jour
25 nov. 2026
Publication
25 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.adamhursey/tokenbudget.svg)](https://latlas.dev/mcp/io.github.adamhursey/tokenbudget)
HTML
<a href="https://latlas.dev/mcp/io.github.adamhursey/tokenbudget"><img src="https://latlas.dev/badge/fiche/io.github.adamhursey/tokenbudget.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://tokenbudget.netlify.app/mcp
Dernier résultat
OK 28 nov. 2026, 09:32
Temps de réponse
1 185 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
tokenbudget 0.2.0
Outils
7

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:32OK1 185 ms7

Outils exposés (7, réponse à 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.

ParamètreTypeRequisDescription
textstringnonPrompt text. Counted with an estimator, never stored.
messagesarray<object>nonChat messages [{role, content}]. Counted with an estimator, never stored.
systemstringnonSystem prompt text.
input_tokensintegernonExact input token count, if you have it. Overrides text and gives an exact cost.
output_tokensintegernonExpected output tokens (or the max_tokens you will allow).
cached_input_tokensintegernonHow many input tokens will be read from the prompt cache.
batchbooleannonPrice with the provider's batch API discount where one is listed.
modelsarray<string>nonModel 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">nonOnly these providers.
datestringnonPrice 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.

ParamètreTypeRequisDescription
turnsintegerouiNumber of model calls in the loop.
system_tokensintegernon
tools_tokensintegernonTokens of tool definitions sent every turn.
task_tokensintegernonTokens of the first user message.
output_tokens_per_turnintegernonDefault 800.
tool_result_tokens_per_turnintegernonDefault 1500.
cachebooleannonAssume prompt caching of the previous turn. Default true.
budget_usdnumbernon
modelsarray<string>nonModel 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">nonOnly 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.

ParamètreTypeRequisDescription
textstringnonPrompt text. Counted with an estimator, never stored.
messagesarray<object>nonChat messages [{role, content}]. Counted with an estimator, never stored.
systemstringnonSystem prompt text.
input_tokensintegernonExact input token count, if you have it. Overrides text and gives an exact cost.
reserve_output_tokensintegernon
modelsarray<string>nonModel 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">nonOnly 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.

ParamètreTypeRequisDescription
textstringnonPrompt text. Counted with an estimator, never stored.
messagesarray<object>nonChat messages [{role, content}]. Counted with an estimator, never stored.
modelsarray<string>nonModel 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.

ParamètreTypeRequisDescription
providersarray<enum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq">nonOnly these providers.
providerenum: "anthropic" | "openai" | "google" | "deepseek" | "mistral" | "groq"nonOne provider (same as providers with one item).
min_contextintegernon

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.

ParamètreTypeRequisDescription
modelstringoui

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).

ParamètreTypeRequisDescription
kindenum: "bug" | "wrong-price" | "missing-model" | "idea" | "praise" | "other"non
messagestringoui
modelstringnonModel id the feedback is about, if any.
endpointstringnonTool or endpoint the feedback is about, e.g. plan_agent_run.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

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

Configs prêtes à copier

Adresse distante utilisée : https://tokenbudget.netlify.app/mcp. Formats repris de la documentation de chaque client.

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"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

TokenBudget · L’Atlas · Test du

Markdown
[TokenBudget — L’Atlas](https://latlas.dev/mcp/io.github.adamhursey/tokenbudget)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.