Unorouter MCP server
{
"mcpServers": {
"unorouter": {
"command": "npx",
"args": [
"-y",
"unorouter-mcp@latest",
"unorouter-mcp"
],
"env": {
"UNOROUTER_API_KEY": "<unorouter_api_key>",
"UNOROUTER_BASE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"unorouter": {
"command": "npx",
"args": [
"-y",
"unorouter-mcp@latest",
"unorouter-mcp"
],
"env": {
"UNOROUTER_API_KEY": "<unorouter_api_key>",
"UNOROUTER_BASE_URL": "https://..."
}
}
}
}{
"mcpServers": {
"unorouter": {
"command": "npx",
"args": [
"-y",
"unorouter-mcp@latest",
"unorouter-mcp"
],
"env": {
"UNOROUTER_API_KEY": "<unorouter_api_key>",
"UNOROUTER_BASE_URL": "https://..."
}
}
}
}{
"servers": {
"unorouter": {
"command": "npx",
"args": [
"-y",
"unorouter-mcp@latest",
"unorouter-mcp"
],
"env": {
"UNOROUTER_API_KEY": "${input:unorouter_api_key}",
"UNOROUTER_BASE_URL": "${input:unorouter_base_url}"
}
}
},
"inputs": [
{
"id": "unorouter_api_key",
"type": "promptString",
"description": "Unorouter api key",
"password": true
},
{
"id": "unorouter_base_url",
"type": "promptString",
"description": "Unorouter base url",
"password": true
}
]
}{
"mcpServers": {
"unorouter": {
"command": "npx",
"args": [
"-y",
"unorouter-mcp@latest",
"unorouter-mcp"
],
"env": {
"UNOROUTER_API_KEY": "<unorouter_api_key>",
"UNOROUTER_BASE_URL": "https://..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y unorouter-mcpversion 0.2.1
What it does
This server connects to UnoRouter, a gateway that provides access to 200+ language models (including Claude, GPT, Gemini, DeepSeek, and others) through a single API key. It lets you search the model catalog, check pricing, and send chat requests to any available model.
- Search and filter available models in the UnoRouter catalog, including identifying free-tier options
- Check current pricing for models to understand costs before using them
- Send prompts to any UnoRouter model and receive responses with token usage information
Tools this server exposes
| Tool | Does |
|---|---|
| search_models | Filter the live UnoRouter model catalog, optionally showing only free models |
| get_pricing | Get USD per-1M-token pricing for models from the public pricing endpoint |
| chat | Send a prompt to any UnoRouter model and receive the response with token usage counts |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.