ai-cost-optimizer
io.github.lazymac2x/ai-cost-optimizer
Serveur MCP OK 5 outils
Cloudflare Workers MCP server: ai-cost-optimizer
Fiche technique
- Auteur
- lazymac2x (espace de noms du registre)
- Dépôt
- github.com/lazymac2x/ai-cost-optimizer-api
- Site
- —
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.lazy-mac.com/ai-cost-optimizer/mcp Streamable HTTP
- Outils
- 5
- Catégories
- Cloud et infrastructure
- Comparatifs
- Serveurs MCP pour Cloudflare
- Dernière mise à jour
- 16 mai 2026
- Publication
- 16 mai 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.lazymac2x/ai-cost-optimizer)<a href="https://latlas.dev/mcp/io.github.lazymac2x/ai-cost-optimizer"><img src="https://latlas.dev/badge/statut/mcp/io.github.lazymac2x/ai-cost-optimizer.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.lazymac2x/ai-cost-optimizer)<a href="https://latlas.dev/mcp/io.github.lazymac2x/ai-cost-optimizer"><img src="https://latlas.dev/badge/fiche/io.github.lazymac2x/ai-cost-optimizer.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://api.lazy-mac.com/ai-cost-optimizer/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:57
- Temps de réponse
- 249 ms (initialize + tools/list)
- Version du protocole
- 2024-11-05
- Nom annoncé
- ai-cost-optimizer 2.0.0
- Outils
- 5
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:57 | OK | 249 ms | 5 |
Outils exposés (5, réponse à tools/list, 28 nov. 2026)
cost_tracker
Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "record" | "get" | oui | "record" to log a call, "get" to retrieve recent records |
| model | string | non | Model ID (e.g., claude-3-5-sonnet-20241022, gpt-4o, gemini-2.0-flash) |
| inputTokens | number | non | Number of input/prompt tokens consumed |
| outputTokens | number | non | Number of output/completion tokens generated |
| team | string | non | Team or project identifier (default: "default") |
| metadata | object | non | Optional key-value metadata (request ID, user, feature flag, etc.) |
token_calculator
Calculate cost from token counts for any supported AI model. Stateless — no KV required.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | Model ID to price |
| inputTokens | number | oui | Input token count |
| outputTokens | number | oui | Output token count |
budget_alert
Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "set" | "check" | oui | "set" to configure a budget, "check" to get current status |
| team | string | non | Team identifier |
| budgetLimit | number | non | USD budget cap |
| threshold | number | non | Alert threshold percentage 0–100 (default: 80) |
model_breakdown
Analyze costs broken down by model for a given team over a configurable time window.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team | string | non | Team identifier |
| days | number | non | Lookback window in days (default: 30) |
cost_forecast
Forecast future AI spend based on historical usage patterns using daily-average linear projection.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| team | string | non | Team identifier |
| forecastDays | number | non | Days to project ahead (default: 7) |
| historicalDays | number | non | Days of history to base the forecast on (default: 30) |
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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.lazy-mac.com/ai-cost-optimizer/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http ai-cost-optimizer https://api.lazy-mac.com/ai-cost-optimizer/mcpCustomize > Connectors > + Add > Add custom connector ; Name : ai-cost-optimizer ; URL : https://api.lazy-mac.com/ai-cost-optimizer/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : ai-cost-optimizer ; Server URL : https://api.lazy-mac.com/ai-cost-optimizer/mcp ; Create as a plugin{
"mcpServers": {
"ai-cost-optimizer": {
"url": "https://api.lazy-mac.com/ai-cost-optimizer/mcp"
}
}
}{
"mcpServers": {
"ai-cost-optimizer": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-cost-optimizer/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"ai-cost-optimizer": {
"url": "https://api.lazy-mac.com/ai-cost-optimizer/mcp"
}
}
}{
"mcpServers": {
"ai-cost-optimizer": {
"httpUrl": "https://api.lazy-mac.com/ai-cost-optimizer/mcp"
}
}
}[mcp_servers.ai-cost-optimizer]
url = "https://api.lazy-mac.com/ai-cost-optimizer/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é.
ai-cost-optimizer · L’Atlas · Test du
[ai-cost-optimizer — L’Atlas](https://latlas.dev/mcp/io.github.lazymac2x/ai-cost-optimizer)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.