DuckDuckGo MCP Server
Provides web search capabilities through DuckDuckGo's search engine with advanced rate limiting and content fetching from webpage URLs
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., "@DuckDuckGo MCP Server search for recent 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.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo with content fetching features.
Features
Web Search: Search DuckDuckGo with advanced rate limiting and result formatting
Content Fetching: Retrieve and parse webpage content with intelligent text extraction
Rate Limiting: Built-in protection against rate limits
LLM-Friendly Output: Results formatted specifically for large language model consumption
Related MCP server: Web Search MCP
Docker Build
# Build the Docker image
docker build -t duckduckgo-mcp-server:latest .
# Run the MCP server
docker run --rm -i duckduckgo-mcp-server:latestAliyun Image
The image is also available on Aliyun Container Registry:
# Pull from Aliyun
docker pull crpi-kdbkl9428esejpsc.cn-hangzhou.personal.cr.aliyuncs.com/li-personal/duckduckgo-mcp-server:latest
# Run the Aliyun image
docker run --rm -i crpi-kdbkl9428esejpsc.cn-hangzhou.personal.cr.aliyuncs.com/li-personal/duckduckgo-mcp-server:latestMCP Tools
search
Search DuckDuckGo and return formatted results.
query: Search query string
max_results: Maximum number of results (default: 10)
fetch_content
Fetch and parse content from a webpage URL.
url: The webpage URL to fetch content from
Claude Code Integration
Add to Claude Code global configuration:
claude mcp add --scope user --transport stdio duckduckgo-search -- docker run --rm -i crpi-kdbkl9428esejpsc.cn-hangzhou.personal.cr.aliyuncs.com/li-personal/duckduckgo-mcp-server:latestProject Structure
.
├── Dockerfile # Docker build configuration
├── docker-compose.yml # Docker Compose configuration
├── pyproject.toml # Python project configuration
├── .dockerignore # Docker build ignore rules
└── src/
└── duckduckgo_mcp_server/
├── __init__.py # Package initialization
└── server.py # Main MCP server implementationAvailable Tools
2 toolsfetch_contentC
Fetch and parse content from a webpage URL.
Args:
url: The webpage URL to fetch content from
ctx: MCP context for logging
Inputs: url (required).
searchB
Search DuckDuckGo and return formatted results.
Args:
query: The search query string
max_results: Maximum number of results to return (default: 10)
ctx: MCP context for logging
Inputs: query (required), max_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: 'fetch_content' retrieves and parses content from a specific webpage URL, while 'search' queries DuckDuckGo for results. There is no overlap in functionality, and an agent can easily differentiate between fetching known content and searching for unknown information.
Both tool names follow a consistent verb-based pattern: 'fetch_content' and 'search'. They use snake_case uniformly, and the verbs ('fetch', 'search') are clear and appropriate for their actions, making the naming predictable and readable.
With only 2 tools, the server feels under-scoped for a DuckDuckGo MCP server. While the tools cover basic web content fetching and search, the domain suggests potential for more operations (e.g., image search, news search, or advanced query parameters), making the count too low for the apparent scope.
The tools cover core functionalities of fetching web content and searching, but there are notable gaps. For a DuckDuckGo server, missing operations like image search, video search, or localized searches could limit agent capabilities, though basic workflows are supported.
Maintenance
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.-
- AlicenseNot gradedqualityDmaintenanceEnables web searching through Google, DuckDuckGo, and Bing using a headless Chrome browser, returning structured results with titles, URLs, and snippets. Also supports fetching and extracting text content from any webpage.16MIT
- AlicenseNot gradedqualityCmaintenanceProvides web search and content fetching capabilities using DuckDuckGo, with rate limiting and clean text extraction.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search the internet using DuckDuckGo and extract clean, formatted content from web pages.121 npmGPL 3.0