Skip to main content
MCP server CX Codex

OrcaRouter — Claude Code MCP server: what it does, how to install

Connects agents to a catalog of 160+ models and routes completions through fallback chains directly in your editor.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env ORCAROUTER_API_KEY=<ORCAROUTER_API_KEY> --env ORCAROUTER_BASE_URL=<ORCAROUTER_BASE_URL> --env ORCAROUTER_REQUEST_TIMEOUT=<ORCAROUTER_REQUEST_TIMEOUT> --transport stdio orcarouter -- npx -y @orcarouter/mcp
Open on GitHub

What OrcaRouter does

This server connects developer clients directly to the OrcaRouter gateway. Tools such as orcarouter_models_list and orcarouter_model_card fetch live pricing, context window limits, and latency figures. Catalog inspection requires no account token.

Executing prompts with orcarouter_chat routes completions through specific endpoints or the orcarouter/auto selector. That selector balances cost, quality, or adaptive scoring while supporting fallback lists of up to 4 backup models.

Node.js 18 or higher must be present on your host. If ORCAROUTER_API_KEY is omitted, prompt calls immediately fail, though model lookup commands remain active.

What it helps with

  • compare live LLM rates and context limits across multiple hosts
  • configure automated model failover with up to 4 fallbacks
  • route prompts through adaptive selection algorithms
  • inspect model latency and supported endpoints before querying

Example prompts for the agent

  • List all available Anthropic models and their prices
  • Retrieve the detailed card for model minimax/minimax-m2.7
  • Ask orcarouter/auto to explain quantum computing principles

How to install OrcaRouter

Platform CLI

claude mcp add --env ORCAROUTER_API_KEY=<ORCAROUTER_API_KEY> --env ORCAROUTER_BASE_URL=<ORCAROUTER_BASE_URL> --env ORCAROUTER_REQUEST_TIMEOUT=<ORCAROUTER_REQUEST_TIMEOUT> --transport stdio orcarouter -- npx -y @orcarouter/mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about OrcaRouter

How to install OrcaRouter in Claude Code?

Run claude mcp add orcarouter-mcp -e ORCAROUTER_API_KEY=<ORCAROUTER_API_KEY> -- npx -y @orcarouter/mcp in your terminal.

What does OrcaRouter do?

It exposes tools to inspect model metrics, search providers, and execute chat completions with automated failover.

Is an API key required to browse models?

Catalog lookup works freely without any token. You only need to set ORCAROUTER_API_KEY when executing chat prompts through orcarouter_chat.

Similar MCP servers

All MCP servers for AI and ML →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor