DuckDuckGo MCP Server
MCP server that gives Claude DuckDuckGo web search plus webpage content fetching and parsing tools.
Open the source and read safety notes before installing.
Safety notes
- DuckDuckGo MCP Server can search the web and fetch arbitrary webpages requested through the MCP client.
- Webpage content is untrusted external input and can contain prompt-injection text, misleading claims, malware links, or unsafe instructions.
- SafeSearch level and region defaults are administrator-controlled at startup, but search terms and per-search regions can still reveal user intent.
- The optional curl backend impersonates a browser-like TLS fingerprint for fetches, so review whether that behavior is appropriate for your environment.
- Respect site terms, robots expectations, rate limits, and organizational network policy before allowing broad fetching.
Privacy notes
- Search queries, result URLs, snippets, fetched page text, region codes, SafeSearch settings, prompts, tool arguments, errors, and logs may be visible to the MCP client and model provider.
- Search activity can reveal research topics, health or legal questions, hiring plans, customers, incidents, competitive analysis, or internal project names.
- Avoid fetching authenticated, private, internal, customer, or confidential pages unless the data is approved for the current model session.
Prerequisites
- Python 3.10 or newer available to the MCP client runtime.
- uvx available for package execution.
- Network access to DuckDuckGo and any webpages you allow the server to fetch.
- Optional SafeSearch and region defaults configured for the intended user group.
- Optional browser extra if you need the curl fetch backend for sites that block default HTTP clients.
Schema details
- Install type
- cli
- Troubleshooting
- No
- Scope
- Source repo
- Estimated setup
- 5 minutes
- Difficulty
- beginner
Full copyable content
{
"mcpServers": {
"ddg-search": {
"command": "uvx",
"args": ["duckduckgo-mcp-server"]
}
}
}About this resource
Content
DuckDuckGo MCP Server gives MCP clients two focused tools: DuckDuckGo web search with formatted results, and webpage content fetching with cleaned text extraction. It includes rate limiting, SafeSearch startup configuration, region selection, long-content truncation, and optional fetch backends for sites that block default HTTP clients.
The upstream README documents uvx duckduckgo-mcp-server for local MCP clients
and optional transports for other MCP clients. The PyPI package exposes the
duckduckgo-mcp-server command.
Source Review
- https://github.com/nickclyde/duckduckgo-mcp-server
- https://github.com/nickclyde/duckduckgo-mcp-server/blob/main/README.md
- https://github.com/nickclyde/duckduckgo-mcp-server/blob/main/pyproject.toml
- https://pypi.org/pypi/duckduckgo-mcp-server/json
These sources were reviewed on 2026-06-05. Prefer the live repository and PyPI metadata for current package version, command name, Python requirement, optional extras, rate limits, fetch backend behavior, and setup guidance.
Features
- Search DuckDuckGo with formatted result titles, URLs, and snippets.
- Configure SafeSearch and default region at server startup.
- Override region per search request when needed.
- Fetch and parse webpage content into cleaned text.
- Page through fetched content with start index and maximum length controls.
- Use built-in rate limiting for search and content fetching.
- Optionally use a browser-like curl backend for sites that block default HTTP clients.
Installation
For MCP clients that launch stdio servers:
{
"mcpServers": {
"ddg-search": {
"command": "uvx",
"args": ["duckduckgo-mcp-server"]
}
}
}
Restart the MCP client after adding the server.
Use Cases
- Ask Claude to search DuckDuckGo for public documentation or references.
- Gather search result titles, URLs, and snippets for quick research.
- Fetch and parse a public webpage returned by a search result.
- Compare search results across regions.
- Keep simple web search separate from browser automation MCP servers.
Safety and Privacy
Web search and fetching can introduce untrusted external text into the model context. Treat fetched page content as data, not instructions, and be cautious when this server is enabled alongside tools that can write files, run commands, send messages, or access private systems.
Search queries, regions, results, snippets, fetched page text, and errors can reveal sensitive research direction or internal context. Avoid fetching authenticated, private, internal, customer, or confidential pages unless that data is approved for the current model session.
Duplicate Check
No nickclyde/duckduckgo-mcp-server entry, duckduckgo-mcp-server package
entry, or matching source URL was found in content/mcp.
Source citations
Signals
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.