开源AI联网搜索工具:Open-WebSearch MCP 全新升级,支持多引擎 + 流式响应

🧠 项目亮点一览
✅ 多引擎实时搜索

支持 Bing、百度、CSDN(目前 linux.do 暂不支持)
可配置引擎组合搜索,获取更全面的内容
✅ 流式响应(MCP协议)

完美兼容 Claude 插件(MCP)协议
更新为支持 streamableHttp 和 SSE 两种方式返回搜索结果,体验丝滑流畅
✅ 文章正文抓取

支持提取 CSDN 博客文章全文
支持提取 Linux.do(开发中)
✅ 完全免费 & 无需 API Key

不再依赖 Bing API / Google Custom Search
可自托管,无额度限制,数据可控
✅ Docker 一键部署

提供 docker-compose 和镜像:ghcr.io/aas-ee/open-web-search


⚙️ 如何使用?

安装非常简单:

git clone https://github.com/Aas-ee/open-webSearch
cd open-webSearch
npm install
npm run build
node build/index.js

或者直接使用 Docker 启动:

docker run -d \
  --name web-search \
  -p 3000:3000 \
  -e ENABLE_CORS=true \
  -e CORS_ORIGIN=* \
  ghcr.io/aas-ee/open-web-search:latest

配合 Claude Dev Extension、Claude Desktop、Cherry Studio 使用效果更佳!


⚙️ MCP 客户端配置指南

💻 Cherry Studio

{
  "mcpServers": {
    "web-search": {
      "name": "Web Search MCP",
      "type": "streamableHttp",
      "description": "Multi-engine web search with article fetching",
      "isActive": true,
      "baseUrl": "http://localhost:3000/mcp"
    },
    "web-search-sse": {
      "name": "Web Search SSE",
      "type": "sse",
      "description": "SSE version of web search",
      "isActive": true,
      "url": "http://localhost:3000/sse"
    }
  }
}

🔍 Claude Dev Extension (VSCode)

{
  "mcpServers": {
    "web-search": {
      "transport": {
        "type": "streamableHttp",
        "url": "http://localhost:3000/mcp"
      }
    },
    "web-search-sse": {
      "transport": {
        "type": "sse",
        "url": "http://localhost:3000/sse"
      }
    }
  }
}

💻 Claude Desktop

{
  "mcpServers": {
    "web-search": {
      "transport": {
        "type": "streamableHttp",
        "url": "http://localhost:3000/mcp"
      }
    },
    "web-search-sse": {
      "transport": {
        "type": "sse",
        "url": "http://localhost:3000/sse"
      }
    }
  }
}

如果你是 Docker 部署,请把 localhost 换成实际 IP 地址


🧩 MCP 工具支持

🔍 search:多引擎搜索工具

{
  query: "Claude 插件开发",
  limit: 5,
  engines: ["bing", "csdn"]
}

✅ 返回结构化数据(标题、URL、摘要、来源)

📄 fetchCsdnArticle:提取 CSDN 文章全文

{
  url: "https://blog.csdn.net/xxx/article/details/xxx"
}

✅ 获取正文,支持摘要分析、RAG、训练语料等场景


📦 CI/CD:支持 Docker 镜像自动构建发布
如果你想 Fork 并发布自己的版本,也完全没问题:

支持 GitHub Actions 自动构建并发布到:

GitHub Container Registry(ghcr.io)
阿里云容器镜像服务(可选配置 ACR)
✅ 提供详细 CI/CD 配置文档
✅ 开发者可自由部署在内网、私有云环境下
————————————————
Github项目地址:https://github.com/Aas-ee/open-webSearch

原创文章,作者:howkunet,如若转载,请注明出处:https://www.intoep.com/ai/66977.html

(0)
打赏 微信赞赏 微信赞赏 支付宝赞赏 支付宝赞赏
上一篇 2025-06-13 11:41
下一篇 2025-07-04 11:10

发表回复

登录后才能评论
扫码了解
扫码了解
反馈建议
分享本页
返回顶部