DuckDuckGo MCP Server
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:
makeOr directly with Docker/Podman:
docker build -t ddg-mcp-server:0.1.0 .Running
Run the container exposing port 9870:
docker run -p 9870:9870 ddg-mcp-server:0.1.0MCP 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)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trustgraph-ai/duckduckgo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server