ddg-mcp-search
Allows web search using DuckDuckGo with options for region, time limit, safe search, and result count.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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)
Web search API and MCP server for developers building AI agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceLightweight 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
- AlicenseAqualityDmaintenanceA simple MCP server that provides web search functionality via DuckDuckGo, returning titles, URLs, and descriptions for results. Configurable result limit.1ISC
- AlicenseAqualityDmaintenanceMCP server that enables web search, image search, and image download using DuckDuckGo.3MIT