使用说明
DuckDuckGo MCP
用于DuckDuckGo HTML搜索的MCP服务器。
特性
- 搜索DuckDuckGo HTML结果
- 返回每个结果的标题、URL和代码段
- 缓存结果
- 机器人检测检索
用法
bunx --silent duckduckgo-mcp@latest
OpenCode
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"duckduckgo": {
"enabled": true,
"type": "local",
"command": ["bunx", "--silent", "duckduckgo-mcp@latest"]
}
}
}
发展
# Install dependencies
bun install --frozen-lockfile
# Type check
bun run typecheck
# Lint
bun run lint
# Format
bun run format
# Test
bun test
# Start MCP server
bun ./index.ts
# Build
bun run build