DuckDuckGo Search MCP Server

Enables web searches using DuckDuckGo and integrates with Model Context Protocol (MCP) for advanced result exploration.

Local serverstdioPython 16

What is the DuckDuckGo Search MCP server?

DuckDuckGo Search MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Enables web searches using DuckDuckGo and integrates with Model Context Protocol (MCP) for advanced result exploration.

What you get

A Model Context Protocol (MCP) server that provides web search capabilities using DuckDuckGo. This server enables LLMs to search the web and retrieve detailed content from websites through structured data extraction.

  • Fast and reliable — . Uses DuckDuckGo's web interface with robust HTML parsing
  • LLM-friendly — . Returns structured data optimized for AI consumption
  • Content extraction — . Intelligently extracts and summarizes webpage content
  • Related searches — . Generates contextual search suggestions

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once DuckDuckGo Search is connected, these are the calls the assistant has available:

  • Cursor — The Cursor tool exposed by this server
  • Windsurf — Follow Windsurf MCP documentation. Use the standard config above
  • Goose — The Goose tool exposed by this server

Configuration and credentials

You will need one environment variable: MCP_PORT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10 or newer - VS Code, Cursor, Windsurf, Claude Desktop, Goose or any other MCP client

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the duckduckgo search mcp server does with a few real requests.

Choosing this one

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. DuckDuckGo Search's toolset — Cursor, Windsurf, Goose — is a fair guide to whether it matches your workflow. It is maintained by gianlucamazza; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against DuckDuckGo Search's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
CursorThe Cursor tool exposed by this server.
WindsurfFollow Windsurf MCP [documentation](https://docs.windsurf.com/windsurf/cascade/mcp). Use the standard config above.
GooseThe Goose tool exposed by this server.

How to install the DuckDuckGo Search MCP server

{
  "mcpServers": {
    "duckduckgo-search": {
      "command": "mcp-duckduckgo"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10 or newer - VS Code, Cursor, Windsurf, Claude Desktop, Goose or any other MCP client
VariableDescriptionRequired
MCP_PORTConfiguration value read at startup.Optional

Example prompts to try

  • Use DuckDuckGo Search to Cursor.
  • Use DuckDuckGo Search to Windsurf.
  • Use DuckDuckGo Search to Goose.

Frequently asked questions

It provides features like detailed search result information, related search suggestions, pagination, rich content and metadata extraction from web pages, and even basic web spidering capabilities.