Cover image
Try Now
2025-03-17

使用DuckDuckgo和Jina API的Web搜索/获取功能的MCP服务器。无需API密钥。

3 years

Works with Finder

1

Github Watches

2

Github Forks

0

Github Stars

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).

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_IGU774yd
    2025-04-18

    As a loyal user of MCP applications, I was thrilled to discover web-search-duckduckgo by kouui. This tool seamlessly integrates DuckDuckGo's search functionality, providing efficient and privacy-respecting search results. It's robust, user-friendly, and the GitHub repository is well-documented. A must-try for anyone prioritizing privacy in their web searches!