io.github.lazymac2x/ai-model-router is an MCP server published by io.github.lazymac2x, hosted at api.lazy-mac.com. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 3 tools, including route_model, compare_models, list_models.
Cloudflare Workers MCP server: ai-model-router
160 connections through 5 shared values. Tap any node.
Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.
| Parameter | Type | Description |
|---|---|---|
| prompt | string | Task description for auto-classification |
| task_type | string | one of ["code","analysis","creative","summarize","classify","reason","vision","chat","general"] |
| prefer_tier | string | one of ["economy","standard","premium"] |
| input_tokens | integer | |
| max_cost_usd | number | Max budget in USD per call |
| output_tokens | integer | |
| prefer_provider | string |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| one of ["openai","anthropic","google"] |
{
"name": "route_model",
"description": "Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Task description for auto-classification"
},
"task_type": {
"enum": [
"code",
"analysis",
"creative",
"summarize",
"classify",
"reason",
"vision",
"chat",
"general"
],
"type": "string"
},
"prefer_tier": {
"enum": [
"economy",
"standard",
"premium"
],
"type": "string"
},
"input_tokens": {
"type": "integer"
},
"max_cost_usd": {
"type": "number",
"description": "Max budget in USD per call"
},
"output_tokens": {
"type": "integer"
},
"prefer_provider": {
"enum": [
"openai",
"anthropic",
"google"
],
"type": "string"
}
}
}
}Compare cost and task fit across all supported AI models for a given prompt or token count.
| Parameter | Type | Description |
|---|---|---|
| prompt | string | |
| task_type | string | |
| input_tokens | integer | |
| output_tokens | integer |
{
"name": "compare_models",
"description": "Compare cost and task fit across all supported AI models for a given prompt or token count.",
"inputSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"task_type": {
"type": "string"
},
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
}
}
}List all supported AI models with pricing and capabilities.
No parameters.
{
"name": "list_models",
"description": "List all supported AI models with pricing and capabilities.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.