search-mcp
Provides web search functionality using DuckDuckGo's free API, allowing queries with configurable result limits and built-in timeout handling.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@search-mcpfind recent articles about AI advancements in healthcare"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
search-mcp: Minimal Web Search MCP Server
A simple, reliable MCP server for web search using DuckDuckGo. No API keys required. Totally vibe-coded in ~25 minutes. Don't trust this app (even if it works for me).
Features
Single tool:
web_search- search the web via DuckDuckGoNo API keys needed - uses free DuckDuckGo API
Timeout handling - 10-second timeout per request to prevent hanging
Minimal dependencies - only
mcpandrequestsProper MCP protocol - correct stdio transport implementation
Related MCP server: WebRead MCP
Installation
cd ~/Code/search-mcp
pip install -e .Or with uv:
cd ~/Code/search-mcp
uv pip install -e .Usage
Direct Testing
python search_mcp.pyThen send JSON-RPC requests via stdin:
{"jsonrpc": "2.0", "method": "tools/list", "id": 1}Amazon Q Configuration
Add to your ~/.config/cursor/mcp.json or Kiro-CLI config:
{
"mcpServers": {
"WebSearch": {
"type": "stdio",
"command": "python3",
"args": ["/Users/USERNAME/Code/search-mcp/search_mcp.py"],
"timeout": 120000,
"disabled": false
}
}
}Tool: web_search
Parameters:
query(string, required): The search querymax_results(integer, optional): Max results to return (default: 5)
Example:
await client.call_tool("web_search", {"query": "Python async programming", "max_results": 3})Why This Works
Correct MCP protocol - properly implements stdio transport with persistent connection
Timeout handling - 10-second timeout on requests to prevent Amazon Q hangs
Error handling - gracefully handles network errors and timeouts
Simple codebase - ~150 lines, easy to debug or modify
No external service - uses DuckDuckGo's free API, no rate limiting issues
Troubleshooting
Module not found errors
Make sure you installed with pip install -e .:
python3 venv .venv
source .venv/bin/activate
pip install -e .Server not responding
Check that the Python path is correct in your config:
which python3
python3 search_mcp.pyTimeout issues
The server has a 10-second timeout per request. If searches are timing out:
Check your internet connection
Verify DuckDuckGo is accessible
Try simpler/shorter search queries
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables web search and content fetching via DuckDuckGo without requiring an API key.Last updated2133MIT
- Alicense-qualityDmaintenanceEnables AI assistants to read webpages and perform web searches using DuckDuckGo.Last updatedMIT
- Alicense-qualityFmaintenanceEnables AI agents to search the web, find news, and read page content via DuckDuckGo without an API key.Last updated2MIT
- Alicense-qualityCmaintenanceEnables web search using Bing and DuckDuckGo combined, and fetching readable content from web pages, with no API key required.Last updated91MIT
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
The best web search for your AI Agent
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deeprave/mcp-websearch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server