Skip to content
appsgit

Duckduckgo MCP Server

Duckduckgo MCP Server is an MCP server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing. It has 1,551 GitHub stars, is released under the MIT license and runs locally with uvx duckduckgo-mcp-server. It works with Claude Desktop, Claude Code, Cursor and VS Code.

github.com/nickclyde/duckduckgo-mcp-server (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Duckduckgo MCP Server

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "duckduckgo-mcp-server": {
      "command": "uvx",
      "args": [
        "duckduckgo-mcp-server"
      ],
      "env": {
        "DDG_SAFE_SEARCH": "your-value",
        "DDG_REGION": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env DDG_SAFE_SEARCH=your-value --env DDG_REGION=your-value --transport stdio duckduckgo-mcp-server -- uvx duckduckgo-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "duckduckgo-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "duckduckgo-mcp-server"
      ],
      "env": {
        "DDG_SAFE_SEARCH": "your-value",
        "DDG_REGION": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "duckduckgo-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "duckduckgo-mcp-server"
      ],
      "env": {
        "DDG_SAFE_SEARCH": "your-value",
        "DDG_REGION": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
DDG_SAFE_SEARCHNoShown in the README's example configuration.
DDG_REGIONNoShown in the README's example configuration.

Tools (14)

Parsed from the Tools section of the README; check the repository for the current list.

  • query

    Search query string

  • max_results

    Maximum 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-en

    United States (English)

  • cn-zh

    China (Chinese)

  • jp-ja

    Japan (Japanese)

  • de-de

    Germany (German)

  • fr-fr

    France (French)

  • wt-wt

    No specific region

  • start_index

    Character offset to start reading from (for pagination)

  • max_length

    Maximum number of characters to return

  • backend

    Optional per-call override of the default fetch backend ("httpx", "curl", or "auto").

  • parse_mode

    Optional per-call extractor ("text", "main", or "markdown"). When omitted, uses DDGPARSEMODE / --parse-mode (default…

  • token

    A ref:// token exactly as it appeared in search results (the bare id also works)

About Duckduckgo MCP Server

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

FAQ

Duckduckgo MCP Server FAQ

Still curious? Email info@appsgit.com.

How do I install the Duckduckgo MCP Server MCP server?

Add the command uvx duckduckgo-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Duckduckgo MCP Server free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Duckduckgo MCP Server actively maintained?

The most recent commit was on Sep 4, 2026. The latest release is v0.7.0, published Sep 4, 2026. appsgit only lists MCP servers with a commit in the last six months.