MCP Search Server
Provides search capabilities via Baidu's search engine, enabling web searches with results aggregated across multiple engines.
Provides search capabilities via Brave Search, enabling web searches with results aggregated across multiple engines.
Provides search capabilities via DuckDuckGo, enabling web searches with results aggregated across multiple engines.
Provides search capabilities for code repositories via GitHub search, enabling code searches with results aggregated across multiple engines.
Provides search capabilities via Sogou search engine, enabling web searches with results aggregated across multiple engines.
Provides search capabilities for Zhihu content via targeted search, enabling content searches with results aggregated across multiple engines.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Search Serversearch for the latest AI research papers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Search Server
English | 中文
多引擎聚合搜索 MCP 服务器 — 7 个搜索引擎并行搜索、自动去重、无用过滤、关联性排序、网页正文提取。
兼容 Cursor · Claude Desktop · Continue.dev · Windsurf · Trae
目录
Related MCP server: serpent
功能特性
多引擎并行 — 同时调用多个搜索引擎;
Promise.allSettled确保单引擎失败不影响整体自动去重 — URL 归一化 + 标题/摘要 Jaccard 相似度去重
关联性排序 — 按查询词在标题/摘要/URL 中的匹配度加权排序,零匹配结果自动过滤
无用过滤 — 剔除广告词、导航词、跟踪参数/域名、短摘要、错误页面
网页抓取 — 使用 Mozilla Readability 提取正文,自动删除重复段落、版权声明、尾部推荐内容
MCP 协议 — 标准 stdio 传输,开箱即用
可配置 — 通过环境变量自由组合引擎
搜索引擎
引擎 | 类型 | 说明 |
| 通用 | 微软必应,中文搜索结果较好 |
| 通用 | 搜狗搜索 |
| 通用 | 百度搜索 |
| 通用 | DuckDuckGo(国内网络可能被阻断) |
| 通用 | Brave Search(国内网络可能被阻断) |
| 代码 | GitHub 仓库搜索 |
| 内容 | 知乎(通过 Bing |
默认启用:bing sogou baidu github zhihu
快速开始
git clone https://github.com/ZhenMoon/mcp-search-server.git
cd mcp-search-server
npm install
npm run build客户端配置
在 MCP 客户端配置中添加以下条目(将 <path> 替换为你的实际路径):
{
"mcpServers": {
"mcp-search": {
"command": "node",
"args": ["<path>/mcp-search-server/build/index.js"]
}
}
}配置文件位置:
客户端 | 配置文件路径 |
Cursor |
|
Claude Desktop |
|
Continue.dev |
|
Windsurf / Trae | 在 MCP 配置中添加相同 command/args |
环境变量
变量 | 说明 | 示例 |
| 启用指定引擎(逗号分隔) |
|
| 禁用指定引擎 |
|
国内网络建议:
SEARCH_DISABLED_ENGINES=duckduckgo,brave node build/index.jsMCP 工具
search — 多引擎聚合搜索
参数 | 类型 | 默认值 | 说明 |
|
| 必填 | 搜索关键词 |
|
|
| 最大返回结果数(1–50) |
|
| 默认 5 引擎 | 搜索引擎列表 |
|
|
| 搜索超时(毫秒) |
search_engines — 列出可用搜索引擎
无参数。
fetch — 抓取网页正文
参数 | 类型 | 默认值 | 说明 |
|
| 必填 | 网页 URL |
|
|
| 抓取超时(毫秒) |
|
|
| 返回内容最大长度 |
项目结构
mcp-search-server/
├── src/
│ ├── index.ts # MCP 服务器入口
│ ├── types.ts # 类型定义
│ ├── aggregator.ts # 多引擎聚合 + 相关性评分
│ ├── dedup.ts # 搜索结果去重
│ ├── dedupContent.ts # 网页正文去重
│ ├── filter.ts # 无用信息过滤
│ ├── fetcher.ts # 网页抓取 (Readability)
│ └── engines/
│ ├── bing.ts # 必应
│ ├── sogou.ts # 搜狗
│ ├── baidu.ts # 百度
│ ├── duckduckgo.ts # DuckDuckGo
│ ├── brave.ts # Brave Search
│ ├── github.ts # GitHub
│ └── zhihu.ts # 知乎
├── package.json
├── tsconfig.json
├── README.md # 中文文档
└── README.en.md # English使用示例
搜索 + 抓取组合使用:
search("Rust 语言 入门教程", maxResults: 5)
fetch("https://rustwiki.org/zh-CN/book/")
指定引擎:
search(engines: ["bing", "zhihu"], query: "Vue.js 教程")
环境变量:
SEARCH_ENGINES=bing,baidu node build/index.jsLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZhenMoon/mcp-search-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server