drio
Open app

duckduckgo-search MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

DuckDuckGo MCP Server is a TypeScript-based Model Context Protocol server that integrates with DuckDuckGo Search, providing a simple interface for web searches.

To use the server, install the necessary dependencies, build the server, and configure it in Claude Desktop. You can perform searches by sending requests to the server with the required parameters.

  • Integration with DuckDuckGo Search API - Easy-to-use search tool interface - Rate limiting and error handling support
  1. Performing web searches using DuckDuckGo API.
  2. Integrating search functionality into applications.
  3. Debugging and testing search queries with the MCP Inspector.

Add to your AI client

Use these steps to connect duckduckgo-search MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "duckduckgo-mcp-server-zhsama": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "duckduckgo-mcp-server-zhsama": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "duckduckgo-mcp-server-zhsama": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "duckduckgo-mcp-server-zhsama": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "duckduckgo-mcp-server-zhsama": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "duckduckgo-mcp-server-zhsama": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-duckduckgo-mcp-server-zhsama"
      ]
    }
  }
}

FAQ

What is the maximum number of requests allowed?

The server allows a maximum of 1 request per second and 15000 requests per month.

What are the prerequisites for running the server?

You need Node.js version 18 or higher and pnpm version 8.0.0 or higher.

How can I debug the server?

You can use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.