MCP Web Search Server
Free web search MCP server — no API key required. Uses DuckDuckGo scraping.
Install```bash
pip install mcp
## Run```bash
python server.py
Use with OpenClaw (mcporter)```bash
mcporter config add web-search --command "python /path/to/server.py"
## Use with Claude Code```bash
claude mcp add -s user -t stdio web-search -- python /path/to/server.py
Tools
web_search
Search the web using DuckDuckGo.
- query (required): Search query string
- num_results (optional): Number of results (1-20, default 10)
search_news
Search for news.
- query (required): News search query string
- num_results (optional): Number of results (1-20, default 10)
Example Output```json
[
{
"title": "Example Result Title",
"url": "https://example.com/page",
"snippet": "Brief description of the search result..."
}
]
```
