qwang07

Duck Duck MCP

Community qwang07
Updated

DuckDuckGo search implementation for Model Context Protocol (MCP)

Duck Duck MCP

smithery badge

一个基于 DuckDuckGo 搜索引擎的 Model Context Protocol (MCP) 服务器实现。

功能特性

  • 使用 DuckDuckGo 进行网络搜索
  • 支持自定义搜索结果数量(默认 50 条)
  • 支持区域设置(默认 zh-cn)
  • 支持安全搜索级别设置(OFF/MODERATE/STRICT)
  • 提供结构化的搜索结果,包含元数据
  • 智能内容分类(文档/文章/社交媒体)
  • 自动语言检测
  • 主题标签识别

安装

安装通过 Smithery

通过 Smithery 将 DuckDuckGo 搜索自动安装到 Claude 桌面端:

npx -y @smithery/cli install duck-duck-mcp --client claude

不需要安装,可以直接通过 npx 运行:

npx -y @smithery/cli install duck-duck-mcp --client claude

使用方法

这是一个 MCP 服务器实现,主要用于与支持 MCP 协议的 AI 客户端(如 Claude)集成。

启动服务器:

# 使用 npx(推荐)
npx duck-duck-mcp

# 或者如果已经全局安装
mcp-server-search

搜索参数示例:

{
  "query": "搜索关键词",
  "options": {
    "region": "zh-cn",
    "safeSearch": "MODERATE",
    "numResults": 50
  }
}

返回结果格式:

{
  "type": "search_results",
  "data": [
    {
      "title": "标题",
      "url": "网址",
      "description": "描述",
      "metadata": {
        "type": "article|documentation|social|other",
        "source": "域名"
      }
    }
  ],
  "metadata": {
    "query": "搜索关键词",
    "timestamp": "时间戳",
    "resultCount": 50,
    "searchContext": {
      "region": "zh-cn",
      "safeSearch": "MODERATE"
    },
    "queryAnalysis": {
      "language": "zh-cn|en",
      "topics": ["technology", "documentation"]
    }
  }
}

License

MIT

MCP Server · Populars

MCP Server · New

    n24q02m

    Better Code Review Graph

    Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

    Community n24q02m
    Noveum

    Orbit

    Free, open source, realtime task manager. Issues, boards, sprints, projects and docs that sync instantly. Keyboard-first, self-hostable, with an MCP server for AI agents. No pricing, ever.

    Community Noveum
    feder-cr

    aihawk

    Anti detect browser and web browsing agent: an open-source MCP server for undetected browsing, AI web scraping and computer use agents. No captchas.

    Community feder-cr
    LeandroPG19

    MemoryIndustry

    Persistent memory MCP server for AI agents — Rust, 19 tools, knowledge graph, Hebbian learning, episodic memory, contradiction detection, prospective triggers, Bayesian calibration, zero-config Docker setup.

    Community LeandroPG19
    btsouth

    Toolport

    Local-first MCP gateway. One port for every tool and every AI client: lazy discovery (~90% token savings), tool integrity + quarantine, secrets in the OS keychain.

    Community btsouth