ddg-mcp-search
Allows web search using DuckDuckGo with options for region, time limit, safe search, and result count.
Click on "Deploy 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., "@ddg-mcp-searchsearch for the latest developments in quantum computing"
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.
ddg-mcp-search
A minimal MCP server that exposes a single DuckDuckGo search tool.
Use this as a lean starting point for building your own MCP servers with a plugin architecture.
Features
searchtool — DuckDuckGo full-text search with region, time-limit, and safe-search optionsPlugin architecture — drop a new
.pyfile intoplugins/and it is auto-discovered on startupSSE transport (compatible with Claude Desktop and other MCP clients)
Related MCP server: local-websearch-mcp
Requirements
Python 3.10+
pip packages listed in
requirements.txt
Installation
git clone https://github.com/ss0832/ddg-mcp-search.git
cd ddg-mcp-search
pip install -r requirements.txtUsage
python main.pyThe server starts on http://0.0.0.0:9500 by default.
Environment variable | Default | Description |
|
| Bind host |
|
| Bind port |
Connecting to Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ddg-mcp-search": {
"url": "http://localhost:9500/sse"
}
}
}Tool reference
search
Search the web using DuckDuckGo.
Parameter | Type | Required | Default | Description |
| string | ✅ | — | Search query |
| string |
| Region code, e.g. | |
| string | — |
| |
| string |
|
| |
| integer |
| Maximum number of results to return |
Example response:
- DuckDuckGo — Privacy, simplified.
URL: https://duckduckgo.com
Snippet: The Internet privacy company that empowers you to seamlessly take control of your personal information online, without any tradeoffs.Adding new tools
Create
plugins/my_tool.pyDefine a class inheriting
MCPPluginwithget_tools()andcall_tool()methodsRestart the server — it is discovered automatically
See plugins/web_search.py for a complete example.
License
MIT © 2026 ss0832
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Google search results via SERP API
Serper MCP — wraps the Serper Google Search API (serper.dev)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLightweight MCP server for DuckDuckGo search with HTML fallback, safe webpage fetching, caching, and clean text extraction.AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceSmall Python MCP server that provides web search and page fetching tools via DuckDuckGo, requiring no API key.Apache 2.0
- FlicenseAqualityDmaintenanceA simple MCP server that provides web search functionality via DuckDuckGo, returning titles, URLs, and descriptions for results. Configurable result limit.1-
- AlicenseAqualityCmaintenanceMCP server that enables web search, image search, and image download using DuckDuckGo.3MIT