{"name":"io.github.lazymac2x/ai-cost-optimizer","slug":"lazymac2x-ai-cost-optimizer","title":null,"description":"Cloudflare Workers MCP server: ai-cost-optimizer","url":"https://mcp.market/server/lazymac2x-ai-cost-optimizer","rating":null,"grade":"B","score":79,"certified":false,"status":"active","category":"devtools","tags":["devtools"],"presence":{"score":11,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-05-17T02:57:17.000Z","license":null},"uptime":{"percent":100,"checks":28,"ok":28,"last_checked_at":"2026-11-04T06:05:42.147Z","last_ok_at":"2026-11-04T06:05:42.147Z","latency_ms":22},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/lazymac2x/ai-cost-optimizer-api","website":null,"version":"1.0.0","remotes":[{"type":"streamable-http","url":"https://api.lazy-mac.com/ai-cost-optimizer/mcp"}],"packages":[],"tools":[{"name":"budget_alert","description":"Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"action":{"type":"string","enum":["set","check"],"description":"\"set\" to configure a budget, \"check\" to get current status"},"team":{"type":"string","description":"Team identifier"},"budgetLimit":{"type":"number","description":"USD budget cap"},"threshold":{"type":"number","description":"Alert threshold percentage 0–100 (default: 80)"}},"required":["action"]}},{"name":"cost_forecast","description":"Forecast future AI spend based on historical usage patterns using daily-average linear projection.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"team":{"type":"string","description":"Team identifier"},"forecastDays":{"type":"number","description":"Days to project ahead (default: 7)"},"historicalDays":{"type":"number","description":"Days of history to base the forecast on (default: 30)"}}}},{"name":"cost_tracker","description":"Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"action":{"type":"string","enum":["record","get"],"description":"\"record\" to log a call, \"get\" to retrieve recent records"},"model":{"type":"string","description":"Model ID (e.g., claude-3-5-sonnet-20241022, gpt-4o, gemini-2.0-flash)"},"inputTokens":{"type":"number","description":"Number of input/prompt tokens consumed"},"outputTokens":{"type":"number","description":"Number of output/completion tokens generated"},"team":{"type":"string","description":"Team or project identifier (default: \"default\")"},"metadata":{"type":"object","description":"Optional key-value metadata (request ID, user, feature flag, etc.)"}},"required":["action"]}},{"name":"model_breakdown","description":"Analyze costs broken down by model for a given team over a configurable time window.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"team":{"type":"string","description":"Team identifier"},"days":{"type":"number","description":"Lookback window in days (default: 30)"}}}},{"name":"token_calculator","description":"Calculate cost from token counts for any supported AI model. Stateless — no KV required.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"model":{"type":"string","description":"Model ID to price"},"inputTokens":{"type":"number","description":"Input token count"},"outputTokens":{"type":"number","description":"Output token count"}},"required":["model","inputTokens","outputTokens"]}}],"scan":{"score":79,"grade":"B","scanned_at":"2026-09-27T21:28:52.323Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T21:28:52.316Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 105ms"]},"poisoning":{"score":15,"max":15,"notes":["5 tool descriptions checked"]},"auth":{"score":10,"max":15,"notes":["open endpoint, read-only tools"]},"maintenance":{"score":8,"max":15,"notes":["last push 134 days ago"]},"identity":{"score":6,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"probes":[{"url":"https://api.lazy-mac.com/ai-cost-optimizer/mcp","reachable":true,"authRequired":false,"latencyMs":105,"serverInfo":{"name":"ai-cost-optimizer","version":"2.0.0"}}],"packages":[],"repo":{"found":true,"owner":"lazymac2x","repo":"ai-cost-optimizer-api","archived":false,"pushedAt":"2026-05-17T02:57:17Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/260050638?v=4","ownerCreatedAt":"2026-02-07T11:25:03Z"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":null,"lastPushAt":"2026-05-17T02:57:17.000Z","score":11}}}},"grade_history":[],"reviews":[]}