duckduckgo-mcp-server
MCP Server for searching via DuckDuckGo
Decision gist · record as of 2026-08-14
Yes, if you are building or using an MCP client (especially Claude Desktop or Claude Code) and need web search capabilities. The package is actively maintained, has low install friction, carries a permissive MIT license, and includes thoughtful features like rate limiting and bot-detection fallbacks. No known vulnerabilities. Install the base package for standard search; add the [browser] extra only if you encounter TLS-fingerprint blocking.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Intended for use with MCP-compatible clients (Claude Desktop, Claude Code, or custom MCP clients via stdio, SSE, or streamable HTTP transports).
- Low install friction with a pure-Python wheel.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows unrestricted use, modification, and distribution with minimal obligations.
last release 2026-07-28 (17 days) · last repo commit 2026-07-28 · 1,413 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 170,812 downloads/mo, #10,387 on PyPI
Alternatives
Verify before relying
# Install
uv pip install duckduckgo-mcp-server
# Run as MCP server
uvx duckduckgo-mcp-server
# Or with Claude Desktop config:
# Add to claude_desktop_config.json:
# {
# "mcpServers": {
# "ddg-search": {
# "command": "uvx",
# "args": ["duckduckgo-mcp-server"]
# }
# }
# }- Whether the curl backend with TLS impersonation reliably bypasses Cloudflare and similar bot detection in production use.
- Performance characteristics under sustained rate-limited search and content-fetch workloads.
- Actual compliance with DuckDuckGo's terms of service for automated access patterns.
What it is and what it does
This package implements a Model Context Protocol (MCP) server that exposes DuckDuckGo web search and content fetching as tools for large language models and MCP clients. It wraps DuckDuckGo's search endpoint and provides intelligent webpage content extraction, with built-in rate limiting, error handling, and result formatting optimized for LLM consumption. The server supports multiple transport protocols (stdio for Claude Desktop, SSE and streamable HTTP for custom clients) and includes configurable SafeSearch filtering and regional settings via environment variables.
The package depends on httpx for HTTP requests, beautifulsoup4 for HTML parsing, httpcore for low-level networking, and the mcp library for protocol implementation. It includes an optional browser backend using curl_cffi to bypass TLS-fingerprint-based bot detection on sites like DuckDuckGo's own search endpoint and Cloudflare-protected targets. The server defaults to httpx for search but automatically falls back to curl when it detects blocking (HTTP 202/403), provided the optional browser extra is installed.
Use it for
- Integrate live web search into Claude Desktop or Claude Code workflows without leaving the chat interface.
- Build custom MCP clients that need real-time search and webpage content retrieval for AI-assisted research or fact-checking.
- Fetch and parse webpage content programmatically with intelligent text extraction for LLM-friendly output formatting.
- Deploy behind a reverse proxy or in Docker with configurable DNS-rebinding protection and TLS certificate handling.
- Bypass bot detection on restricted endpoints by switching between httpx and curl backends on a per-request basis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or using an MCP client (especially Claude Desktop or Claude Code) and need web search capabilities.
The package is actively maintained, has low install friction, carries a permissive MIT license, and includes thoughtful features like rate limiting and bot-detection fallbacks. No known vulnerabilities. Install the base package for standard search; add the [browser] extra only if you encounter TLS-fingerprint blocking.
Install
duckduckgo-mcp-server on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with recent releases; last commit 2026-07-28 and 1413 repository stars indicate ongoing development. Requires Python 3.10 or later.
Requires Python 3.10 or later. Intended for use with MCP-compatible clients (Claude Desktop, Claude Code, or custom MCP clients via stdio, SSE, or streamable HTTP transports).
License in practice
MIT license (permissive) allows unrestricted use, modification, and distribution with minimal obligations.
Quickstart
# Install
uv pip install duckduckgo-mcp-server
# Run as MCP server
uvx duckduckgo-mcp-server
# Or with Claude Desktop config:
# Add to claude_desktop_config.json:
# {
# "mcpServers": {
# "ddg-search": {
# "command": "uvx",
# "args": ["duckduckgo-mcp-server"]
# }
# }
# }
Verify before relying
- Whether the curl backend with TLS impersonation reliably bypasses Cloudflare and similar bot detection in production use.
- Performance characteristics under sustained rate-limited search and content-fetch workloads.
- Actual compliance with DuckDuckGo's terms of service for automated access patterns.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesbeautifulsoup4httpcorehttpxmcp |
| Maintenance | Actively maintained 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,812 / month, #10,387 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: duckduckgo_mcp_server-0.6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “duckduckgo search mcp server”
- duckduckgo-mcp-serverProvides web search and content fetching through DuckDuckGo as a…
- web-foragerWeb Forager is a search-and-fetch toolkit for AI agents that…
- ddgsAggregates web search results from multiple search engines (Bing,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also duckduckgo-search · wikipedia-mcp · duckduckgo-mcp · mcp-server-odoo · ddgs · mcp-server-fetch · markitdown-mcp · web-forager · minimax-coding-plan-mcp · pagerduty-mcp