DDG Web Search logo

DDG Web Search

Searches DuckDuckGo and fetches parsed web content through MCP tools over stdio or HTTP.

Install DDG Web Search

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lucid-spark-ddg-web-search": {
      "command": "npx",
      "args": [
        "-y",
        "@lucid-spark/ddg-web-search"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @lucid-spark/ddg-web-search

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The DDG Web Search MCP server connects AI assistants to DuckDuckGo search and web pages through two MCP tools. It uses Puppeteer for browser-based search and JavaScript rendering, then fetches, cleans, and converts page content to Markdown. Choose it when an agent needs web search results or readable content from a specific URL without adding a custom search integration.

Use cases

  • Search DuckDuckGo for technical documentation
  • Fetch and parse a selected web page
  • Collect snippets and URLs for web research
  • Run web tools through an HTTP MCP endpoint

Key features

  • DuckDuckGo search with browser automation
  • Web page fetching and content extraction
  • HTML-to-Markdown conversion
  • Stdio and HTTP/SSE transports
  • Request rate management
  • TypeScript and CLI support

Tools2

What DDG Web Search lets your agent do. Expand a tool for its parameters.

Self-reported~36 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

10/10 checks healthy over the last 39d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @lucid-spark/ddg-web-search (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads53Package downloads in the last 30 days.
Last commit11mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How DDG Web Search works

What DDG Web Search does

The DDG Web Search MCP server exposes two tools for web research:

  • search submits a query to DuckDuckGo through browser automation and returns titles, URLs, and snippets.
  • fetch_web_content retrieves a web page, extracts its content and metadata, and returns cleaned text. Output can be converted from HTML to Markdown and is truncated to 10,000 characters when necessary.

This places the project in the 🔎 Search & Data Extraction category. It is suitable for agents that need to discover pages first and then read a selected result, such as documentation lookup, source collection, or basic web research.

How it works

Search uses Puppeteer to control a browser and render JavaScript-heavy pages. The implementation includes captcha handling and anti-detection measures described by the project. Page fetching uses HTTP requests together with HTML parsing, content cleaning, metadata extraction, and HTML-to-Markdown conversion.

The DDG Web Search MCP server can run with stdio, the default transport, or with HTTP and Server-Sent Events. In HTTP mode, the service exposes a server-information route at /, an SSE connection at /sse, and a message route at /message/{sessionId}. The HTTP port defaults to 3001 and the host defaults to localhost, with both configurable through command-line options.

Automatic request rate management is included, along with handling for browser, HTTP, and network errors. These behaviors help the process manage ordinary request failures, but the material does not guarantee access to every site or search result.

Setup and configuration

Install the package globally with npm install -g @lucid-spark/ddg-web-search for the CLI and MCP command, or install it locally as an npm dependency. The package lists Puppeteer and the MCP SDK among its MCP-related dependencies. Docker images and local Docker builds are also documented.

For stdio, start the server with ddg-web-search-mcp, use npx @lucid-spark/ddg-web-search mcp, or run the built dist/mcp.js file. For HTTP, use the MCP command with --transport http, then optionally set --port and --host. The documented HTTP example uses port 3001.

Client configuration supplies the executable command and arguments; no environment variables are documented as required. Claude Desktop is shown as an example MCP client configuration. The package also provides CLI commands for direct searches, URL fetching, interactive use, and starting either MCP transport.

Tools and capabilities

The DDG Web Search MCP server provides:

  • DuckDuckGo searches through a rendered browser session.
  • Search results containing titles, links, and snippets.
  • URL fetching with extracted text and page metadata.
  • HTML-to-Markdown conversion and content cleanup.
  • Stdio and HTTP/SSE MCP transport options.
  • TypeScript support and a command-line interface.

Limitations and notes

Search depends on browser automation, so Puppeteer must be able to run in the target environment. The project notes that headless mode is the default and that non-headless mode can be used for debugging or manual captcha solving in the programmatic API. Fetched content may be limited to 10,000 characters.

The DDG Web Search MCP server does not document authentication settings, API keys, result-ranking controls, or guarantees about blocked, dynamic, or inaccessible pages.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DDG Web Search

DDG Web Search is an MCP server that connects AI assistants to DuckDuckGo and web pages. Its main tools are `search`, which returns DuckDuckGo results with titles, URLs, and snippets, and `fetch_web_content`, which retrieves, parses, cleans, and returns content and metadata from a specified URL.

Install it with `npm install -g @lucid-spark/ddg-web-search` or use `npx @lucid-spark/ddg-web-search mcp`. You can also install it locally or run the documented Docker image. The package includes commands for starting the MCP server over stdio or HTTP.

Configure Claude Desktop with the `ddg-web-search-mcp` command, or use `npx` with `@lucid-spark/ddg-web-search mcp`.

Yes, it supports HTTP transport with Server-Sent Events. Start the server with `--transport http`; the default port is 3001 and the default host is localhost. The documented endpoints are `/`, `/sse`, and `/message/{sessionId}`.

It fetches a supplied URL, parses the HTML, extracts metadata and readable content, cleans the result, and converts HTML to Markdown. Returned content is truncated to 10,000 characters when needed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDDG Web Search AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lucid-spark-ddg-web-search?style=directory)](https://allmcps.com/mcp/lucid-spark-ddg-web-search)
HTML Embed
<a href="https://allmcps.com/mcp/lucid-spark-ddg-web-search"><img src="https://allmcps.com/api/badge/lucid-spark-ddg-web-search?style=directory" alt="DDG Web Search on AllMCPs" /></a>