# DDG Web Search [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/lucivuc/ddg-web-search  
**GitHub Stars:** 0  
**npm Downloads (last month):** 53  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lucid-spark-ddg-web-search

## Description
A comprehensive package for searching the web and fetching web content programmatically, through a CLI interface, or through a Model Context Protocol (MCP) server.

## Tools
Capabilities this server exposes over MCP:

- **search** — Search the web using DuckDuckGo with browser automation
- **fetch_web_content** — Fetch and parse content from a web URL with intelligent scraping

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ddg-web-search": {
    "command": "npx",
    "args": ["-y","@lucid-spark/ddg-web-search"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/lucid-spark-ddg-web-search/readme_

