86trust / 100

Ai Cost Optimizer

by lazy-mac.com in Developer tools

MCP serverPassing, checked 4 h ago

Cloudflare Workers MCP server: ai-cost-optimizer

https://api.lazy-mac.com/ai-cost-optimizer/mcp

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
76 ms typical, 76 ms slowest 5%
Last check
4 h ago
Next check
in 2 h

How to call it

Add it to any MCP client that supports remote servers.

{
  "mcpServers": {
    "ai-cost-optimizer": {
      "type": "http",
      "url": "https://api.lazy-mac.com/ai-cost-optimizer/mcp"
    }
  }
}

5 tools

  • cost_tracker

    Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out.

  • token_calculator

    Calculate cost from token counts for any supported AI model. Stateless — no KV required.

  • budget_alert

    Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached.

  • model_breakdown

    Analyze costs broken down by model for a given team over a configurable time window.

  • cost_forecast

    Forecast future AI spend based on historical usage patterns using daily-average linear projection.

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTime
4 h agoPassed20076 ms