Basic information
About DuckDuckGo MCP Server
Integrate DuckDuckGo web search into your site with our MCP server, supporting features like Google custom search and robust query controls.
DuckDuckGo is a MCP server in the Search Web category listed in the AddMCP.net directory, published by zhsama. It exposes 1 tool, including duckduckgo_web_search. Supported transport: stdio, streamable-http. Runtime: TypeScript. License: MIT. The repository has 1,313 GitHub stars. Source code is hosted on github.com. Related topics: community, search-web.
Setup
{
"mcpServers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}
{
"mcpServers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}
{
"servers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}
DuckDuckGo MCP Server — by zhsama config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}
DuckDuckGo MCP Server — by zhsama tools
- duckduckgo_web_search — Performs a web search using the DuckDuckGo, ideal for general queries, news, articles, and online content. Use this for broad information gathering, recent events, or when you need diverse web sources. Supports content filtering and region-specific searches. Maximum 20 results per request.
Overview
What is DuckDuckGo?
An MCP server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing. It is designed for large language models and AI assistants to perform web searches and retrieve webpage content with LLM-friendly formatting.
How to use DuckDuckGo?
Install via uvx duckduckgo-mcp-server or uv pip install duckduckgo-mcp-server. Configure for Claude Desktop or Claude Code by adding the server to the MCP configuration. Supports stdio (default), sse, and streamable-http transports. Optional environment variables DDG_SAFE_SEARCH and DDG_REGION set SafeSearch and default region.
Key features of DuckDuckGo
- Web search via DuckDuckGo with advanced rate limiting
- Content fetching and parsing with intelligent text extraction
- LLM-friendly output formatting
- Built-in rate limiting: 30 search requests/minute, 20 fetch requests/minute
- Backend options (
httpx,curl,auto) to bypass TLS fingerprint blocking - SafeSearch filtering and region localization
Use cases of DuckDuckGo
- AI assistants performing real-time web searches
- Retrieving and summarizing webpage content for LLM consumption
- Region-specific searches with configurable default locale
- Bypassing bot detection on DuckDuckGo and target websites
Frequently asked questions
1 What does this server do?
It provides two tools: search to query DuckDuckGo and return formatted results, and fetch_content to retrieve and clean webpage text.
2 How do I install and run it?
Use uvx duckduckgo-mcp-server in your terminal, or add it to your MCP client configuration with the command uvx duckduckgo-mcp-server.
3 How can I configure SafeSearch or default region?
Set the environment variables DDG_SAFE_SEARCH (STRICT, MODERATE, OFF) and DDG_REGION (e.g., us-en, cn-zh) in the server startup configuration.
4 What is the backend for bypassing bot detection?
The server supports an optional curl backend via the [browser] extra that impersonates Chrome’s TLS handshake. Use --fetch-backend or --search-backend flags to enable it.
5 Which transport protocols are supported?
The default transport is stdio. You can also run with --transport sse or --transport streamable-http and optionally set --host and --port.
Videos
Tutorials, guides, and showcases related to DuckDuckGo MCP Server — by zhsama. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In