About nickclyde/duckduckgo-mcp-server
nickclyde/duckduckgo-mcp-server is an MCP server published by nickclyde in the AI category: a Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing. Conduid read 3 tools from its source: expand_link, fetch_content and search. No package is published for it, so it installs from a source checkout.
The repository has 1.6K stars and 195 forks, is licensed MIT, and its last commit was on 4 Sep 2026. The latest release is v0.7.0 (4 Sep 2026): Highlights mcp 2.x support. It follows v0.6.1 (28 Jul 2026), and the 5 most recent releases go back to v0.4.0 (8 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include duckduckgo, search, openwebui and mcpo.
Install
git clone https://github.com/nickclyde/duckduckgo-mcp-serverTools (3)
expand_linkExpand a shortened ref://<id> link token from search results back into the full URL. Search results replace very long URLs with short ref:// tokens to save space. fetch_content accepts those tokens directly, so only call this when you need the real URL, for example to show or cite a link to the user. Never present a ref:// token to the user as if it were a URL.| Parameter | Type | Description |
|---|---|---|
| token * | string | A ref://<id> token exactly as it appeared in search results (the bare id is also accepted). |
fetch_contentFetch and extract the main text content from a webpage. Strips out navigation, headers, footers, scripts, and styles to return clean readable text. Use this after searching to read the full content of a specific result. Supports pagination for long pages via start_index and max_length. Repeated or paginated reads of the same URL reuse an in-memory cache (default TTL 5 minutes) so the page is downloaded once.| Parameter | Type | Description |
|---|---|---|
| backend | string | Optional override of the server's default fetch backend for this single call. One of 'httpx' (lightweight), 'curl' (Chrome TLS impersonation, bypasses many bot filters; requires the [browser] extra), or 'auto' (try httpx, fall back to curl on block). Leave unset to use the server default. |
| max_length | integer | Maximum number of characters to return (default: 8000). Increase for more content per request or decrease for quicker responses. |
| parse_mode | string | Optional extractor override for this call. One of 'text' (flattened page), 'main' (article/main only), or 'markdown' (structured). Leave unset to use the server default. |
| start_index | integer | Character offset to start reading from (default: 0). Use this to paginate through long content. |
| url * | string | The full URL of the webpage to fetch (must start with http:// or https://), or a ref://<id> token exactly as shown in search results. |
searchSearch the web using DuckDuckGo. Returns a list of results with titles, URLs, and snippets. Use this to find current information, research topics, or locate specific websites. For best results, use specific and descriptive search queries.| Parameter | Type | Description |
|---|---|---|
| max_results | integer | Maximum number of results to return, between 1 and 20 (default: 10). |
| query * | string | The search query string. Be specific for better results (e.g., 'Python asyncio tutorial' rather than 'Python'). |
| region | string | Optional region/language code to localize results. Examples: 'us-en' (USA/English), 'uk-en' (UK/English), 'de-de' (Germany/German), 'fr-fr' (France/French), 'jp-ja' (Japan/Japanese), 'cn-zh' (China/Chinese), 'wt-wt' (no region). Leave empty to use the server default. |
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 2 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/duckduckgo_mcp_server/server.py:1670, src/duckduckgo_mcp_server/server.py:1694, src/duckduckgo_mcp_server/server.py:1691
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 8 callssrc/duckduckgo_mcp_server/server.py:537, src/duckduckgo_mcp_server/server.py:540, src/duckduckgo_mcp_server/server.py:565
- Writes or deletes files
- No file writes or deletes
- Lockfile
- uv.lock
Pattern matches on the source text of 2 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.1K words, fetched 5 days ago. The original in the repository is authoritative.
Read full README