mcpField
O
OpenRouter Web Search MCP Server

OpenRouter Web Search MCP Server

Local
github.com/ChristianSchSearch3Updated 82w ago

About OpenRouter Web Search MCP Server

OpenRouter Web Search MCP Server provides a `search_web` tool that uses OpenRouter online models to produce concise, current answers. It is for MCP clients that need web-search results as plain text.

Key features

  1. 01Expose a `search_web` tool
  2. 02Search with OpenRouter online models
  3. 03Return concise, fact-based answers
  4. 04Select a model with `MODEL_NAME`

Use cases

  1. 01Retrieve current answers to web queries
  2. 02Provide search results to an MCP client as plain text

MCP support

The MCP server exposes `search_web` over stdio. MCP clients can submit a query and receive the generated answer as plain text.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

OpenRouter Web Search MCP Server

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.

Features

  • 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

Requirements

  • Go 1.18+
  • An OpenRouter API key

Environment Variables

VariableDescriptionRequiredDefault
OPENROUTER_API_KEYYour OpenRouter API keyYes
MODEL_NAMEOpenRouter model name (should support :online suffix)Nogoogle/gemini-2.5-pro-exp-03-25:free:online

Installation

To install the MCP server, you can use the following command:

go install github.com/ChristianSch/openrouter-websearch-mcp

Usage

Run the server:

{
    "mcpServers": {
        "web-search": {
            "command": "openrouter-websearch-mcp",
            "env": {
                "OPENROUTER_API_KEY": "sk-or-v1-..."
            }
        }
    }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.