mcp-openrouter
An MCP server that provides access to OpenRouter's 300+ AI models, supporting chat, images, embeddings, and model discovery via local stdio for MCP clients.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Access OpenRouter chat models
- Generate images via OpenRouter
- Create embeddings using OpenRouter
- Discover available AI models
Source and maintenance
Community listingRegistry 1.1.8
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-openrouter 1.1.8
pypi
mcp-openrouter package definition
{
"version": "1.1.8",
"transport": "stdio",
"identifier": "mcp-openrouter",
"registryType": "pypi",
"environmentVariables": [
{
"name": "OPENROUTER_API_KEY",
"format": "string",
"isRequired": true,
"description": "OpenRouter API key used to authenticate tool requests."
},
{
"name": "DEFAULT_TEXT_MODEL",
"format": "string",
"description": "Default model slug for chat tool calls when no model is provided."
},
{
"name": "DEFAULT_IMAGE_MODEL",
"format": "string",
"description": "Default model slug for image generation tool calls."
},
{
"name": "DEFAULT_CODE_MODEL",
"format": "string",
"description": "Default model slug for code-oriented tasks."
},
{
"name": "DEFAULT_VISION_MODEL",
"format": "string",
"description": "Default model slug for vision-capable tool calls."
},
{
"name": "DEFAULT_EMBEDDING_MODEL",
"format": "string",
"description": "Default model slug for embedding tool calls when no model is provided."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter==1.1.8"
],
"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>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter==1.1.8"
],
"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>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"mcp-openrouter": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-openrouter==1.1.8"
],
"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>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"mcp-openrouter": {
"command": "uvx",
"args": [
"mcp-openrouter==1.1.8"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like mcp-openrouter from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.