OpenRouter Web Search MCP Server

An MCP server providing websearch using openrouter :online

Local serverstdioGo

What is the OpenRouter Web Search MCP Server?

An MCP server providing websearch using openrouter :online

What the server does

This project implements an MCP (Model Context Protocol) server that provides a search_web tool. The tool performs a web search using OpenRouter's online models to generate concise, up-to-date answers.

  • Exposes an MCP-compatible server over stdio
  • Provides a search_web tool that:
  • Accepts a search query string
  • Uses OpenRouter's online models to generate a fact-based answer
  • Returns the answer as plain text

Credentials and setup notes

  • Go 1.18+ - An OpenRouter API key

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Go 1.18+ - An OpenRouter API key
VariableDescriptionRequired
OPENROUTER_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

`OPENROUTER_API_KEY` (required) and `MODEL_NAME` (optional; defaults to `google/gemini-2.5-pro-exp-03-25:free:online`).