OEvortex
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"ddg-search": {
"command": "ddg-search-mcp"
}
}
}
可用工具 (4 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
web-search
Search the web using DuckDuckGo and return results
该工具无需必填参数,直接调用即可
fetch-url
Fetch the content of a URL and return it as text, with options to control extraction
该工具无需必填参数,直接调用即可
url-metadata
Extract metadata from a URL (title, description, etc.)
该工具无需必填参数,直接调用即可
felo-search
Search the web for up-to-date technical information like latest releases, security advisories, migration guides, benchmarks, and community insights
该工具无需必填参数,直接调用即可
服务介绍
[!IMPORTANT]
DuckDuckGo 搜索 MCP 支持 Model Context Protocol (MCP) 标准,使其与各种 AI 助手和工具兼容。
✨ 特性
[!IMPORTANT]
与许多搜索工具不同,此包执行实际的网页抓取而不是使用有限的 API,为您提供更全面的结果。
🚀 快速开始
bash
npx -y @oevortex/ddg_search@latest
[!TIP]
这将直接下载并运行最新版本的 MCP 服务器,而无需安装——非常适合与 AI 助手快速使用。
🛠️ 安装选项
bash
npm install -g @oevortex/ddg_search
全局运行:
bash
ddg-search-mcp
bash
git clone https://github.com/OEvortex/ddg_search.git
cd ddg_search
npm install
npm start
🧑💻 命令行选项
bash
npx -y @oevortex/ddg_search@latest --help
[!TIP]
使用 --version 标志来检查您正在运行的版本。
🤖 与 MCP 客户端一起使用
[!IMPORTANT]
使用此工具最常见的方法是将其与支持 MCP 的 AI 助手集成。
将服务器添加到您的 MCP 客户端配置中:
json
{
"mcpServers": {
"ddg-search": {
"command": "npx",
"args": ["-y", "@oevortex/ddg_search@latest"]
}
}
}
如果已全局安装:
json
{
"mcpServers": {
"ddg-search": {
"command": "ddg-search-mcp"
}
}
}
[!TIP]
配置后,请重启您的 MCP 客户端以应用更改。
🧰 工具概述
📁 项目结构
text
bin/ # 命令行接口
src/
index.js # 主入口点
tools/ # 工具定义和处理器
searchTool.js
fetchUrlTool.js
metadataTool.js
feloTool.js
utils/
search.js # 搜索和URL实用程序
search_felo.js # Felo AI搜索实用程序
package.json
README.md
🤝 贡献
欢迎贡献!请提出问题或提交拉取请求。
[!NOTE]
请遵循现有的代码风格,并为新功能添加测试。
📺 YouTube频道
📄 许可证
Apache许可证2.0
[!NOTE]
本项目根据Apache许可证2.0授权 - 查看LICENSE文件了解详情。