Duckduckgo MCP Server

A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and

Local serverstdioPython

What is the Duckduckgo MCP Server?

A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.

What the server does

  • Web Search — Search DuckDuckGo with advanced rate limiting and result formatting
  • Content Fetching — Retrieve and parse webpage content with intelligent text extraction
  • Rate Limiting — Built-in protection against rate limits for both search and content fetching
  • Error Handling — Comprehensive error handling and logging
  • LLM-Friendly Output — Results formatted specifically for large language model consumption

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
querySearch query string
max_resultsMaximum number of results to return (default: 10)
region(Optional) Region/language code to override the default. Leave empty to use the configured default region.
us-enUnited States (English)
cn-zhChina (Chinese)
jp-jaJapan (Japanese)
de-deGermany (German)
fr-frFrance (French)
wt-wtNo specific region
urlThe webpage URL to fetch content from, or a ref:// token from search results
start_indexCharacter offset to start reading from (for pagination)
max_lengthMaximum number of characters to return
backendOptional per-call override of the default fetch backend ("httpx", "curl", or "auto"). When omitted, uses whatever was set via --fetch-backend at server startup.
parse_modeOptional per-call extractor ("text", "main", or "markdown"). When omitted, uses DDG_PARSE_MODE / --parse-mode (default text).
tokenA ref:// token exactly as it appeared in search results (the bare id also works)

How to install the Duckduckgo MCP Server

{
  "mcpServers": {
    "ddg-search": {
      "command": "uvx",
      "args": [
        "duckduckgo-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Duckduckgo to Development.”

Frequently asked questions

A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.