Provides a Model Context Protocol (MCP) server enabling web searches via DuckDuckGo with features including result extraction, concurrent content fetching and markdown conversion, configurable result limits, and robust error handling for seamless integration with MCP-compatible clients.
Unlock the full potential of DuckDuckGo Web Search MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
This project provides an MCP (Model Context Protocol) server that allows you to search the web using the DuckDuckGo search engine and optionally fetch and summarize the content of the found URLs.
Prerequisites:
uvx
package managerClaude Desktop Configuration
claude_desktop_config.json
file.{ "mcpServers": { "web-search-duckduckgo": { "command": "uvx", "args": [ "--from", "git+https://github.com/kouui/web-search-duckduckgo.git@main", "main.py" ] } } }
the above configuration is not working, you might need to clone the repository to local pc and use the following configuration
{ "mcpServers": { "web-search-duckduckgo": { "command": "uv", "args": [ "--directory", "/path/to/web-search-duckduckgo", "run", "main.py" ] } } }
Tool
In your MCP client (e.g., Claude), you can now use the following tools:
search_and_fetch
: Search the web and fetch the content of the URLs.
query
: The search query string.limit
: The maximum number of results to return (default: 3, maximum: 10).fetch
: Fetch the content of a specific URL.
url
: The URL to fetch.This project is licensed under the MIT License. (Add a license file if you want to specify a license).
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!