openrouter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENROUTER_API_KEY | Yes | Your OpenRouter API key, used to query models via OpenRouter. Stored locally in Claude Code config and passed directly to the MCP server. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ask_modelA | Ask a question to any model available on OpenRouter. Use this to get a second opinion, compare approaches, or leverage different model strengths. |
| list_modelsB | List available models from OpenRouter with pricing info |
| set_default_modelC | Set the default model for ask_model queries |
| get_configA | Get current OpenRouter MCP configuration (default model, favorites, shortcuts) |
| add_shortcutC | Add a custom model shortcut for easier access |
| add_favoriteB | Add a model to your favorites list |
| remove_favoriteB | Remove a model from your favorites list |
| set_api_keyB | Store your OpenRouter API key in the config file (alternative to environment variable) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools target clearly distinct operations: querying a model (ask_model), listing models (list_models), and config management (get/set). The only mild overlap is add_shortcut versus add_favorite, since both organize model access, but descriptions distinguish them adequately.
Every name follows a clean snake_case verb_noun pattern (ask_model, list_models, set_default_model, get_config, add_favorite, remove_favorite). Verb choices are consistent within their families.
Eight tools is well-scoped for an OpenRouter integration covering querying, discovery, and configuration. Each tool maps to a distinct capability without padding.
Favorites have both add and remove, but shortcuts only have add_shortcut with no remove_shortcut, creating an asymmetric gap. Config is readable via get_config but there is no general update, and there is no way to unset the default or list shortcuts directly.