Duckduckgo MCP Server
Duckduckgo MCP Server is an MCP server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing. It has 1,551 GitHub stars, is released under the MIT license and runs locally with uvx duckduckgo-mcp-server. It works with Claude Desktop, Claude Code, Cursor and VS Code.
github.com/nickclyde/duckduckgo-mcp-server (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Install Duckduckgo MCP Server
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"duckduckgo-mcp-server": {
"command": "uvx",
"args": [
"duckduckgo-mcp-server"
],
"env": {
"DDG_SAFE_SEARCH": "your-value",
"DDG_REGION": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env DDG_SAFE_SEARCH=your-value --env DDG_REGION=your-value --transport stdio duckduckgo-mcp-server -- uvx duckduckgo-mcp-serverCursor
{
"mcpServers": {
"duckduckgo-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"duckduckgo-mcp-server"
],
"env": {
"DDG_SAFE_SEARCH": "your-value",
"DDG_REGION": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"duckduckgo-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"duckduckgo-mcp-server"
],
"env": {
"DDG_SAFE_SEARCH": "your-value",
"DDG_REGION": "your-value"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
DDG_SAFE_SEARCH | No | Shown in the README's example configuration. |
DDG_REGION | No | Shown in the README's example configuration. |
Tools (14)
Parsed from the Tools section of the README; check the repository for the current list.
querySearch query string
max_resultsMaximum number of results to return (default: 10)
region(Optional) Region/language code to override the default. Leave empty to use the configured default region.
us-enUnited States (English)
cn-zhChina (Chinese)
jp-jaJapan (Japanese)
de-deGermany (German)
fr-frFrance (French)
wt-wtNo specific region
start_indexCharacter offset to start reading from (for pagination)
max_lengthMaximum number of characters to return
backendOptional per-call override of the default fetch backend ("httpx", "curl", or "auto").
parse_modeOptional per-call extractor ("text", "main", or "markdown"). When omitted, uses DDGPARSEMODE / --parse-mode (default…
tokenA ref:// token exactly as it appeared in search results (the bare id also works)
About Duckduckgo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
Similar MCP servers
More ai & search MCP servers
MeiGen AI Design MCP
jau123/MeiGen-AI-Design-MCP
Discover inspiration and create images and videos with the latest AI models.
Active · last commit Oct 21, 2026
AI & searchTypeScriptBrave Search MCP Server
brave/brave-search-mcp-server
Brave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
Active · last commit Oct 21, 2026
OfficialAI & searchTypeScriptOpen WebSearch
Aas-ee/open-webSearch
Multi-engine MCP server, CLI, and local daemon for agent web search and content retrieval — skill-guided workflows, no API keys.
Active · last commit Oct 8, 2026
AI & searchTypeScriptOpen Ontologies
fabio-rovai/open-ontologies
Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Active · last commit Oct 23, 2026
AI & searchRustMicrosoft Learn MCP
MicrosoftDocs/mcp
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Maintained · last commit Sep 10, 2026
OfficialAI & searchTypeScriptSearXNG Search
ihor-sokoliuk/mcp-searxng
MCP server for SearXNG — privacy-respecting web search with pagination, URL reading.
Active · last commit Oct 25, 2026
AI & searchTypeScript
How do I install the Duckduckgo MCP Server MCP server?
Add the command uvx duckduckgo-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Duckduckgo MCP Server free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Duckduckgo MCP Server actively maintained?
The most recent commit was on Sep 4, 2026. The latest release is v0.7.0, published Sep 4, 2026. appsgit only lists MCP servers with a commit in the last six months.