mcpField
A
ai-cost-optimizer

ai-cost-optimizer

Remote
github.com/lazymac2xAI & Agents0Updated 24w ago
Repository

About ai-cost-optimizer

Cloudflare Workers MCP server: ai-cost-optimizer

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.lazy-mac.com/ai-cost-optimizer/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

5
ParameterTypeRequiredDescription
teamstringNoTeam or project identifier (default: "default")
modelstringNoModel ID (e.g., claude-3-5-sonnet-20241022, gpt-4o, gemini-2.0-flash)
actionenumYes"record" to log a call, "get" to retrieve recent recordsrecord | get
metadataobjectNoOptional key-value metadata (request ID, user, feature flag, etc.)
inputTokensnumberNoNumber of input/prompt tokens consumed
outputTokensnumberNoNumber of output/completion tokens generated

Details

From the project README

ai-cost-optimizer-api

Cloudflare Workers MCP server: ai-cost-optimizer. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/ai-cost-optimizer

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.