# OpenRouter MCP MCP Server

> **OpenRouter MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to OpenRouter MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/openrouter-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

OpenRouter provides a unified interface for AI agents to discover available language models, compare pricing and context limits, inspect model capabilities, and route inference requests across multiple AI providers through a single API.

---

## Details

- Server ID: `openrouter-mcp`
- Version: 0.0.2
- Tools: 25
- Authentication: OAuth, managed by MewCP
- Calls served: 10
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — OpenRouter MCP has to be in the toolset
first. In order:

1. Add OpenRouter MCP to your toolset at https://mewcp.com/mcp/openrouter-mcp
2. Connect your OpenRouter MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If OpenRouter MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `openrouter-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (25)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `list-benchmarks` _(read)_ — Compare model quality beyond price using third-party benchmarks. The optional source arg selects the dataset and the result shape: source=artificial-analysis…
- `list-task-classifications` _(read)_ — See what OpenRouter traffic is actually used for: a market-share breakdown by task type (code generation, web search, summarization, ...) over a trailing…
- `get-credits` _(read)_ — Check the remaining account credit balance before running a workload.
- `list-app-rankings` _(read)_ — See which APPS/products drive the most OpenRouter traffic, filterable by category, to gauge ecosystem adoption and find example use cases. For model rankings…
- `list-daily-model-rankings` _(read)_ — See which MODELS are most used and trending by token volume, to pick a proven model. Optionally slice by period (day/week/month), modality, context_bucket, or…
- `list-model-endpoints` _(read)_ — See which providers serve a given model and at what price, latency, throughput, and data-policy status, to choose routing or debug a slow provider.
- `get-generation` _(read)_ — Inspect cost, token counts, and serving provider for a specific generation id, to debug spend and routing. send-message returns the generation id of each call…
- `send-feedback` _(write)_ — Submit structured feedback on a specific generation the caller made — a category plus an optional comment. Use after a generation had a problem (wrong or…
- `get-model` _(read)_ — Get full details for one model by author/slug (supports :variant suffixes and slug aliases) without fetching the whole catalog. Use this instead of list-models…
- `list-models` _(read)_ — List the live OpenRouter model catalog with pricing, context length, modalities, supported parameters, and benchmark scores, to pick a model and wire the right…
- `list-presets` _(read)_ — List the caller's saved presets (named bundles of model, system prompt, and sampling config created in the OpenRouter dashboard), ordered by most recently…
- `get-preset` _(read)_ — Get one saved preset by slug, including its designated version's config bundle (model, system prompt, temperature, and other sampling parameters), to inspect…
- `list-providers` _(read)_ — List available providers to configure allow/deny/routing preferences.
- `ping` _(read)_ — Health-check tool that verifies the MCP connection is alive.
- `search-docs` _(read)_ — Search the full OpenRouter documentation to answer "how do I…" questions with correct, current API usage. Each result includes a "View docs" link to the source…
- `send-message` _(write)_ — Chat with a model and get its plain-text response, to test a prompt or compare models without leaving the editor. Model slug suffixes activate routing…
- `generate-image` _(write)_ — Generate an image from a text prompt and return it inline. The image is sent back as an image content block: clients that render images (e.g. desktop apps)…
- `transcribe-audio` _(write)_ — Transcribe speech from an audio file to text. Pass exactly one of audio_url (preferred; fetched server-side) or audio_base64. Returns the transcript plus the…
- `generate-speech` _(write)_ — Synthesize speech from text and return it inline as an audio content block (clients that can play audio render it; not all MCP clients can). This bills the…
- `spawn-ori-eval` _(read)_ — Get the instructions for running a model eval with Ori, then follow them. Ori runs the user's own agent on their own prompts, on a pinned harness and model,…
- `get-endpoint-uptime-history` _(read)_ — Get the hourly uptime history of every provider endpoint serving a model over the last 72 hours — the same per-provider uptime timeline shown on the model…
- `install-ori-harness` _(read)_ — Get the instructions for installing and using Ori Harness, then follow them. Call this tool FIRST when the user asks to install Ori, run their existing coding…
- `send-batch` _(write)_ — Submit many inference requests as one asynchronous batch (Batch API) at discounted batch pricing with results within a 24-hour window. Use it for offline/bulk…
- `get-batch` _(read)_ — Get the current status of a batch submitted with send-batch: lifecycle state (validating, in_progress, finalizing, completed, failed, expired, cancelling,…
- `list-batches` _(read)_ — List batches in the workspace of the authenticating API key, newest first, with id, status, model, and per-request completed/failed counts. Use status to…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/openrouter-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/openrouter-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/openrouter-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/openrouter-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/openrouter-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/openrouter-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/openrouter-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/openrouter-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/openrouter-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/openrouter-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/openrouter-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/openrouter-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/openrouter-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/openrouter-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/openrouter-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/openrouter-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/openrouter-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/openrouter-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/openrouter-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/openrouter-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/openrouter-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/openrouter-mcp/connect/junie
- Amp: https://mewcp.com/mcp/openrouter-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/openrouter-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/openrouter-mcp/connect/goose
- Python: https://mewcp.com/mcp/openrouter-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/openrouter-mcp/connect/typescript