
nickclyde/duckduckgo-mcp-server
Web search using DuckDuckGo, with content fetching and parsing
by nickclyde
Description
DuckDuckGo Search MCP Server is a Model Context Protocol server that gives AI assistants web search through DuckDuckGo, along with the ability to fetch and parse the content of a page. It is written for use with Claude Desktop and other MCP clients. The search results are formatted for large language models, and long result URLs are shortened into short ref:// tokens that the content fetch tool accepts directly, to save context. The server includes built-in rate limiting for both search and content fetching, error handling and logging. You install it from PyPI using uv and add it to your Claude Desktop configuration file. Several environment variables control its behavior: DDG_SAFE_SEARCH sets strict, moderate or off filtering, DDG_REGION sets a default region such as us-en or wt-wt, and DDG_CA_CERTS points to a CA bundle for networks with TLS-intercepting proxies. Rate limits are set with DDG_SEARCH_RPM and DDG_FETCH_RPM, with an optional per-host cap, and the in-memory page cache is controlled by DDG_CACHE_TTL and DDG_CACHE_MAX_ENTRIES. The README includes a section on running behind a TLS-intercepting proxy.…
Highlights
- Web search through DuckDuckGo for AI assistants
- Fetches and parses page content
- Short ref:// tokens to save context
- Rate limits and a page cache you can configure
Ratings & Reviews
No ratings yet
Be the first to rate nickclyde/duckduckgo-mcp-server.
People also visit
pinkpixel-dev-web-scout-mcp
An MCP server providing web search and content extraction capabilities
nickclyde/duckduckgo-mcp-server FAQ
What does this MCP server do?
It lets an AI assistant run web searches through DuckDuckGo and fetch the text of the pages in the results.
How do I install it?
Install it from PyPI with uv, then add it to your Claude Desktop configuration file, as the README describes.
Can I set a safe search level?
Yes. DDG_SAFE_SEARCH can be strict, moderate or off.
Can I set a default region?
Yes. DDG_REGION takes a region code such as us-en, cn-zh or jp-ja, or can be left empty for DuckDuckGo's default.
Does it limit how often it searches?
Yes. It has built-in rate limits for search and fetch, which you can tune with DDG_SEARCH_RPM and DDG_FETCH_RPM.
What if I am behind a proxy?
The README covers running behind a TLS-intercepting proxy, and DDG_CA_CERTS points the server to a PEM CA bundle for it.
What are the best nickclyde/duckduckgo-mcp-server alternatives?
Popular alternatives to nickclyde/duckduckgo-mcp-server include pinkpixel-dev-web-scout-mcp, Tavily and parallel-web/search-mcp. See all nickclyde/duckduckgo-mcp-server alternatives



















