openrouterai
41
The OpenRouter MCP Server enables seamless integration with OpenRouter.ai's ecosystem, allowing access to various AI models through a type-safe interface. It features automatic caching, rate limiting, and unified response formatting for efficient performance.
OpenRouter MCP Server
A Model Context Protocol (MCP) server providing seamless integration with OpenRouter.ai's diverse model ecosystem. Access various AI models through a unified, type-safe interface with built-in caching, rate limiting, and error handling.
Features
- Model Access: Direct access to all OpenRouter.ai models, automatic model validation, default configuration support.
- Performance Optimization: Smart caching, rate limit management, exponential backoff.
- Unified Response Format: Consistent structure, clear error identification, structured error messages.
Configuration
- Get your OpenRouter API key.
- Configure environment variables for the API key and optional default model.
Available Tools
- chat_completion: Send messages to models.
- search_models: Search and filter models.
- get_model_info: Retrieve model details.
- validate_model: Check model validity.