DuckDuckGo MCP Server
Overview
DuckDuckGo MCP Server is a Node.js server that implements the Model Context Protocol (MCP) for performing web searches using DuckDuckGo.
To use the DuckDuckGo MCP Server, you can integrate it with Claude Desktop by adding the provided configuration to your claude_desktop_config.json, or you can run it using Docker with the specified command.
- Web search functionality using DuckDuckGo. - Easy integration with other applications via MCP.
- Integrating DuckDuckGo search capabilities into custom applications.
- Enhancing privacy-focused applications with web search features.
Add to your AI client
Use these steps to connect DuckDuckGo MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"duckduckgo-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"duckduckgo-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"duckduckgo-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"duckduckgo-mcp-server-ashdevfr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"duckduckgo-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"duckduckgo-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-duckduckgo-mcp-server-ashdevfr"
]
}
}
}FAQ
What is the purpose of the DuckDuckGo MCP Server?
The DuckDuckGo MCP Server allows developers to perform web searches while maintaining user privacy by utilizing DuckDuckGo's search engine.
Is the DuckDuckGo MCP Server free to use?
Yes! The DuckDuckGo MCP Server is open-source and free to use under the MIT license.
How can I run the DuckDuckGo MCP Server?
You can run it using Docker or integrate it with Claude Desktop by following the provided configuration.