Enables web search through Baidu's search engine, retrieving search results with titles, URLs, and descriptions.
Provides web search functionality through the Brave search engine, returning structured search results.
Supports searching the CSDN platform and fetching complete content of CSDN blog articles using the fetchCsdnArticle tool.
Enables web search using the DuckDuckGo search engine, returning structured results with metadata.
Supports repository forking and publishing of custom Docker images via GitHub Container Registry integration.
Provides CI/CD workflow configuration for automatic Docker image building and publishing when changes are pushed.
Open-WebSearch MCP Server
A Model Context Protocol (MCP) server based on multi-engine search results, supporting free web search without API keys.
Features
- Web search using multi-engine results
- bing
- baidu
linux.dotemporarily unsupported- csdn
- duckduckgo
- exa
- brave
- HTTP proxy configuration support for accessing restricted resources
- No API keys or authentication required
- Returns structured results with titles, URLs, and descriptions
- Configurable number of results per search
- Customizable default search engine
- Support for fetching individual article content
- csdn
TODO
- Support for
Bing(already supported),DuckDuckGo(already supported),Exa(already supported),Brave(already supported), Google and other search engines - Support for more blogs, forums, and social platforms
- Optimize article content extraction, add support for more sites
Installation Guide
Local Installation
- Clone or download this repository
- Install dependencies:
- Build the server:
- Add the server to your MCP configuration:
Cherry Studio:
VSCode (Claude Dev Extension):
Claude Desktop:
Docker Deployment
Quick deployment using Docker Compose:
Or use Docker directly:
Environment variable configuration:
Then configure in your MCP client:
Usage Guide
The server provides three tools: search
, fetchLinuxDoArticle
, and fetchCsdnArticle
.
search Tool Usage
Usage example:
Response example:
fetchCsdnArticle Tool Usage
Used to fetch complete content of CSDN blog articles.
Usage example:
Response example:
fetchLinuxDoArticle Tool Usage
Used to fetch complete content of Linux.do forum articles.
Usage example:
Response example:
Usage Limitations
Since this tool works by scraping multi-engine search results, please note the following important limitations:
- Rate Limiting:
- Too many searches in a short time may cause the used engines to temporarily block requests
- Recommendations:
- Maintain reasonable search frequency
- Use the limit parameter judiciously
- Add delays between searches when necessary
- Result Accuracy:
- Depends on the HTML structure of corresponding engines, may fail when engines update
- Some results may lack metadata like descriptions
- Complex search operators may not work as expected
- Legal Terms:
- This tool is for personal use only
- Please comply with the terms of service of corresponding engines
- Implement appropriate rate limiting based on your actual use case
- Search Engine Configuration:
- Default search engine can be set via the
DEFAULT_SEARCH_ENGINE
environment variable - Supported engines: bing, duckduckgo, exa, brave
- The default engine is used when searching specific websites
- Default search engine can be set via the
- Proxy Configuration:
- HTTP proxy can be configured when certain search engines are unavailable in specific regions
- Enable proxy with environment variable
USE_PROXY=true
- Configure proxy server address with
PROXY_URL
Contributing
Welcome to submit issue reports and feature improvement suggestions!
Contributor Guide
If you want to fork this repository and publish your own Docker image, you need to make the following configurations:
GitHub Secrets Configuration
To enable automatic Docker image building and publishing, please add the following secrets in your GitHub repository settings (Settings → Secrets and variables → Actions):
Required Secrets:
GITHUB_TOKEN
: Automatically provided by GitHub (no setup needed)
Optional Secrets (for Alibaba Cloud ACR):
ACR_REGISTRY
: Your Alibaba Cloud Container Registry URL (e.g.,registry.cn-hangzhou.aliyuncs.com
)ACR_USERNAME
: Your Alibaba Cloud ACR usernameACR_PASSWORD
: Your Alibaba Cloud ACR passwordACR_IMAGE_NAME
: Your image name in ACR (e.g.,your-namespace/open-web-search
)
CI/CD Workflow
The repository includes a GitHub Actions workflow (.github/workflows/docker.yml
) that automatically:
- Trigger Conditions:
- Push to
main
branch - Push version tags (
v*
) - Manual workflow trigger
- Push to
- Build and Push to:
- GitHub Container Registry (ghcr.io) - always enabled
- Alibaba Cloud Container Registry - only enabled when ACR secrets are configured
- Image Tags:
ghcr.io/your-username/open-web-search:latest
your-acr-address/your-image-name:latest
(if ACR is configured)
Fork and Publish Steps:
- Fork the repository to your GitHub account
- Configure secrets (if you need ACR publishing):
- Go to Settings → Secrets and variables → Actions in your forked repository
- Add the ACR-related secrets listed above
- Push changes to the
main
branch or create version tags - GitHub Actions will automatically build and push your Docker image
- Use your image, update the Docker command:
Notes:
- If you don't configure ACR secrets, the workflow will only publish to GitHub Container Registry
- Make sure your GitHub repository has Actions enabled
- The workflow will use your GitHub username (converted to lowercase) as the GHCR image name
Star History
If you find this project helpful, please consider giving it a ⭐ Star!
This server cannot be installed
Web search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.
Related MCP Servers
- AsecurityAlicenseAqualityThis server provides a privacy-focused meta search capability by integrating multiple search engines without tracking or user profiling, supporting various categories and languages for filtered searches.Last updated -163818JavaScriptMIT License
- -securityFlicense-qualityEnables free web searching using Google search results with no API keys required, returning structured results with titles, URLs, and descriptions.Last updated -51
- PythonApache 2.0
- AsecurityAlicenseAqualityProvides web search capabilities through Baidu with content fetching and parsing features, allowing LLMs to search the web and extract webpage content.Last updated -19PythonMIT License