Searches DuckDuckGo and fetches readable webpage content for MCP clients.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Duckduckgo MCP Server.
querySearch query string
max_resultsMaximum number of results to return (default: 10)
region(Optional) Region/language code to override the default. Leave empty to use the configured default region.
us-enUnited States (English)
cn-zhChina (Chinese)
jp-jaJapan (Japanese)
The nickclyde/duckduckgo-mcp-server MCP server exposes DuckDuckGo search and webpage content retrieval through MCP. It is intended for agents that need to discover web pages, inspect result links, and read extracted text from selected URLs.
Search accepts a query, an optional maximum result count, and an optional region code. Supported region examples include us-en, cn-zh, jp-ja, de-de, fr-fr, and wt-wt. If no region is supplied for a request, the server uses its configured default or DuckDuckGo's default behavior.
The content-fetching capability accepts a URL and returns parsed page content. Callers can set a starting character offset and maximum response length, which makes it possible to read long pages in sections.
The nickclyde/duckduckgo-mcp-server MCP server uses httpx by default for HTTP requests. Its fetch operation can instead use a curl backend based on curl_cffi, or auto, which starts with httpx and falls back when a 403 response or Cloudflare challenge is detected. The optional browser extra is required for the curl and auto backends.
Search has its own backend setting and defaults to auto. If the optional browser dependency is unavailable and the HTTP client is blocked, search may return a message directing the operator to install that extra. Built-in rate limiting applies to search and content fetching, and responses are formatted for consumption by language models.
The default MCP transport is stdio. The process can also run with SSE or Streamable HTTP. HTTP transports bind to 127.0.0.1:8000 unless a different host and port are supplied.
Install or run the package from PyPI with uv:
Claude Desktop can launch it with uvx and the package name in its MCP server configuration. Claude Code can add the same command through claude mcp add. The repository also documents SSE and Streamable HTTP launch options.
Optional environment variables include DDG_SAFE_SEARCH for STRICT, MODERATE, or OFF filtering, DDG_REGION for the default region, and DDG_SEARCH_BACKEND for the search backend. DDG_CA_CERTS points to a PEM CA bundle for TLS-intercepting proxies. HTTP deployments can use DDG_ALLOWED_HOSTS and DDG_ALLOWED_ORIGINS to configure DNS-rebinding protection.
The nickclyde/duckduckgo-mcp-server MCP server provides capabilities for:
httpx, curl, or auto for an individual content-fetch request.No paid search credential is described in the supplied material. Results and page retrieval depend on the target site's availability and bot-detection behavior. The curl and auto options require installation with the [browser] extra. Setting --no-ssl-verify or DDG_SSL_VERIFY=0 disables certificate verification and is documented only as a last resort.
When using HTTP transports behind a reverse proxy or in a container, the proxy's host and origin may need to be added to the allow-list. Disabling DNS-rebinding protection is available, but the documentation recommends allow-listing instead.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nickclyde-duckduckgo-mcp-server)<a href="https://allmcps.com/mcp/nickclyde-duckduckgo-mcp-server"><img src="https://allmcps.com/api/badge/nickclyde-duckduckgo-mcp-server?style=directory" alt="Duckduckgo MCP Server on AllMCPs" /></a>