MCP Server Setup Guide
Give any MCP client live access to UnoRouter: search the model catalog, check pricing, and chat with any model.
Overview
unorouter-mcp is an npm package that runs as an MCP server over stdio, listed in the MCP registry as com.unorouter/mcp. It exposes three tools: search_models filters the live catalog and takes a free_only option, get_pricing returns USD list prices per 1M tokens, and chat sends a prompt to any model. Source: github.com/0-don/unorouter-mcp.
Quick Config
Paste these into the client. Your key auto-fills when signed in.
Base URL: https://api.unorouter.com/v1
API Key: YOUR_API_KEYCompatibility
Step-by-step setup
- 1Get an API key
Create a key at unorouter.com/token. The server reads UNOROUTER_API_KEY. UNOROUTER_BASE_URL is an optional endpoint override.
bashUNOROUTER_API_KEY=YOUR_API_KEY UNOROUTER_BASE_URL=https://api.unorouter.com/v1 - 2Add the server to Claude Desktop
Add this block to your Claude Desktop config file. npx fetches unorouter-mcp on first run, so there is nothing to install.
json{ "mcpServers": { "unorouter": { "command": "npx", "args": ["-y", "unorouter-mcp"], "env": { "UNOROUTER_API_KEY": "YOUR_API_KEY" } } } } - 3Or register it in Claude Code
One command registers the server with your key.
bashclaude mcp add unorouter -e UNOROUTER_API_KEY=YOUR_API_KEY -- npx -y unorouter-mcp - 4Use the tools
Ask your client to find a model, compare prices, or send a prompt. It calls search_models, get_pricing, and chat as needed. Any MCP client that speaks stdio works.
textsearch_models filter the live catalog (free_only option) get_pricing USD list prices per 1M tokens chat send a prompt to any model
Recommended models
Free models that work here. Paste any model id into the client.
Gotchas
- Models with the :free suffix cost nothing and are limited to about 1 request per minute each.
- UNOROUTER_API_KEY is required. Set UNOROUTER_BASE_URL only to point at a different endpoint.
- Registry-aware MCP clients can install by registry name com.unorouter/mcp instead of the npx command.