ai-model-router
Cloudflare Workers MCP server: ai-model-router
Should I use this
Quality & Safety
B
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~269Tokens (tool definitions)
~725 BTypical response size
Minimal attention impact (0.21% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"ai-model-router": {
"url": "https://api.lazy-mac.com/ai-model-router/mcp"
}
}
}Remote endpoints
https://api.lazy-mac.com/ai-model-router/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢route_model(prompt, task_type, max_cost_usd, prefer_provider, prefer_tier, ...)
Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Task description for auto-classification"
},
"task_type": {
"type": "string",
"enum": [
"code",
"analysis",
"creative",
"summarize",
"classify",
"reason",
"vision",
"chat",
"general"
]
},
"max_cost_usd": {
"type": "number",
"description": "Max budget in USD per call"
},
"prefer_provider": {
"type": "string",
"enum": [
"openai",
"anthropic",
"google"
]
},
"prefer_tier": {
"type": "string",
"enum": [
"economy",
"standard",
"premium"
]
},
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
}
}⚪compare_models(prompt, task_type, input_tokens, output_tokens)
Compare cost and task fit across all supported AI models for a given prompt or token count.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"task_type": {
"type": "string"
},
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
}
}🟢list_models
List all supported AI models with pricing and capabilities.
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence
Recent observations
verifiedversion not recorded3 tools
verifiedversion not recorded3 tools
verifiedversion not recorded3 tools