openrouter-mcp
Click on "Install 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-mcpAsk claude-3.5-sonnet to review my Python code"
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
MCP server for consulting AI models via OpenRouter. Designed for AI assistants like Claude Code to ask other models for help.
Installation
npm install -g openrouter-mcpConfiguration
Environment Variables
Variable | Required | Description |
| Yes | Your OpenRouter API key |
| Yes | Comma-separated list of allowed model IDs |
| No | Default system prompt for all requests |
Example MCP Config
{
"mcpServers": {
"openrouter": {
"command": "npx",
"args": ["-y", "openrouter-mcp"],
"env": {
"OPENROUTER_API_KEY": "sk-or-...",
"OPENROUTER_ALLOWED_MODELS": "anthropic/claude-3.5-sonnet,openai/gpt-4o,google/gemini-2.0-flash-001",
"OPENROUTER_SYSTEM_PROMPT": "You are helping an AI coding assistant. Be direct and provide code examples when relevant."
}
}
}
}Tool: ask_model
Consult another AI model for help with coding tasks.
Parameters
Parameter | Type | Required | Description |
| string | Yes | Model ID from the allowed list |
| string | Yes | Your question or request |
| string | No | Override the default system prompt |
| string[] | No | File paths to read and include as context |
Limits
Max 10 files per request
Max 150KB per file
Text files only (no binary)
2 minute timeout per request
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/minovap/openrouter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server