search-boost-mcp
search-boost-mcp
面向编码智能体的多引擎网络搜索 MCP 服务器。一条 CLI 命令即可将其接入 Cursor、Cursor CLI、Codex、Claude Code、Grok Build 和 Antigravity。
search-boost 系列
项目
适用对象
链接
search-boost (本仓库)
Cursor · Codex · Claude · Grok · Antigravity(通过 MCP)
你在这里
DeepSeek Harness 捆绑插件
pi 扩展
搜索引擎已内置于 lib/search/(最初来自 dsh-search-boost):在 免费 层,Bing、DuckDuckGo、Yahoo 和 Exa-free 并行运行;API 层则额外添加 Antigravity CLI(可用时)以及 你配置的任何带密钥的 Tavily / Brave / Exa 引擎(一个密钥即可;推荐全部三个以获得最佳融合效果)。此外还包括:X/Twitter 回退、Jina 页面抓取和深度研究轮次。
v0.1.4 新特性
单引擎 API 层 — API 层使用你配置或启用的任意一个 tavily/brave/exa 引擎;无需全部三个密钥。
按引擎路由 — 可在
~/.search-boost-keys.json中设置可选的enabledEngines或按引擎设置enabled: false。部分密钥提示 — doctor、status、keys 向导和
fused_search会在少于三个带密钥引擎激活时发出警告,并建议配置全部三个。
v0.1.2 新特性
自包含引擎池 位于
lib/search/:Bing + DuckDuckGo + Yahoo + Exa-free 用于通用搜索;同一引擎池通过site:查询为x_search回退提供支持。x_search回退 自动为多引擎域名搜索添加site:x.com前缀,因此无需 XAI 凭据即可使用关键词模式。无外部 dsh 仓库或 npm 依赖 — 引擎逻辑已内置于本仓库。
安装(推荐)
需要 Node ≥ 22.13。
npm install -g search-boost-mcp
search-boost setup # interactive: keys → layer → agents
# or non-interactive:
search-boost install -y # all detected agents安装后请重启每个智能体,以便 MCP 重新加载。
按智能体的一键安装命令
search-boost install -t cursor -y
search-boost install -t codex,claude -y --auto-allow
search-boost install -t grok -y --auto-allow
search-boost install -t antigravity --workspace --auto-allow -y预览而不写入:search-boost install --dry-run -y
验证安装
search-boost doctor # health checks (offline, pass/warn/fail)
search-boost doctor --json # machine-readable report for CI/scripts
search-boost status # install dashboard (keys, layer, agents)退出码:0 健康 · 1 失败(或使用 --strict 时的警告) · 2 仅警告。
可选:search-boost doctor --probe 会添加实时搜索冒烟测试(需要网络;第二阶段)。
然后在你的智能体中确认:
智能体 | 快速检查 |
Cursor | 设置 → MCP → |
Cursor CLI |
|
Codex |
|
Claude Code | MCP 面板显示 |
Grok Build |
|
Antigravity | MCP 配置包含 |
如果工具出现但调用失败,请在终端中运行 search-boost serve 查看启动错误。
安装标志(快速参考)
标志 | 效果 |
| 要接入的智能体( |
| 非交互式:跳过密钥/层向导,使用 |
| 对该目标仍为非交互式,且默认仍替换原生搜索 — 但不隐含 |
| 在智能体配置中预授权 search-boost MCP 工具(Cursor CLI 允许列表、Codex |
| 在智能体支持切换时禁用或保留内置网络搜索(Codex |
| 打印操作而不写入文件 |
如需完整引导(API 密钥 + 层选择),请运行 search-boost setup 或 search-boost install(不带 -y)。
Related MCP server: gemini-search-mcp
你将获得
MCP 工具 | 用途 |
| 多引擎并行搜索、去重、交叉排序 |
| 完整页面文本(Jina + HTML 回退,可选 |
| X/Twitter 关键词 / 用户 / 帖子 |
| 每次调用一轮 — 使用 |
| 显示或设置 |
| 缓存命中、引擎可用性、诊断信息 |
此外还有:资源 search-boost://policy · 提示 search_routing
层
free — Bing + DuckDuckGo + Yahoo + Exa-free;无需 API 密钥。
api — free 层引擎加上 Antigravity CLI(可用时)以及任意你配置的 Tavily / Brave / Exa(一个密钥即可;推荐全部三个以获得最佳跨引擎融合效果)
密钥:search-boost config keys → ~/.search-boost-keys.json(仍会读取旧版 ~/.dsh-search-boost-keys.json;或环境变量 TAVILY_API_KEY、BRAVE_API_KEY、EXA_API_KEY)。可选路由:在密钥文件中设置 enabledEngines: ["exa"] 或 "engines": { "brave": { "enabled": false } }。
获取密钥:Tavily · Brave Search API · Exa
X/Twitter 认证(可选): 当存在凭据时,可改进官方 x_search。存储在 ~/.search-boost-xauth.json(仍会读取旧版 ~/.dsh-search-boost-xauth.json)或通过 XAI_API_KEY / Grok /x-login 设置。覆盖文件路径:SEARCH_BOOST_XAUTH_FILE。
配置文件覆盖: SEARCH_BOOST_KEYS_FILE、SEARCH_BOOST_LAYER_FILE、SEARCH_BOOST_XAUTH_FILE(指向自定义路径的可选环境变量)。
CLI 速查表
命令 | 作用 | ||
| 交互式 TUI | ||
| 引导(密钥 + 层 + 安装) | ||
| 将 MCP + 提示接入智能体 | ||
| 运行 MCP stdio 服务器(供智能体使用) | ||
| 密钥、层、各智能体配置状态 | ||
`search-boost doctor [--quick | --probe] [--json] [--strict]` | 配置/智能体/引擎健康检查,含通过/警告/失败 | |
| 密钥、层、各智能体安装状态(无判定) | ||
`search-boost config keys | layer | search` | 密钥、默认层、原生搜索替换 |
| 打印 MCP 片段而不写入 | ||
| 机器可读的智能体列表 |
安装标志: -t cursor,codex,…|auto|all · -y(非交互式;隐含 --auto-allow + --replace-native) · --dry-run · --auto-allow(预授权 MCP 工具 — 见上表) · --replace-native / --keep-native · --scope user|project(Grok) · --workspace(Antigravity .agents/)
支持的智能体
智能体 | MCP 配置 | 同时安装的内容 |
Cursor IDE |
| hook, skill |
Cursor CLI |
| hook, skill(CLI 变体),可选的 CLI 自动允许 |
Codex CLI |
| AGENTS.md, skill |
Claude Code |
| CLAUDE.md, skill, permissions |
Grok Build |
| rule, skill · grok-plugin |
Antigravity |
| AGENTS.md, GEMINI.md, skill, 可选的工作区 |
提示使用模型自行决定措辞(在你选择时搜索 — 而非每轮强制)。参见 agents/ 了解各智能体模板。
原生网络搜索: Codex web_search 和 Claude WebSearch 可通过 --replace-native 禁用(非交互式时默认)。Cursor / Antigravity 仅依赖 skill 和 hook 偏好。Grok 原生浏览保持开启。
反重力 + agy CLI: 在 api 层,可选的 Antigravity CLI 引擎(位于 PATH 中的 agy)仅加入 medium 和 complex 级别的 fused_search 层级,而不参与简单查找。它依赖于本地登录和平台配额;超时时间约为 45 秒。
Grok 插件
该插件随 npm 包一起发布(通过可移植的 npx 提供 MCP,加上技能)。
重新安装是幂等的: search-boost install -t grok 会在写入新的 [permission] 块之前删除任何已有的 search-boost [permission] 块(标记的或旧的),因此重复的 [permission] 键不会导致 grok 启动失败。如果已经设置了 [ui] permission_mode = "always-approve",则 --auto-allow 会跳过注入 [permission](always-approve 全局批准 MCP 工具)。search-boost doctor 会警告重复或冗余的权限块。
从 git 克隆(仓库根目录):
grok plugin install ./grok-plugin --trust
search-boost install -t grok -y --auto-allow在 npm install -g search-boost-mcp 之后(无需克隆):
# bash / macOS / Linux
grok plugin install "$(npm root -g)/search-boost-mcp/grok-plugin" --trust
# Windows PowerShell
grok plugin install "$(npm root -g)\search-boost-mcp\grok-plugin" --trust
search-boost install -t grok -y --auto-allow捆绑的 .mcp.json 使用 npx -y search-boost-mcp serve,因此该插件可在任何 Node.js ≥ 22.13 的机器上工作。
故障排除
症状 | 尝试方法 |
search-boost 健康吗? |
|
安装立即失败 | Node ≥ 22.13( |
MCP 服务器在代理中缺失 | 重新运行安装,重启代理,检查 |
工具调用被阻止 / 每次都需要批准 | 使用 |
无结果 / 空的引擎 |
|
网络/代理问题 | 阶段 2: |
MCP 无法启动 |
|
Grok 插件 MCP 无法启动 |
|
| 重复的 |
Antigravity | 需要 api 层, |
超时 / 获取错误 | 企业代理或防火墙可能阻止 Bing/DDG/Jina;尝试本地运行 |
开发
git clone https://github.com/Mr-remon219/search-boost.git
cd search-boost && npm install
npm run check && npm run test:install && npm run smoke
node cli.mjs install --dry-run -y本地克隆安装会写入 node /path/to/cli.mjs serve(而不是 npx)。不需要同级检出或 SEARCH_BOOST_DSH_ROOT。
许可
MIT
链接: Issues · dsh-search-boost · pi-search-boost
友情链接: LINUX DO 社区
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceMCP server that enables coding agents to search X/Twitter and the web through the local Grok CLI, providing better search results than default Codex or Claude search without requiring an API key.383MIT
- AlicenseAqualityBmaintenanceMCP server for web search powered by Google AI Mode (Gemini). Enables any AI agent to search the web in real-time for free and without rate limits.2172MIT
- Alicense-qualityBmaintenanceA zero-config web search and fetch MCP server for LLM agents, featuring multi-backend metasearch, persistent rolling cache, and structured error envelopes for retry-friendly interactions.MIT
- AlicenseAqualityAmaintenanceFree, open-source web search gateway and MCP server for LLMs, AI agents, and RAG. It provides no-key web, code, academic, and community search with deduplication, ranking fusion, and citation-ready results.31MIT
Related MCP Connectors
Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.
Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.
Web research for agents: quality-scored Google search, webpage extraction, and deep research.
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/Mr-remon219/search-boost'
If you have feedback or need assistance with the MCP directory API, please join our Discord server