Skip to main content
Glama

DuckDuckGo Web Search MCP Server

by kouui

DuckDuckGo 网络搜索 MCP 服务器

该项目提供了一个 MCP(模型上下文协议)服务器,允许您使用 DuckDuckGo 搜索引擎搜索网络,并可选择获取和汇总找到的 URL 的内容。

特征

  • **网络搜索:**使用 DuckDuckGo 搜索网络。
  • **结果提取:**从搜索结果中提取标题、URL 和片段。
  • **内容获取(可选):**获取搜索结果中找到的 URL 的内容,并使用 jina api 将其转换为 markdown 格式。
  • **并行获取:**同时获取多个 URL 以加快处理速度。
  • **错误处理:**优雅地处理搜索和获取过程中的超时和其他潜在错误。
  • **可配置:**允许您设置返回的最大搜索结果数。
  • Jina API :使用 jina api 将 html 转换为 markdown。
  • 符合 MCP :此服务器设计用于与任何兼容 MCP 的客户端一起使用。

用法

  1. 先决条件:
    • uvx包管理器
  2. Claude桌面配置
    • 如果您正在使用 Claude Desktop,则可以将服务器添加到claude_desktop_config.json文件中。
    { "mcpServers": { "web-search-duckduckgo": { "command": "uvx", "args": [ "--from", "git+https://github.com/kouui/web-search-duckduckgo.git@main", "main.py" ] } } }

    上述配置不起作用,您可能需要将存储库克隆到本地电脑并使用以下配置

    { "mcpServers": { "web-search-duckduckgo": { "command": "uv", "args": [ "--directory", "/path/to/web-search-duckduckgo", "run", "main.py" ] } } }
  3. 工具
    • 在您的 MCP 客户端(例如 Claude)中,您现在可以使用以下工具:
    • **search_and_fetch**搜索网络并获取 URL 的内容。
      • query :搜索查询字符串。
      • limit :返回的最大结果数(默认值:3,最大值:10)。
    • **fetch**获取特定 URL 的内容。
      • url :要获取的 URL。

执照

该项目采用 MIT 许可证。(如果您想指定许可证,请添加许可证文件)。

-
security - not tested
-
license - not tested
-
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.

允许您使用 DuckDuckGo 搜索网络,并可选择从搜索结果中获取和汇总内容。

  1. 特征
    1. 用法
      1. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
          Last updated -
          4
          125,855
          353
          TypeScript
          MIT License
        • -
          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 -
          26
          2
          TypeScript
          MIT License
        • -
          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 -
          1
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
          Last updated -
          125,855
          1

        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