Skip to main content
Glama
OEvortex

DuckDuckGo Search MCP

by OEvortex

[!IMPORTANT] DuckDuckGo Search MCP 支持模型上下文协议 (MCP) 标准,使其与各种 AI 助手和工具兼容。


✨ 特点

[!IMPORTANT] 与许多搜索工具不同,此软件包执行实际的网络抓取而不是使用有限的 API,从而为您提供更全面的结果。


Related MCP server: webmcp

🚀 快速入门

npx -y @oevortex/ddg_search@latest

[!TIP] 这将直接下载并运行最新版本的 MCP 服务器,无需安装 - 非常适合与 AI 助手快速使用。


🛠️ 安装选项

npm install -g @oevortex/ddg_search

全局运行:

ddg-search-mcp
git clone https://github.com/OEvortex/ddg_search.git
cd ddg_search
npm install
npm start

🧑‍💻 命令行选项

npx -y @oevortex/ddg_search@latest --help

[!TIP] 使用 --version 标志检查您正在运行哪个版本。


🤖 与 MCP 客户端一起使用

[!IMPORTANT] 使用此工具最常见的方式是将其与 MCP 兼容的 AI 助手集成。

将服务器添加到您的 MCP 客户端配置:

{
  "mcpServers": {
    "ddg-search": {
      "command": "npx",
      "args": ["-y", "@oevortex/ddg_search@latest"]
    }
  }
}

或者如果全局安装:

{
  "mcpServers": {
    "ddg-search": {
      "command": "ddg-search-mcp"
    }
  }
}

[!TIP] 配置完成后,重新启动 MCP 客户端以应用更改。


🧰 工具概述


📁 项目结构

bin/              # Command-line interface
src/
  index.js        # Main entry point
  tools/          # Tool definitions and handlers
    searchTool.js
    fetchUrlTool.js
    metadataTool.js
    feloTool.js
  utils/
    search.js     # Search and URL utilities
    search_felo.js # Felo AI search utilities
package.json
README.md

🤝 贡献

欢迎贡献!请打开问题或提交拉取请求。

[!NOTE] 请遵循现有的代码风格并为新功能添加测试。


📺 YouTube 频道


📄 许可证

Apache 许可证 2.0

[!NOTE] 该项目根据 Apache License 2.0 获得许可 - 有关详细信息,请参阅 LICENSE 文件。


Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.4.0
    • Removediask-search
    • Removedmonica-search
    • Changedweb-search8 fields changed
      • addedInput schema / properties / backend
        Added value: +{
        +  "default": "iask",
        +  "description": "AI backend when mode=\"ai\": \"iask\" or \"monica\". Ignored in web mode.",
        +  "enum": [
        +    "iask",
        +    "monica"
        +  ],
        +  "type": "string"
        +}
      • addedInput schema / properties / detailLevel
        Added value: +{
        +  "description": "IAsk detail level when backend=\"iask\": \"concise\", \"detailed\", or \"comprehensive\".",
        +  "enum": [
        +    "concise",
        +    "detailed",
        +    "comprehensive"
        +  ],
        +  "type": "string"
        +}
      • addedInput schema / properties / iaskMode
        Added value: +{
        +  "default": "thinking",
        +  "description": "IAsk mode when backend=\"iask\": \"question\", \"academic\", \"forums\", \"wiki\", or \"thinking\". Default: \"thinking\".",
        +  "enum": [
        +    "question",
        +    "academic",
        +    "forums",
        +    "wiki",
        +    "thinking"
        +  ],
        +  "type": "string"
        +}
      • changedInput schema / properties / mode / default
        Previous value: -"short"New value: +"web"
      • changedInput schema / properties / mode / description
        Previous value: -"Choose 'short' for basic results (no Description) or 'detailed' for full results (includes Description)."New value: +"Search mode. \"web\" returns DuckDuckGo search results. \"ai\" returns an AI-generated answer."
      • changedInput schema / properties / mode / enum
        Previous value: -[
        -  "short",
        -  "detailed"
        -]New value: +[
        +  "web",
        +  "ai"
        +]
      • changedInput schema / properties / numResults / description
        Previous value: -"Specify how many results to display (default: 3, maximum: 20)."New value: +"Number of web results (1-20). Web mode only. Default: 3."
      • changedInput schema / properties / query / description
        Previous value: -"Enter your search query to find the most relevant web pages."New value: +"The search query or question."
  2. 6 tool updatesv1.0.0
    • Removedfelo-search
    • Removedfetch-url
    • Addediask-search
    • Addedmonica-search
    • Removedurl-metadata
    • Changedweb-search5 fields changed
      • addedInput schema / properties / mode
        Added value: +{
        +  "default": "short",
        +  "description": "Choose 'short' for basic results (no Description) or 'detailed' for full results (includes Description).",
        +  "enum": [
        +    "short",
        +    "detailed"
        +  ],
        +  "type": "string"
        +}
      • changedInput schema / properties / numResults / default
        Previous value: -10New value: +3
      • changedInput schema / properties / numResults / description
        Previous value: -"Number of results to return (default: 10)"New value: +"Specify how many results to display (default: 3, maximum: 20)."
      • removedInput schema / properties / page
        Removed value: -{
        -  "default": 1,
        -  "description": "Page number (default: 1)",
        -  "minimum": 1,
        -  "type": "integer"
        -}
      • changedInput schema / properties / query / description
        Previous value: -"The search query"New value: +"Enter your search query to find the most relevant web pages."
  3. 4 tool updates
    • First observedfelo-search
    • First observedfetch-url
    • First observedurl-metadata
    • First observedweb-search

TDQS

A4/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of confusion between tools. The two modes are clearly described within the single tool.

Naming Consistency5/5

With a single tool named 'web-search', the naming is self-consistent and follows a clear verb-noun pattern.

Tool Count2/5

A search server with only one tool feels too thin for the domain. Typically, separate tools for different search types (web, images, news, etc.) would be expected.

Completeness2/5

The single tool covers web and AI search but misses common search categories like images, news, and video, leaving notable gaps for typical search use cases.

Maintenance

ActivityInactive
ResponsivenessSlow

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for web search and content extraction using DuckDuckGo or SearXNG, with Playwright-based fetching and LLM-powered data extraction.
    140
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for internet search via direct Google and DuckDuckGo HTML scraping with AI-powered result normalization and optional summarization, requiring no API keys for search.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that provides web search scraping from DuckDuckGo (with Mojeek fallback) and URL content fetching as markdown/text or raw HTML.
    1
    -