Feedback

duckduckgo-search MCP Server

@zhsama Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
zhsama
Submitted by
Community
Quality
40
Stars
84

About duckduckgo-search MCP Server

# duckduckgo-search MCP Server

duckduckgo-search MCP Server is a MCP server in the Search category listed in the AddMCP.net directory, published by zhsama. It exposes 1 tool, including duckduckgo_web_search. Supported transport: stdio. Runtime: node. License: MIT. The repository has 84 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "duckduckgo-search": {
            "command": "npx",
            "args": [
                "-y",
                "duckduckgo-mcp-server"
            ]
        }
    }
}

duckduckgo-search MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "duckduckgo-search": {
            "command": "npx",
            "args": [
                "-y",
                "duckduckgo-mcp-server"
            ]
        }
    }
}

duckduckgo-search MCP Server tools

  • duckduckgo_web_search — Performs a web search using the DuckDuckGo, ideal for general queries, news, articles, and online content. Use this for broad information gathering, recent events, or when you need diverse web sources. Supports content filtering and region-specific searches. Maximum 20 results per request.
    query:string*, count:number, safeSearch:string

Overview

What is duckduckgo-search MCP Server?

A TypeScript-based Model Context Protocol (MCP) server that provides web search functionality through the DuckDuckGo API. It is designed for developers using AI assistants (e.g., Claude Desktop) who need to perform web searches via a standard tool interface.

How to use duckduckgo-search MCP Server?

Configure the server in Claude Desktop by adding the duckduckgo-search entry to the mcpServers object in claude_desktop_config.json. Use either the online command (npx -y duckduckgo-mcp-server) or the local build path. Once connected, the duckduckgo_search tool handles searches.

Key features of duckduckgo-search MCP Server

  • DuckDuckGo web search via the duckduckgo_search tool.
  • Required query parameter (max 400 characters).
  • Optional count (1–20 results, default 10) and safeSearch (strict/moderate/off, default moderate).
  • Returns formatted Markdown search results.
  • Rate limit of 1 request per second and 15,000 requests per month.
  • Built with TypeScript; supports development with auto-rebuild and MCP Inspector.

Use cases of duckduckgo-search MCP Server

  • Let an AI assistant fetch current web information on demand.
  • Integrate web search into agent workflows without a dedicated API key.
  • Retrieve search results in a structured, readable Markdown format.

Frequently asked questions

1 What parameters does the `duckduckgo_search` tool require?

The tool requires a query string (search term, up to 400 characters). You may optionally set count (integer 1–20, default 10) and safeSearch (one of strict, moderate, or off, default moderate).

2 What are the rate limits?

Maximum 1 request per second and 15,000 requests per month.

3 How do I install and prepare the server for development?

You need Node.js >= 18, pnpm >= 8.0.0, then run pnpm install and pnpm run build (or pnpm run watch for auto-rebuild). The MCP Inspector is available via pnpm run inspector.

4 How do I configure the server in Claude Desktop?

Edit the JSON config file (claude_desktop_config.json) on MacOS at ~/Library/Application Support/Claude/ or on Windows at %APPDATA%/Claude/. Add an entry for duckduckgo-search with either the npx command or the local built server path.

5 Does the server require any API key or external account?

No. The server uses the free DuckDuckGo API and does not require an API key or account registration.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬