DuckDuckGo Web Search MCP
Provides DuckDuckGo web search and research capabilities: runs searches, returns result URLs and titles, fetches pages, and combines parallel search/fetch pipelines for cached research.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DuckDuckGo Web Search MCP
NOTE: This MCP is a vibe-coded translation of https://github.com/itohnobue/web_search_agent.
Generic web research MCP server built on top of DuckDuckGo + httpx.
Tools
Tool | Description |
| DuckDuckGo search → |
| Fetch + extract a single URL |
| Full search + parallel fetch pipeline (cached) |
| Update filter lists at runtime (management) |
| Clear all cached results (management) |
| Show cache statistics (management) |
Related MCP server: Web Search MCP Server
Prompts
Prompt | Description |
| Template for synthesising research results into a structured report |
Resources
URI | Description |
| Readable list of blocked domains |
| Readable list of skip URL regex patterns |
| Readable CAPTCHA detection markers |
| Read-only cache statistics |
Installation
# Clone the repository
git clone <repo>
cd duckduckgo-search-mcp
# Install in editable mode (recommended)
pip install -e .
# Or with uv
uv pip install -e .Running
duckduckgo-search-mcpMCP Client Configuration
Add to your claude_desktop_config.json (or equivalent):
{
"mcpServers": {
"duckduckgo-search": {
"command": "duckduckgo-search-mcp"
}
}
}Alternative (without installing globally):
{
"mcpServers": {
"duckduckgo-search": {
"command": "uv",
"args": ["--directory", "/path/to/duckduckgo-search-mcp", "run", "duckduckgo-search-mcp"]
}
}
}Optional Configuration
Env var | Default | Description |
|
| In-memory TTL (seconds) |
|
| Max in-memory entries |
|
| Logging level |
Runtime Filter Updates
Use the _update_filters tool to extend or replace filter lists without restarting:
{
"name": "_update_filters",
"arguments": {
"blocked_domains": ["reddit.com", "twitter.com", "mysite.com"]
}
}Development
# Install with dev dependencies
uv sync --extra dev
# Run tests
uv run pytest tests/ -v
# Or with pytest directly if installed
pytest tests/ -vArchitecture
duckduckgo_search_mcp/
├── server.py # MCP server: tools, resources, prompts
├── core/
│ ├── config.py # ResearchConfig, FetchResult, ResearchStats
│ ├── filters.py # URL + content filtering (runtime-configurable)
│ ├── extractor.py # HTML → clean text
│ ├── fetcher.py # Async HTTP/2 page fetcher
│ ├── ddg.py # DuckDuckGo search wrapper
│ ├── pipeline.py # Async search+fetch producer/consumer pipeline
│ ├── formatters.py # JSON / raw / markdown output formatters
│ └── cache.py # In-memory LRU cache
├── tools/
│ ├── search.py # search_web handler
│ ├── fetch.py # fetch_page handler
│ └── research.py # research handler
└── prompts/
└── research_report.md # Report synthesis prompt templateTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
Neural search synthesizer, deep research dossier compiler, and citation tools.
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to perform comprehensive web research through tiered search, secure URL fetching with markdown conversion, and automated multi-source synthesis pipelines. Provides read-only tools with configurable caching, SSRF protection, and optional LLM-powered summarization for search results and content analysis.81MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform web searches, extract webpage content, and conduct end-to-end search-and-extract operations using multiple search providers and content extraction methods.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform web research in one tool call by searching, fetching and cleaning full pages, and ranking cited passages. Provides web_research, web_fetch, web_search, and status tools for MCP clients.1MIT
- AlicenseNot gradedqualityAmaintenanceEnables coding agents to run local-first web research: intent-routed search across independent engines with reranking, a multi-stage fetch/crawl ladder, and document extraction. Results come back as signed-cursor, citation-bearing evidence envelopes, with an optional separately enabled profile for browser click/type actions.AGPL 3.0