{"repo":"heltonteixeira/openrouterai","free":true,"listed":false,"github":"https://github.com/heltonteixeira/openrouterai","clone":"git clone https://github.com/heltonteixeira/openrouterai.git","description":"MCP server for OpenRouter.ai integration","language":"TypeScript","stars":63,"topics":[],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"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 and capability checking - Default model configuration support - Performance Optimization - Smart model information caching (1-hour expiry) - Automatic rate limit management - Exponential backoff for failed requests - Unified Response Format - Consistent ToolResult structure for all responses - Clear error identification with isError flag - Structured error messages with context Installation Configuration Prerequisites 1. Get your OpenRouter API key from OpenRouter Keys 2. Choose a default model (optional) Environment Variables OPENROUTER API KEY : Required . Your OpenRouter API key. OPENROUTER DEFAULT MODEL : Optional. The default model to use if not specified in the request (e.g., openrouter/auto ). OPENROUTER MAX TOKENS : Optional. Default maximum number of tokens to generate if max tokens is not provided in the request. OPENROUTER PROVIDER QUANTIZATIONS : Optional. Comma-separated list of default quantization levels to filter by (e.g., fp16,int8 ) if provider.quantizations is not provided in the request. (Phase 1) OPENROUTER PROVIDER IGNORE : Optional. Comma-separated list of default provider names to ignore (e.g., mistrala","default_branch":null,"files":null,"tree":[],"storefront":"/r/heltonteixeira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heltonteixeira/openrouterai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}