OpenRouter MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: Kyma API MCP Server
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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
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.917 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 gradedqualityCmaintenanceEnables 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.561 npmApache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude and Cursor to list available AI models, generate video, image, and text outputs, and check video job status through a single prepaid API key.47 npmMIT