OpenRouter MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenRouter MCP Serverfind a model under $1 per 1M tokens with at least 100k context"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenRouter MCP Server
A production-shaped Model Context Protocol server for OpenRouter, built by 7Block Labs. It turns OpenRouter's API into a first-party, agent-native surface: any MCP client (Claude, ChatGPT, Cursor, agent frameworks) can browse the model catalog, compare pricing, pick a model by budget/context, and run completions — metered to the caller's own key.
Built for the OpenRouter team as a working example of the official MCP server we'd ship & launch for you
(listed in Claude + ChatGPT, with OAuth + per-plan metering). Catalog tools are keyless (OpenRouter's
/models is public), so you can run it right now:
python -m venv .venv && source .venv/bin/activate && pip install -e .
python -m or_mcp.server # stdio (Claude Desktop / Cursor)
TRANSPORT=http PORT=8000 python -m or_mcp.server # remote (Streamable HTTP)
# completions: export OPENROUTER_API_KEY=... (billed to that account — the metering seam)Claude Code: claude mcp add --transport http openrouter http://localhost:8000/mcp
Tools
Tool | What it does | Key? |
| Browse the catalog (filter by name) | no |
| Rank models by cost (USD/1M tokens) | no |
| Pick by budget + min context window | no |
| Run a completion (metered to the caller) | yes |
Related MCP server: GPTProto MCP
Why first-party > community wrappers
Several community MCP wrappers of OpenRouter already exist — unmetered, unversioned, outside your control. A first-party server (task-shaped tools, OAuth, usage metering, directory listings) makes agents paying, governed users. That's what 7Block Labs builds for data & API companies.
MIT licensed.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
MCP commerce surface for compute credits, API keys, GPU instances, and cloud storage.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to search the Rapid Router model catalog, view prices in USD and INR, send chat completions, and check credit balances through an OpenAI-compatible API.MIT

GPTProto MCPofficial
AlicenseAqualityCmaintenanceEnables AI hosts to discover GPTProto models, retrieve live pricing, make documented API requests, submit custom generations, and poll asynchronous tasks through local MCP tools.99 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to browse a live catalog of 100+ models with pricing, rankings and measured uptime, check credits and spend, and send chat completions through an OAuth-authenticated, per-connection key capped by a spend limit. Read tools are free, and paid calls are priced and approved before any credit is used.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to discover and inspect available open models, estimate token costs, and run chat completions through an OpenAI-compatible inference endpoint, with optional bearer-key authentication for billed calls.Apache 2.0