Provides web search capabilities and content fetching from URLs using DuckDuckGo's search engine, allowing users to search the web and retrieve parsed webpage content
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides DuckDuckGo search capabilities and web content fetching.
Origin
This server was copied from nickclyde/duckduckgo-mcp-server on GitHub.
Copyright (c) 2025 Nick Clyde Released under the MIT License
Features
- Web Search: Search DuckDuckGo and return formatted results
- Content Fetching: Fetch and parse webpage content from URLs
- Rate limiting to prevent overwhelming services
- Runs as an MCP server on port 9870
Building
Build the container using the Makefile:
Or directly with Docker/Podman:
Running
Run the container exposing port 9870:
MCP Tools
The server provides two MCP tools:
- search: Search DuckDuckGo and return formatted results
query
: The search query stringmax_results
: Maximum number of results to return (default: 10)
- fetch_content: Fetch and parse content from a webpage URL
url
: The webpage URL to fetch content from
Dependencies
- Python 3.12
- mcp (Model Context Protocol)
- httpx (async HTTP client)
- beautifulsoup4 (HTML parsing)
CI/CD
The repository includes GitHub Actions workflows for:
- Pull request testing (builds the container)
- Release deployment (builds and pushes to Docker Hub)
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.
Related MCP Servers
- AsecurityAlicenseAqualityEnables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.Last updated -610MIT License
- -securityAlicense-qualityProvides web search functionality via DuckDuckGo for Claude Code and MCP-compatible clients, featuring advanced content exploration, navigation across search results, and detailed webpage analysis.Last updated -5MIT License
- AsecurityFlicenseAqualityA server that provides DuckDuckGo search capabilities (text, image, news, video search and AI chat) through the Model Context Protocol.Last updated -58
- AsecurityFlicenseAqualityAllows you to search the web using DuckDuckGo and optionally fetch and summarize content from search results.Last updated -23