UnoRouter

com.unorouter由 unorouter.com 发布官方发布者v0.2.5更新于 Nov 7, 2026

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

已验证Streamable HTTP可网页运行数据与分析AI 与机器学习

概览

AI 生成的概览

UnoRouter MCP 服务器,让助手用一个密钥检索 200+ 个模型、查询按 token 计价的价格,并向任意模型发送提示词。

可以做什么
  • 检索实时模型目录,可只筛选免费模型,并获取模型 ID
  • 向任意已列出的模型发送单条提示词,返回回复与 token 用量
  • 查询各模型每百万 token 的美元标价
适用场景
适合希望用一个密钥访问多家大模型供应商、比较模型或价格,或在免费模型上快速试跑提示词而无需逐个接入供应商的场景。
运行要求
需要 UnoRouter API 密钥,放在 UNOROUTER_API_KEY 中,可用 Discord 或 GitHub 登录创建(无需银行卡)。可作为远程端点使用,也可通过 npx 作为本地 npm 包运行,本地运行需 Node.js。可选 UNOROUTER_BASE_URL 覆盖 API 基础地址。需要能访问 UnoRouter API 的网络。
安装前请注意
API 密钥属于机密,通过 UNOROUTER_API_KEY 传入,不要写入共享配置。提示词会发送给 UnoRouter 及上游模型供应商,请勿包含敏感数据。付费模型按 token 计费;免费模型有速率限制,约每个模型每分钟一次请求。

安装

在 SourceWeft 中

  1. 打开 控制台中的 UnoRouter,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.unorouter%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "unorouter": {
      "type": "http",
      "url": "https://mcp.unorouter.com/mcp"
    }
  }
}

README

unorouter-mcp

MCP server for UnoRouter, an open-source OpenAI-compatible gateway serving 200+ models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Qwen and more) behind a single API key. Models with a :free suffix cost nothing.

Gives any MCP client (Claude Desktop, Claude Code, Cursor, Windsurf, and friends) three tools:

  • search_models: filter the live catalog, optionally free models only
  • get_pricing: USD per-1M-token list prices from the public pricing endpoint
  • chat: send a prompt to any model and get the reply with token usage

Setup

Create an API key at unorouter.com/token (Discord or GitHub sign-in, no card required).

Claude Desktop / any MCP client

json
{  "mcpServers": {    "unorouter": {      "command": "npx",      "args": ["-y", "unorouter-mcp"],      "env": {        "UNOROUTER_API_KEY": "sk-your-key"      }    }  }}

Claude Code

bash
claude mcp add unorouter -e UNOROUTER_API_KEY=sk-your-key -- npx -y unorouter-mcp

Environment

VariableRequiredDefault
UNOROUTER_API_KEYyesnone
UNOROUTER_BASE_URLnohttps://api.unorouter.com

Notes

  • Free models run on shared pools with a light per-model rate limit (about 1 request per minute per model); rotate between free models or use paid ones for throughput.
  • The whole UnoRouter stack is open source: github.com/unorouter.

Development

bash
bun installbun run buildUNOROUTER_API_KEY=sk-... node dist/index.js

来源:README.md,提交 736991a

工具

3

search_models

Search UnoRouter models

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.

输入参数limitqueryfree_only

chat

Chat with a UnoRouter model

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).

输入参数model必填prompt必填systemmax_tokenstemperature

get_pricing

Get UnoRouter model pricing

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.

输入参数limitquery

版本历史

2
  1. v0.2.5最新Nov 7, 2026
  2. v0.2.1Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。