💡「让你的 AI 插件真正能联网」—— 不需要 API Key,搜索结果可控、开箱即用!
大家好,我最近开源了一个 AI 插件开发工具 —— Open-WebSearch MCP。这个项目旨在解决 AI 在实际应用中无法联网或联网费用高昂的问题,特别适合在 Claude、LangChain、RAG 方案中添加 “实时搜索” 能力。
✅ 多引擎实时搜索
Bing
、百度
、CSDN
(目前 linux.do
暂不支持)✅ 流式响应(MCP 协议)
streamableHttp
和 SSE
两种方式返回搜索结果,体验丝滑流畅✅ 文章正文抓取
✅ 完全免费 & 无需 API Key
✅ Docker 一键部署
docker-compose
和镜像:ghcr.io/aas-ee/open-web-searchgit clone https://github.com/Aas-ee/open-webSearch
cd open-webSearch
npm install
npm run build
node build/index.js
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 使用效果更佳!
{
"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"
}
}
}
{
"mcpServers": {
"web-search": {
"transport": {
"type": "streamableHttp",
"url": "http://localhost:3000/mcp"
}
},
"web-search-sse": {
"transport": {
"type": "sse",
"url": "http://localhost:3000/sse"
}
}
}
}
{
"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 地址
{
query: "Claude 插件开发",
limit: 5,
engines: ["bing", "csdn"]
}
✅ 返回结构化数据(标题、URL、摘要、来源)
{
url: "https://blog.csdn.net/xxx/article/details/xxx"
}
✅ 获取正文,支持摘要分析、RAG、训练语料等场景
如果你想 Fork 并发布自己的版本,也完全没问题:
支持 GitHub Actions 自动构建并发布到:
✅ 提供详细 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 插件真正实现联网搜索,开源、免费、灵活、强大。」