duckduckgo-mcp-server

Level ALocal

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

Overview

An MCP server that gives LLMs web search and content fetching through DuckDuckGo. It formats search results, intelligently extracts webpage text, and turns over-long URLs into short ref:// tokens to save context. Built-in rate limiting, caching, and error handling are included, with configurable SafeSearch, region, parse modes, and httpx/curl backends. Output is tailored for LLM consumption.

⭐ 1.6kSearch & InfoPythonRepo ↗Updated 2026-09-04

Installation

MCP client config (paste into mcp.json)

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

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/nickclyde/duckduckgo-mcp-server

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "nickclyde-duckduckgo-mcp-server": {
      "command": "uvx",
      "args": [
        "duckduckgo-mcp-server"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers