ai-model-router
Cloudflare Workers MCP server: ai-model-router
使うべきか
品質と安全性
B
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~269トークン数(ツール定義)
~725 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.21%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"ai-model-router": {
"url": "https://api.lazy-mac.com/ai-model-router/mcp"
}
}
}リモートエンドポイント
https://api.lazy-mac.com/ai-model-router/mcpstreamable-httpできること
ツール一覧
ツール(3)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"type": "object",
"properties": {}
}コミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 3 件
検証済みバージョンは記録されていませんツール 3 件
検証済みバージョンは記録されていませんツール 3 件