 
            
            
            
            
        OpenRouter-Search-Server
Serveur MCP pour la fonctionnalité de recherche OpenRouter
1
Github Watches
2
Github Forks
4
Github Stars
OpenRouter Search MCP Server
This is a Model Context Protocol (MCP) server designed to provide web search capabilities by leveraging the OpenRouter API.
Features
- Web Search via OpenRouter: Utilizes the OpenRouter API to perform web searches.
- 
Specific Model: Uses the google/gemini-2.5-pro-exp-03-25:free:onlinemodel. The:onlinesuffix enables the model's web search functionality.
- Raw Text Output: The server returns the direct, unparsed text response generated by the AI model.
- 
MCP Integration: Exposes a simple web_searchtool compatible with MCP clients.
Installation
- 
Clone: Clone this repository to your local machine.
git clone https://github.com/joaomj/openrouter-search-server.git cd openrouter-search-server
- 
Install Dependencies:
npm install
- 
Build: Compile the TypeScript code.
npm run build
Configuration
- 
API Key: Ensure you have an API key from OpenRouter. 
- 
MCP Settings: Add the following configuration block to your MCP client's settings file (e.g., ~/.vscode-server/data/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonfor VS Code Remote/Codespaces or~/Library/Application Support/Claude/claude_desktop_config.jsonfor Claude Desktop App):{ "mcpServers": { "openrouter-search": { "command": "node", "args": [ "/home/joao/Cline/MCP/openrouter-search-server/build/index.js" ], "env": { "OPENROUTER_API_KEY": "YOUR_OPENROUTER_API_KEY_HERE" }, "disabled": false, "autoApprove": [] } // ... other servers } }- Replace /home/joao/Cline/MCP/openrouter-search-server/build/index.jswith the actual absolute path to the builtindex.jsfile on your system if you cloned it elsewhere.
- Replace YOUR_OPENROUTER_API_KEY_HEREwith your actual OpenRouter API key.
 Important: The server requires the OPENROUTER_API_KEYenvironment variable to be set. Never commit your API key directly into the code or the repository.
- Replace 
Usage
Once the server is configured and running (either manually via npm start in its directory or automatically via your MCP client), you can use the web_search tool.
Tool: web_search
Server Name: openrouter-search (or whatever key you used in the MCP settings)
Input:
- 
query(string, required): The search query you want to perform.
Output:
- A text string containing the raw response from the OpenRouter API's google/gemini-2.5-pro-exp-03-25:free:onlinemodel.
Example MCP Tool Call:
<use_mcp_tool>
<server_name>openrouter-search</server_name>
<tool_name>web_search</tool_name>
<arguments>
{
  \"query\": \"What is the latest version of the MCP SDK?\"
}
</arguments>
</use_mcp_tool>
License
MIT.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews
 
                                    user_ABMgBZTX
I've been using the openrouter-search-server by joaomj, and it's an outstanding tool! The seamless integration and efficient search functionalities have significantly optimized our server management. The repository on GitHub is well-documented, making implementation straightforward. Kudos to joaomj for this excellent creation!
 
     
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                            