- Explore MCP Servers
- openrouter-websearch-mcp
Openrouter Websearch Mcp
What is Openrouter Websearch Mcp
The OpenRouter Web Search MCP Server is a server implementation of the Model Context Protocol (MCP) that facilitates web searches using OpenRouter’s online models to deliver accurate and concise answers based on real-time information.
Use cases
This server can be used for applications that require rapid access to up-to-date information from the web, such as chatbots, virtual assistants, research tools, or any interactive system that needs to respond to user queries with factual data sourced from online content.
How to use
To use the server, first ensure that you have Go 1.18 or higher installed and that you have acquired an OpenRouter API key. Install the MCP server with the provided Go command, and then run the server specifying the necessary environment variables like the OpenRouter API key and the desired model name in a JSON configuration format.
Key features
The server exposes an MCP-compatible interface and includes a search_web tool that can process search queries and generate fact-based answers through OpenRouter online models. It offers ease of integration, concise result generation, and is designed for accuracy with respect to the latest web information.
Where to use
This MCP server is ideal for deployment in any software environment that requires fetch-and-respond capabilities using current web data, making it suitable for web applications, API services, and any system where quick and reliable information retrieval is essential.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Openrouter Websearch Mcp
The OpenRouter Web Search MCP Server is a server implementation of the Model Context Protocol (MCP) that facilitates web searches using OpenRouter’s online models to deliver accurate and concise answers based on real-time information.
Use cases
This server can be used for applications that require rapid access to up-to-date information from the web, such as chatbots, virtual assistants, research tools, or any interactive system that needs to respond to user queries with factual data sourced from online content.
How to use
To use the server, first ensure that you have Go 1.18 or higher installed and that you have acquired an OpenRouter API key. Install the MCP server with the provided Go command, and then run the server specifying the necessary environment variables like the OpenRouter API key and the desired model name in a JSON configuration format.
Key features
The server exposes an MCP-compatible interface and includes a search_web tool that can process search queries and generate fact-based answers through OpenRouter online models. It offers ease of integration, concise result generation, and is designed for accuracy with respect to the latest web information.
Where to use
This MCP server is ideal for deployment in any software environment that requires fetch-and-respond capabilities using current web data, making it suitable for web applications, API services, and any system where quick and reliable information retrieval is essential.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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_webtool 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
| Variable | Description | Required | Default |
|---|---|---|---|
OPENROUTER_API_KEY |
Your OpenRouter API key | Yes | |
MODEL_NAME |
OpenRouter model name (should support :online suffix) |
No | google/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-..."
}
}
}
}
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










