openrouter-websearch-mcp

openrouter-websearch-mcp

3.5

This project implements an MCP server providing a web search tool that uses OpenRouter's models for generating detailed and factual search results. It is designed for seamless integration with Model Context Protocol standards, requiring minimal setup beyond an API key and appropriate Go version.

Top Comments

OpenRouter Web Search MCP Server

This project implements an MCP (Model Context Protocol) server that provides a tool for web searches. It exposes an MCP-compatible server over stdio and includes a search_web tool which accepts a search query string, uses OpenRouter's models to generate a fact-based answer, and returns plain text answers.

Features

  • MCP-compatible server over stdio
  • search_web tool for fact-based answers

Requirements

  • Go 1.18+
  • OpenRouter API key

Environment Variables

  • OPENROUTER_API_KEY: Your OpenRouter API key
  • MODEL_NAME: OpenRouter model name, supporting :online suffix

Installation

Use Go to install the server: go install github.com/ChristianSch/openrouter-websearch-mcp.