Skip to main content
Glama

DuckDuckGo Web Search MCP Server

by kouui

DuckDuckGo Web Search MCP Server

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.

Features

  • 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.
  • Jina API: using jina api to convert html to markdown.
  • MCP Compliant: This server is designed to be used with any MCP-compatible client.

Usage

  1. Prerequisites:
    • uvx package manager
  2. Claude Desktop Configuration
    • If you are using Claude Desktop, you can add the server to the claude_desktop_config.json file.
    { "mcpServers": { "web-search-duckduckgo": { "command": "uvx", "args": [ "--from", "git+https://github.com/kouui/web-search-duckduckgo.git@main", "main.py" ] } } }

    the above configuration is not working, you might need to clone the repository to local pc and use the following configuration

    { "mcpServers": { "web-search-duckduckgo": { "command": "uv", "args": [ "--directory", "/path/to/web-search-duckduckgo", "run", "main.py" ] } } }
  3. Tool
    • In your MCP client (e.g., Claude), you can now use the following tools:
    • search_and_fetch: Search the web and fetch the content of the URLs.
      • query: The search query string.
      • limit: The maximum number of results to return (default: 3, maximum: 10).
    • fetch: Fetch the content of a specific URL.
      • url: The URL to fetch.

License

This project is licensed under the MIT License. (Add a license file if you want to specify a license).

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Allows you to search the web using DuckDuckGo and optionally fetch and summarize content from search results.

  1. Features
    1. Usage
      1. License

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Enables search capabilities using a Google Custom Search Engine, allowing users to input a search term and retrieve search result titles, links, and snippets, while facilitating integration with other tools for content extraction and advanced search strategies.
          Last updated -
          1
          29
          Python
          The Unlicense
        • -
          security
          A
          license
          -
          quality
          Enables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.
          Last updated -
          18
          3
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          Provides web search capabilities using Google Custom Search API, enabling users to perform searches through a Model Context Protocol server.
          Last updated -
          2
          1,025
          36
          JavaScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          Provides web search functionality via DuckDuckGo for Claude Code and MCP-compatible clients, featuring advanced content exploration, navigation across search results, and detailed webpage analysis.
          Last updated -
          4
          Python
          MIT License

        View all related MCP servers

        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/kouui/web-search-duckduckgo'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server