MCP Hub
Back to servers

duckduckgo-mcp

A DuckDuckGo search server that allows AI assistants to perform real-time web searches, fetch webpage content, and retrieve search suggestions.

Updated
Nov 8, 2025

DuckDuckGo MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to perform real-time web searches using DuckDuckGo.

Features

  • Web Search: Search the web with DuckDuckGo
  • Content Fetching: Extract clean content from web pages
  • Search Suggestions: Get related search suggestions
  • Dual Mode: stdio (local) and HTTP (remote) support
  • Rate Limiting: Built-in protection against abuse

Quick Start

Local Setup (Claude Desktop)

  1. Install dependencies:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Configure Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
  "mcpServers": {
    "duckduckgo-search": {
      "command": "/path/to/venv/bin/python",
      "args": ["/path/to/run_mcp_server.py"]
    }
  }
}

Configuration

OptionDefaultDescription
mode"http""stdio" for local, "http" for remote
port3000HTTP port (http mode only)
searchRateLimit30Max searches per minute
maxResultsDefault10Default number of results

⚠️ Legal Notice

This software uses an DuckDuckGo scraping library.

For Educational Use Only:

  • ✅ Personal learning and research
  • ✅ Local development and testing
  • ❌ Commercial use or production deployments
  • ❌ High-volume automated searches

No Warranty: Use at your own risk. The author assumes no liability.

Commercial Alternatives:

License

Reviews

No reviews yet

Sign in to write a review