UnoRouter MCP
Lets your agent list models across every major AI provider, check token prices and run prompts on any of them, free tier included, via one UnoRouter key.
Hosted MCP Server
npx add-mcp 'https://mcp.unorouter.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
unorouter-mcp
MCP server for UnoRouter, an open-source OpenAI-compatible gateway that serves models from every major provider (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 onlyget_pricing: USD per-1M-token list prices from the public pricing endpointchat: 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
| Variable | Required | Default |
|---|---|---|
UNOROUTER_API_KEY | yes | none |
UNOROUTER_BASE_URL | no | https://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