This repository provides a Model Context Protocol (MCP) server offering DuckDuckGo web search, content fetching, and parsing capabilities. It includes rate limiting, error handling, and LLM-friendly output formatting for seamless integration.
A Model Context Protocol (MCP) server providing DuckDuckGo web search, content fetching, and parsing capabilities.
<a href="https://glama.ai/mcp/servers/phcus2gcpn"> <img width="380" height="200" src="https://glama.ai/mcp/servers/phcus2gcpn/badge" alt="DuckDuckGo Server MCP server" /> </a>Install via Smithery or uv
:
npx -y @smithery/cli install @nickclyde/duckduckgo-mcp-server --client claude
uv pip install duckduckgo-mcp-server
Integrate with Claude Desktop by modifying the configuration file (claude_desktop_config.json
) to include the ddg-search
MCP server. Development can be done using the MCP CLI.
Rate limiting is set to 30 search requests and 20 content fetching requests per minute. Results are processed to remove ads, clean URLs, and format for LLM consumption. Comprehensive error handling and detailed logging are included.
Contributions are welcome. Potential improvements include additional search parameters, enhanced content parsing, caching, and rate limiting strategies.
This project is licensed under the MIT License.
nickclyde/duckduckgo-mcp-server
February 22, 2025
March 28, 2025
Python