DuckDuckGo Web Search MCP Server

MCP server of web search/fetch functionality using duckduckgo and jina api. no api key required.

Local serverstdio

What is the DuckDuckGo Web Search MCP Server?

MCP server of web search/fetch functionality using duckduckgo and jina api. no api key required.

The short version

This project provides an MCP (Model Context Protocol) server that allows you to search the web using the DuckDuckGo search engine and optionally fetch and summarize the content of the found URLs.

  • Web Search: — Search the web using DuckDuckGo
  • Result Extraction: — Extracts titles, URLs, and snippets from search results
  • Content Fetching (Optional): — Fetches the content of the URLs found in the search results and converts it to markdown format using jina api
  • Parallel Fetching: — Fetches multiple URLs concurrently for faster processing
  • Error Handling: — Gracefully handles timeouts and other potential errors during search and fetching
  • Configurable: — Allows you to set the maximum number of search results to return

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
queryThe search query string.
limitThe maximum number of results to return (default: 3, maximum: 10).
urlThe URL to fetch.

How to install the DuckDuckGo Web Search MCP Server

{
        "mcpServers": {
            "web-search-duckduckgo": {
                "command": "uvx",
                "args": [
                    "--from",
                    "git+https://github.com/kouui/web-search-duckduckgo.git@main",
                    "main.py"
                ]
            }
        }
    }

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use DuckDuckGo Web Search to query.”
  • “Use DuckDuckGo Web Search to limit.”
  • “Use DuckDuckGo Web Search to url.”

Frequently asked questions

Two tools: `search_and_fetch` (searches DuckDuckGo and optionally fetches content) and `fetch` (fetches content of a given URL). The `search_and_fetch` tool accepts `query` (string) and `limit` (integer, default 3, max 10). The `fetch` tool accepts `url` (string).