Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENROUTER_API_KEY | Yes | Your OpenRouter API key (required) | |
| OPENROUTER_APP_NAME | No | Application name for API headers | |
| OPENROUTER_BASE_URL | No | API base URL | https://openrouter.ai/api/v1 |
| OPENROUTER_SITE_URL | No | Your site URL for API attribution |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_models | Get list of available OpenRouter models |
| chat_with_model | Send a message to a specific OpenRouter model |
| compare_models | Compare responses from multiple models |
| get_model_info | Get detailed information about a specific model |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Available Models | List of all available OpenRouter models with pricing |
| Model Pricing | Current pricing information for all models |
| Usage Statistics | Your OpenRouter usage statistics |