TokenZero
sh.tokenzero/mcp
Ledger of record for AI spend: verifiable receipts, waste auditor & model arbitrage MCP.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/tokenzero-ai/tokenzero
- Site
- tokenzero.sh/
- Adresse du serveur
https://api.tokenzero.sh/mcp(streamable-http)- Version
- 0.3.0
- Auteur
- tokenzero.sh (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 5 nov. 2026)
Comment l’installer
Variables à renseigner : TOKENZERO_URL, TOKENZERO_KEY.
Serveur distant (rien à installer)
Claude Code
Dans un terminal :
claude mcp add --transport http mcp https://api.tokenzero.sh/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://api.tokenzero.sh/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://api.tokenzero.sh/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"mcp": {
"url": "https://api.tokenzero.sh/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.tokenzero.sh/mcp"
}
}
}Sur votre machine
Claude Code
Le serveur tourne sur votre machine (paquet npm). Dans un terminal :
claude mcp add mcp -e TOKENZERO_URL=VOTRE_TOKENZERO_URL -e TOKENZERO_KEY=VOTRE_TOKENZERO_KEY -- npx -y @tokenzero/[email protected]Claude Desktop claude_desktop_config.json
Réglages, Développeur, Modifier la configuration, puis ajoutez :
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tokenzero/[email protected]"
],
"env": {
"TOKENZERO_URL": "VOTRE_TOKENZERO_URL",
"TOKENZERO_KEY": "VOTRE_TOKENZERO_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
Dans ~/.cursor/mcp.json :
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@tokenzero/[email protected]"
],
"env": {
"TOKENZERO_URL": "VOTRE_TOKENZERO_URL",
"TOKENZERO_KEY": "VOTRE_TOKENZERO_KEY"
}
}
}
}VS Code .vscode/mcp.json
Dans .vscode/mcp.json :
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tokenzero/[email protected]"
],
"env": {
"TOKENZERO_URL": "VOTRE_TOKENZERO_URL",
"TOKENZERO_KEY": "VOTRE_TOKENZERO_KEY"
}
}
}
}ChatGPT
ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.
Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 10:33 (test fait par L’Atlas)
- Temps de réponse
- 1 547 ms (test complet)
- Outils trouvés
- 6
- Nom annoncé
- tokenzero 0.3.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (6)
try_tokenzero
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 promptaudit_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, andoptimize_prompt_payload
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, thecalculate_model_arbitrage
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, aprovision_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 iworkspace_metrics
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
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/sh.tokenzero/mcp)HTML
<a href="https://lagora.dev/fiche/sh.tokenzero/mcp"><img src="https://lagora.dev/badge/sh.tokenzero/mcp.svg" alt="sh.tokenzero/mcp sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.