ai-cost-optimizer
io.github.lazymac2x/ai-cost-optimizer
MCP server OK 5 tools
Cloudflare Workers MCP server: ai-cost-optimizer
Technical sheet
- Author
- lazymac2x (registry namespace)
- Repository
- github.com/lazymac2x/ai-cost-optimizer-api
- Site
- —
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.lazy-mac.com/ai-cost-optimizer/mcp Streamable HTTP
- Tools
- 5
- Categories
- Cloud and infrastructure
- Comparisons
- MCP servers for Cloudflare
- Last updated
- 16 May 2026
- Published
- 16 May 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: 1 (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
[](https://latlas.dev/en/mcp/io.github.lazymac2x/ai-cost-optimizer)<a href="https://latlas.dev/en/mcp/io.github.lazymac2x/ai-cost-optimizer"><img src="https://latlas.dev/badge/statut/mcp/io.github.lazymac2x/ai-cost-optimizer.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.lazymac2x/ai-cost-optimizer)<a href="https://latlas.dev/en/mcp/io.github.lazymac2x/ai-cost-optimizer"><img src="https://latlas.dev/badge/fiche/io.github.lazymac2x/ai-cost-optimizer.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://api.lazy-mac.com/ai-cost-optimizer/mcp
- Last result
- OK 28 Nov 2026, 10:57
- Response time
- 249 ms (initialize + tools/list)
- Protocol version
- 2024-11-05
- Announced name
- ai-cost-optimizer 2.0.0
- Tools
- 5
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:57 | OK | 249 ms | 5 |
Exposed tools (5, from 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "record" | "get" | yes | "record" to log a call, "get" to retrieve recent records |
| model | string | no | Model ID (e.g., claude-3-5-sonnet-20241022, gpt-4o, gemini-2.0-flash) |
| inputTokens | number | no | Number of input/prompt tokens consumed |
| outputTokens | number | no | Number of output/completion tokens generated |
| team | string | no | Team or project identifier (default: "default") |
| metadata | object | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | yes | Model ID to price |
| inputTokens | number | yes | Input token count |
| outputTokens | number | yes | Output token count |
budget_alert
Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "set" | "check" | yes | "set" to configure a budget, "check" to get current status |
| team | string | no | Team identifier |
| budgetLimit | number | no | USD budget cap |
| threshold | number | no | Alert threshold percentage 0–100 (default: 80) |
model_breakdown
Analyze costs broken down by model for a given team over a configurable time window.
| Parameter | Type | Required | Description |
|---|---|---|---|
| team | string | no | Team identifier |
| days | number | no | Lookback window in days (default: 30) |
cost_forecast
Forecast future AI spend based on historical usage patterns using daily-average linear projection.
| Parameter | Type | Required | Description |
|---|---|---|---|
| team | string | no | Team identifier |
| forecastDays | number | no | Days to project ahead (default: 7) |
| historicalDays | number | no | Days of history to base the forecast on (default: 30) |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.lazy-mac.com/ai-cost-optimizer/mcp. Formats taken from each client’s documentation.
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"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.
ai-cost-optimizer · L’Atlas · Tested on
[ai-cost-optimizer — L’Atlas](https://latlas.dev/en/mcp/io.github.lazymac2x/ai-cost-optimizer)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.