com.unorouter/mcp

السجل الرسمي البحث والويب

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http com-unorouter-mcp 'https://mcp.unorouter.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "com-unorouter-mcp": {
            "type": "http",
            "url": "https://mcp.unorouter.com/mcp"
        }
    }
}
NPM package unorouter-mcp
Claude Code
claude mcp add com-unorouter-mcp -e 'UNOROUTER_API_KEY=<your unorouter_api_key>' -e 'UNOROUTER_BASE_URL=<UNOROUTER_BASE_URL>' -- npx -y unorouter-mcp@0.2.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "com-unorouter-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "unorouter-mcp@0.2.1"
            ],
            "env": {
                "UNOROUTER_API_KEY": "<your unorouter_api_key>",
                "UNOROUTER_BASE_URL": "<UNOROUTER_BASE_URL>"
            }
        }
    }
}

متغيرات البيئة

  • UNOROUTER_API_KEY إلزامي سري UnoRouter API key from https://unorouter.com/token
  • UNOROUTER_BASE_URL Override the API base URL (defaults to https://api.unorouter.com)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. unorouter-mcp
  2. Setup
  3. Environment
  4. Notes
  5. Development

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
{
  "mcpServers": {
    "unorouter": {
      "command": "npx",
      "args": ["-y", "unorouter-mcp"],
      "env": {
        "UNOROUTER_API_KEY": "sk-your-key"
      }
    }
  }
}
Claude Code
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

bun install
bun run build
UNOROUTER_API_KEY=sk-... node dist/index.js

الأسئلة الشائعة

ما هو com.unorouter/mcp؟

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

كيف أثبّت com.unorouter/mcp؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http com-unorouter-mcp 'https://mcp.unorouter.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج com.unorouter/mcp إلى مفتاح API؟

نعم. يتطلب UNOROUTER_API_KEY، وتضبطها في إعداداته.

هل com.unorouter/mcp مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون com.unorouter/mcp؟

ينشره 0-don. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.