# ai-cost-optimizer MCP server

Cloudflare Workers MCP server: ai-cost-optimizer

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-lazymac2x-ai-cost-optimizer
- Repository: https://github.com/lazymac2x/ai-cost-optimizer-api

## Install
- Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp

## Tools
- cost_tracker - Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out. Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp
- token_calculator - Calculate cost from token counts for any supported AI model. Stateless — no KV required. Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp
- budget_alert - Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached. Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp
- model_breakdown - Analyze costs broken down by model for a given team over a configurable time window. Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp
- cost_forecast - Forecast future AI spend based on historical usage patterns using daily-average linear projection. Endpoint: https://api.lazy-mac.com/ai-cost-optimizer/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.lazymac2x
- Version: 1.0.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 16, 2026
- Source: https://registry.modelcontextprotocol.io
