Data as of
DuckDuckGo Search MCP Server for Windsurf: Setup & Config
Windsurf: Give MCP assistants DuckDuckGo search and webpage text retrieval.
What you can do with DuckDuckGo Search in Windsurf
Choose it for DuckDuckGo discovery plus controlled page extraction in one MCP server.
- Read long webpages in bounded text segments.
- Apply administrator-controlled SafeSearch filtering.
Before you start: DuckDuckGo Search in Windsurf
- uvx available to the MCP client
- An MCP-compatible client
The README documents this default stdio launch. SSE and streamable HTTP are alternatives. Install the browser extra to enable curl-based fallback when search endpoints block httpx.
DuckDuckGo Search Windsurf configuration
Choose Windsurf configuration scope
For DuckDuckGo Search MCP Server, open macOS/Linux: ~/.codeium/windsurf/mcp_config.json Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json. Merge into mcpServers; remote endpoints use serverUrl.
Add DuckDuckGo Search MCP Server to Windsurf
Use the duckduckgo-mcp-server entry below in mcpServers. Keep DuckDuckGo Search MCP Server's documented stdio connection fields and your other Windsurf entries.
Check DuckDuckGo Search MCP Server in Windsurf
DuckDuckGo Search MCP Server: Refresh MCP in Windsurf settings and inspect Cascade’s tools.
Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"duckduckgo-mcp-server": {
"command": "uvx",
"args": [
"duckduckgo-mcp-server"
],
"env": {
"DDG_SAFE_SEARCH": "<optional STRICT, MODERATE, or OFF filtering level>",
"DDG_REGION": "<optional default region and language code>"
}
}
}
}DuckDuckGo Search tools available to Windsurf
DuckDuckGo Search's stored tool list documents 2 tools; compare it with Windsurf's connected tool list, because the stored list is not a live check.
- search
After refreshing DuckDuckGo Search in Windsurf settings, check Cascade's tool list for search.
- fetch_content
After refreshing DuckDuckGo Search in Windsurf settings, check Cascade's tool list for fetch_content.
Extract readable webpage text with offset, length, and HTTP-backend options.
Troubleshooting DuckDuckGo Search in Windsurf
- Check uvx duckduckgo-mcp-server (from uv, for Python tools) on the machine running Windsurf's MCP integration for DuckDuckGo Search MCP Server; refresh MCP and inspect Cascade's tools.
- Check DDG_REGION, DDG_SAFE_SEARCH for DuckDuckGo Search MCP Server; do not bypass a Windsurf permission error with a broad administrator token.
- DuckDuckGo Search MCP Server uses stdio here: Windsurf must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Browser fallback requires an additional dependency.
- Known limitation: Search and fetch operations have separate rate limits.
- Known limitation: Some sites block the default HTTP backend.
- General Windsurf troubleshooting lives in the /clients/windsurf guide.
DuckDuckGo Search MCP Server — details. Windsurf guide