mcp

Search 200+ UnoRouter models (most free), check pricing, and chat through one key

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
91%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~445token 数(工具定义)
~1.0 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.35%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "unorouter-mcp"
      ]
    }
  }
}

可运行的软件包

npmunorouter-mcp0.2.1stdio

远程端点

https://mcp.unorouter.com/mcpstreamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_models(query, free_only, limit)

Search the live UnoRouter model catalog (200+ models behind one OpenAI-compatible key). Models ending in :free cost nothing. Returns matching model IDs usable with the chat tool or any OpenAI-compatible client pointed at https://api.unorouter.com/v1.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Substring filter on the model id, e.g. 'deepseek' or 'claude'",
      "type": "string"
    },
    "free_only": {
      "description": "Only return :free models",
      "type": "boolean"
    },
    "limit": {
      "description": "Max results, default 50",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡chat(model, prompt, system, max_tokens, temperature)

Send a single prompt to any UnoRouter model and return the reply. Use search_models to find model IDs; :free models cost nothing (light per-model rate limit, rotate models if you hit 429).

输入模式

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Model id, e.g. deepseek-v4-flash:free"
    },
    "prompt": {
      "type": "string",
      "description": "The user prompt"
    },
    "system": {
      "description": "Optional system prompt",
      "type": "string"
    },
    "max_tokens": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32768
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "maximum": 2
    }
  },
  "required": [
    "model",
    "prompt"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_pricing(query, limit)

Look up per-token pricing for UnoRouter models from the public pricing endpoint. Prices are USD list prices per 1M tokens before per-group discounts (the account dashboard shows the exact effective rate). :free models are always 0.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Substring filter on the model name",
      "type": "string"
    },
    "limit": {
      "description": "Max results, default 25",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具