- Home
- MCP servers
- Open-WebSearch
Open-WebSearch
- typescript
612
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run the Open-WebSearch MCP Server to perform multi-engine web searches and fetch article content without API keys. It exposes an MCP interface you can connect to from compatible clients, enabling you to search across engines, fetch article bodies, and tailor which engines you want to use.
How to use
Connect with your MCP client to the Web Search MCP Server using either the HTTP endpoint or the local STDIO configuration. The HTTP option exposes a standard MCP HTTP path you can call from any MCP client. The STDIO option lets you run the server locally and communicate via standard input/output streams.
How to install
Prerequisites: ensure you have Node.js and npm installed on your system.
-
Install dependencies and build the server locally.
-
Start the server using one of the supported configurations shown below.
HTTP configuration (remote MCP URL)
{
"mcpServers": {
"web-search": {
"name": "Web Search MCP",
"type": "streamableHttp",
"description": "Multi-engine web search with article fetching",
"isActive": true,
"baseUrl": "http://localhost:3000/mcp"
}
}
}
NPX STDIO configuration (local run)
{
"mcpServers": {
"web-search": {
"args": [
"open-websearch@latest"
],
"command": "npx",
"env": {
"MODE": "stdio",
"DEFAULT_SEARCH_ENGINE": "duckduckgo",
"ALLOWED_SEARCH_ENGINES": "duckduckgo,bing,exa"
}
}
}
}
Local STDIO configuration for Windows (example)
{
"mcpServers": {
"open_websearch_local": {
"command": "node",
"args": ["C:/path/to/your/project/build/index.js"],
"env": {
"MODE": "stdio",
"DEFAULT_SEARCH_ENGINE": "duckduckgo",
"ALLOWED_SEARCH_ENGINES": "duckduckgo,bing,exa"
}
}
}
}
Environment variables you can configure
Enable CORS and select engines to tailor the server behavior. The following variables appear in typical setups and are described here for reference.
Security and usage notes
-
This tool performs web search by aggregating results from multiple engines. Respect the terms of service of each engine and implement reasonable rate limiting to avoid being blocked.
-
If you need to access resources behind a proxy, enable the HTTP proxy feature and provide a proxy URL.
Troubleshooting
- If searches are not returning results, verify that the selected engines are allowed by your configuration and that the server is reachable at the configured URL or port.
Available tools
search
Search using multiple engines and return structured results with title, URL, and description.
fetchLinuxDoArticle
Fetch complete content of Linux.do forum articles from a given URL.
fetchCsdnArticle
Fetch complete content of CSDN blog articles from a given URL.
fetchGithubReadme
Fetch README content from a GitHub repository URL.
fetchJuejinArticle
Fetch complete content of Juejin articles from a given URL.