--- id: duckduckgo-mcp-server version: "0.6.1" license: unclear license_treatment: permissive maintenance: active --- # duckduckgo-mcp-server — MCP Server for searching via DuckDuckGo License: permissive · Maintenance: active · Downloads: 170.8K/mo ## 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 above — verify before relying. Provides web search and content fetching through DuckDuckGo as a Model Context Protocol server for integration with Claude and other MCP clients. 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 pip install duckduckgo-mcp-server uv add duckduckgo-mcp-server poetry add duckduckgo-mcp-server ## Installing duckduckgo-mcp-server 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. 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"] # } # } # } 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). 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: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 170.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags duckduckgo search mcp server, web search integration claude, mcp server web content fetching, llm web search tool, duckduckgo api wrapper, mcp-server, llm-integration, web-search [View on SkillFed](https://skillfed.io/packages/duckduckgo-mcp-server) · [View on PyPI](https://pypi.org/project/duckduckgo-mcp-server/)