OpenRouter MCP Server

search_models

Search and filter OpenRouter.ai models based on various criteria

Input Schema

NameRequiredDescriptionDefault
capabilitiesNoFilter by model capabilities
limitNoMaximum number of results to return (default: 10)
maxCompletionPriceNoMaximum price per 1K tokens for completions
maxContextLengthNoMaximum context length in tokens
maxPromptPriceNoMaximum price per 1K tokens for prompts
minContextLengthNoMinimum context length in tokens
providerNoFilter by specific provider (e.g., "anthropic", "openai", "cohere")
queryNoOptional search query to filter by name, description, or provider

Input Schema (JSON Schema)

{ "properties": { "capabilities": { "description": "Filter by model capabilities", "properties": { "functions": { "description": "Requires function calling capability", "type": "boolean" }, "json_mode": { "description": "Requires JSON mode capability", "type": "boolean" }, "tools": { "description": "Requires tools capability", "type": "boolean" }, "vision": { "description": "Requires vision capability", "type": "boolean" } }, "type": "object" }, "limit": { "description": "Maximum number of results to return (default: 10)", "maximum": 50, "minimum": 1, "type": "number" }, "maxCompletionPrice": { "description": "Maximum price per 1K tokens for completions", "type": "number" }, "maxContextLength": { "description": "Maximum context length in tokens", "type": "number" }, "maxPromptPrice": { "description": "Maximum price per 1K tokens for prompts", "type": "number" }, "minContextLength": { "description": "Minimum context length in tokens", "type": "number" }, "provider": { "description": "Filter by specific provider (e.g., \"anthropic\", \"openai\", \"cohere\")", "type": "string" }, "query": { "description": "Optional search query to filter by name, description, or provider", "type": "string" } }, "type": "object" }