{"name":"ai-cost-optimizer","protocol":"mcp","transport":"streamable-http","method":"POST","jsonrpc":"2.0","info":"Send POST with JSON-RPC 2.0 body to use MCP tools.","example_body":{"jsonrpc":"2.0","id":1,"method":"initialize"},"tools":[{"name":"cost_tracker","description":"Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out."},{"name":"token_calculator","description":"Calculate cost from token counts for any supported AI model. Stateless — no KV required."},{"name":"budget_alert","description":"Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached."},{"name":"model_breakdown","description":"Analyze costs broken down by model for a given team over a configurable time window."},{"name":"cost_forecast","description":"Forecast future AI spend based on historical usage patterns using daily-average linear projection."}]}