
开源 AI 联网搜索工具:Open-WebSearch MCP 全新升级,支持多引擎 + 流式响应! 原创
🚀 开源 AI 联网搜索工具:Open-WebSearch MCP 全新升级,支持多引擎 + 流式响应!
💡「让你的 AI 插件真正能联网」—— 不需要 API Key,搜索结果可控、开箱即用!
大家好,我最近开源了一个 AI 插件开发工具 —— Open-WebSearch MCP。这个项目旨在解决 AI 在实际应用中无法联网或联网费用高昂的问题,特别适合在 Claude、LangChain、RAG 方案中添加“实时搜索”能力。
🧠 项目亮点一览
✅ 多引擎实时搜索
- 支持
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",
"baseUrl": "http://localhost:3000/mcp"
},
"web-search-sse": {
"name": "Web Search SSE",
"type": "sse",
"description": "SSE version of web search",
"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、训练语料等场景
🧪 fetchLinuxDoArticle:抓取 Linux.do 文章(目前不稳定)
📦 CI/CD:支持 Docker 镜像自动构建发布
如果你想 Fork 并发布自己的版本,也完全没问题:
-
支持 GitHub Actions 自动构建并发布到:
- GitHub Container Registry(ghcr.io)
- 阿里云容器镜像服务(可选配置 ACR)
✅ 提供详细 CI/CD 配置文档
✅ 开发者可自由部署在内网、私有云环境下
🧱 后续计划
🛠 支持更多搜索引擎(Google、知乎、Reddit)
🛠 支持文档类内容全文抽取(如微信公众号、掘金)
⭐ 项目地址
🧩 GitHub 地址:https://github.com/Aas-ee/open-webSearch
📦 Docker 镜像:ghcr.io/aas-ee/open-web-search:latest
如果你觉得这个项目对你有帮助,请 Star 一下再走 💖,你的支持是我继续迭代的最大动力!
📣 一句话总结:
「Open-WebSearch MCP:让你的 AI 插件真正实现联网搜索,开源、免费、灵活、强大。」
©著作权归作者所有,如需转载,请注明出处,否则将追究法律责任
赞
收藏
回复

回复
相关推荐