OpenRouter
Rank #24,965io.github.tsilva/mcp-openrouter
MCP server providing access to 300+ AI models via OpenRouter
What you can do with OpenRouter
OpenRouter is a Model Context Protocol (MCP) server published by tsilva. It ranks #24,965 of 168,415 active servers on MCP Toplist, and its repository has 1 GitHub stars. OpenRouter is listed across 3 registries — Official MCP, PulseMCP and Glama, with 1 tracked version. It was first listed on Jan 26, 2026 and most recently updated on Apr 29, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What OpenRouter can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using OpenRouter
The registry listing declares required configuration before first use — typically an API key, token or connection string set via environment variables.
Declared by Glama, last synced Nov 4, 2026. Not independently verified by MCP Toplist.
- OPENROUTER_API_KEY · required
- DEFAULT_TEXT_MODEL · optional
- DEFAULT_IMAGE_MODEL · optional
- DEFAULT_CODE_MODEL · optional
- DEFAULT_VISION_MODEL · optional
- DEFAULT_EMBEDDING_MODEL · optional
Connect OpenRouter and confirm it works
claude mcp add mcp-openrouter -e "OPENROUTER_API_KEY=<your OPENROUTER_API_KEY>" -e "DEFAULT_TEXT_MODEL=<your DEFAULT_TEXT_MODEL>" -e "DEFAULT_IMAGE_MODEL=<your DEFAULT_IMAGE_MODEL>" -e "DEFAULT_CODE_MODEL=<your DEFAULT_CODE_MODEL>" -e "DEFAULT_VISION_MODEL=<your DEFAULT_VISION_MODEL>" -e "DEFAULT_EMBEDDING_MODEL=<your DEFAULT_EMBEDDING_MODEL>" -- uvx mcp-openrouterReplace each placeholder with your own value before saving.
[mcp_servers.mcp-openrouter]
command = "uvx"
args = ["mcp-openrouter"]
[mcp_servers.mcp-openrouter.env]
OPENROUTER_API_KEY = "<your OPENROUTER_API_KEY>"
DEFAULT_TEXT_MODEL = "<your DEFAULT_TEXT_MODEL>"
DEFAULT_IMAGE_MODEL = "<your DEFAULT_IMAGE_MODEL>"
DEFAULT_CODE_MODEL = "<your DEFAULT_CODE_MODEL>"
DEFAULT_VISION_MODEL = "<your DEFAULT_VISION_MODEL>"
DEFAULT_EMBEDDING_MODEL = "<your DEFAULT_EMBEDDING_MODEL>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "<your OPENROUTER_API_KEY>",
"DEFAULT_TEXT_MODEL": "<your DEFAULT_TEXT_MODEL>",
"DEFAULT_IMAGE_MODEL": "<your DEFAULT_IMAGE_MODEL>",
"DEFAULT_CODE_MODEL": "<your DEFAULT_CODE_MODEL>",
"DEFAULT_VISION_MODEL": "<your DEFAULT_VISION_MODEL>",
"DEFAULT_EMBEDDING_MODEL": "<your DEFAULT_EMBEDDING_MODEL>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "<your OPENROUTER_API_KEY>",
"DEFAULT_TEXT_MODEL": "<your DEFAULT_TEXT_MODEL>",
"DEFAULT_IMAGE_MODEL": "<your DEFAULT_IMAGE_MODEL>",
"DEFAULT_CODE_MODEL": "<your DEFAULT_CODE_MODEL>",
"DEFAULT_VISION_MODEL": "<your DEFAULT_VISION_MODEL>",
"DEFAULT_EMBEDDING_MODEL": "<your DEFAULT_EMBEDDING_MODEL>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-openrouter": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "<your OPENROUTER_API_KEY>",
"DEFAULT_TEXT_MODEL": "<your DEFAULT_TEXT_MODEL>",
"DEFAULT_IMAGE_MODEL": "<your DEFAULT_IMAGE_MODEL>",
"DEFAULT_CODE_MODEL": "<your DEFAULT_CODE_MODEL>",
"DEFAULT_VISION_MODEL": "<your DEFAULT_VISION_MODEL>",
"DEFAULT_EMBEDDING_MODEL": "<your DEFAULT_EMBEDDING_MODEL>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "<your OPENROUTER_API_KEY>",
"DEFAULT_TEXT_MODEL": "<your DEFAULT_TEXT_MODEL>",
"DEFAULT_IMAGE_MODEL": "<your DEFAULT_IMAGE_MODEL>",
"DEFAULT_CODE_MODEL": "<your DEFAULT_CODE_MODEL>",
"DEFAULT_VISION_MODEL": "<your DEFAULT_VISION_MODEL>",
"DEFAULT_EMBEDDING_MODEL": "<your DEFAULT_EMBEDDING_MODEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter"
],
"env": {
"OPENROUTER_API_KEY": "<your OPENROUTER_API_KEY>",
"DEFAULT_TEXT_MODEL": "<your DEFAULT_TEXT_MODEL>",
"DEFAULT_IMAGE_MODEL": "<your DEFAULT_IMAGE_MODEL>",
"DEFAULT_CODE_MODEL": "<your DEFAULT_CODE_MODEL>",
"DEFAULT_VISION_MODEL": "<your DEFAULT_VISION_MODEL>",
"DEFAULT_EMBEDDING_MODEL": "<your DEFAULT_EMBEDDING_MODEL>"
}
}
}
}Replace each placeholder with your own value before saving.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
No task-specific alternatives are catalogued for OpenRouteryet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Jan 26, 2026
- Latest version published
- Apr 29, 2026
- Version history
- 1 version tracked (below)
- Requirements evidence
- Declared by Glama, last synced Nov 4, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Nov 4, 2026
- Official MCP ↗listed since Apr 29, 2026 · still listed
- PulseMCP ↗listed since May 22, 2026 · still listed
- Glama ↗listed since Jun 4, 2026 · still listed
Do you maintain OpenRouter? to correct or enrich this profile.
Available versions (1)
| Version | Published |
|---|---|
| 1.1.8 | Apr 29, 2026 |
Ranks ahead of 143,450 of 168,415 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.tsilva%2Fmcp-openrouter)<a href="https://mcptoplist.com/server/io.github.tsilva%2Fmcp-openrouter"><img src="https://mcptoplist.com/badge/io.github.tsilva%2Fmcp-openrouter.svg" alt="MCP Toplist: Top 25% of 168,415" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains OpenRouter?
- OpenRouter is maintained by tsilva, which publishes 2 MCP servers (1 total version) tracked on MCP Toplist.
- Is OpenRouter listed on the Official MCP Registry?
- Yes — OpenRouter is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does OpenRouter have?
- MCP Toplist tracks 1 version of OpenRouter, most recently published on Apr 29, 2026.
- Where can I find the source code for OpenRouter?
- The source code for OpenRouter is hosted at github.com/tsilva/mcp-openrouter.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.