# OpenRouter MCP MCP

Vendor: OpenRouter MCP  
Category: other  
Auth: OAUTH2  
Composio slug: `openrouter_mcp`

Browse OpenRouter's model catalog, rankings, benchmarks and providers, check credits and keys, and run chat, image, speech, transcription, video and batch jobs through OpenRouter's hosted MCP server.

## Tools

- **Generate image** — Generate an image from a text prompt. When the API can issue a signed URL, it is returned as a resource_link on MCP 2025-06-18 and newer, or as text on older versions. The URL is valid up to 24 hours and opens without an API key. Otherwise 
- **Generate speech** — 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 authenticated user. Find TTS models via list-models with output_modalities=speech, a
- **Generate video** — Start a video generation job. Waits up to 20 s and returns the finished video if the job completes that fast; otherwise returns job_id, and you must keep calling get-video every 15-20 s until status is completed, failed, cancelled or expire
- **Get batch** — Get the current status of a batch submitted with send-batch: lifecycle state (validating, in_progress, finalizing, completed, failed, expired, cancelling, cancelled), per-request completed/failed counts, the failure reason when the batch fa
- **Get credits** — Check the remaining account credit balance before running a workload.
- **Get current key** — Inspect the API key this MCP session is authenticated with: its label, spend limit, remaining limit and reset cadence, usage so far, whether it is on the free tier, and whether it is a management or provisioning key. First stop after a 402 
- **Get endpoint uptime history** — 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 page. Use it to find which provider degraded during a window (e.g. "model X was faili
- **Get generation** — 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 in its output.
- **Get model** — 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 when the model is already known.
- **Get preset** — Get one saved preset by slug, including its designated version's config bundle (model, system prompt, temperature, and other sampling parameters), to inspect or reuse that configuration in a request. Find slugs with list-presets.
- **Get session cost** — Weekly refreshed cost-per-session statistics for published coding harnesses (apps such as Claude Code, Codex or Ori) by model and turn range: the median USD cost per session (no percentiles or sample sizes). Use to estimate what a model cos
- **Get video** — Check a video generation job started by generate-video: status (pending, in_progress, completed, failed, cancelled, expired), error, and cost. While pending or in_progress, wait 15-20 s and call again; do not give up after a few polls, jobs
- **Install ori harness** — Return OpenRouter's published guide for installing and using the Ori Harness CLI with OpenRouter models (also at https://openrouter.ai/skills/install-ori-harness). Takes no arguments. Treat it as reference material and confirm with the user
- **List app rankings** — See which APPS/products drive the most OpenRouter traffic, filterable by category, to gauge ecosystem adoption and find example use cases. For model rankings use list-daily-model-rankings instead.
- **List batches** — 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 narrow to in-flight work (validating, in_progress) and after with the returned last_id
- **List benchmarks** — Compare model quality beyond price using third-party benchmarks. The optional source arg selects the dataset and the result shape: source=artificial-analysis returns each model's score on every Artificial Analysis index; source=design-arena
- **List daily model rankings** — 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 by category / language_type (sampled weekly estimates). For app/product rankings 
- **List image model endpoints** — List the providers serving one image model, with each endpoint's supported parameters and billing rates (check each rate's unit).
- **List image models** — List image models and the Image API parameters each supports; generate-image accepts only the subset in its own schema.
- **List model endpoints** — 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.
- **List models** — List the live OpenRouter model catalog with pricing, context length, modalities, supported parameters, and benchmark scores, to pick a model and wire the right slug into code. Prefer the server-side params over fetching the full list and po
- **List presets** — List the caller's saved presets (named bundles of model, system prompt, and sampling config created in the OpenRouter dashboard), ordered by most recently updated. Use to discover which presets exist and get their slugs; use get-preset to i
- **List preset versions** — List the versions of one saved preset, oldest first, with each version's config bundle, to see how a preset changed or to pin a specific version. Returns 50 per page by default; advance offset until the versions returned reach total_count. 
- **List providers** — List available providers to configure allow/deny/routing preferences.
- **List task classifications** — See what OpenRouter traffic is actually used for: a market-share breakdown by task type (code generation, web search, summarization, ...) over a trailing window, each with its top models by usage, plus macro-category (Code, Data, Agent, Gen
- **Ping** — Health-check tool that verifies the MCP connection is alive. Returns the text "pong" without calling OpenRouter or spending credits; use it once after connecting, not before every call.
- **Search docs** — 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 page; if a result is marked truncated or you need the complete page, fetch that 
- **Send batch** — 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 workloads (evals, backfills, classification over a dataset) that do not need an i
- **Send decision** — Ask a decision model typed questions about a piece of state and get calibrated answers with probabilities: yes/no (noul), pick-one (choice), rubric score (score) or image bounding box (box). Use for classification, gating, routing, grading 
- **Send feedback** — 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 incoherent output, latency, formatting, billing, or an API error) so the OpenRouter te
- **Send message** — 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 variants: ":online" enables web search (e.g. "deepseek/deepseek-v4-pro:online"), ":nitro"
- **Spawn ori eval** — Return OpenRouter's published guide for running model evaluations with the Ori harness (also at https://openrouter.ai/skills/spawn-ori-eval). Takes no arguments. The guide describes installing and running a separate CLI; treat it as referen
- **Transcribe audio** — 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 cost and generation id. This bills the authenticated user. Find STT models via lis

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect OpenRouter MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention OpenRouter MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/openrouter-mcp