Skip to main content
Glama

search-boost-mcp

面向编码智能体的多引擎网络搜索 MCP 服务器。一条 CLI 命令即可将其接入 CursorCursor CLICodexClaude CodeGrok BuildAntigravity

search-boost 系列

项目

适用对象

链接

search-boost (本仓库)

Cursor · Codex · Claude · Grok · Antigravity(通过 MCP)

你在这里

dsh-search-boost

DeepSeek Harness 捆绑插件

GitHub · npm

pi-search-boost

pi 扩展

GitHub · npm

搜索引擎已内置于 lib/search/(最初来自 dsh-search-boost):在 免费 层,Bing、DuckDuckGo、Yahoo 和 Exa-free 并行运行;API 层则额外添加 Antigravity CLI(可用时)以及 你配置的任何带密钥的 Tavily / Brave / Exa 引擎(一个密钥即可;推荐全部三个以获得最佳融合效果)。此外还包括:X/Twitter 回退、Jina 页面抓取和深度研究轮次。

中文文档 → README_zh.md

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 → search-boost 已连接;工具已列出

Cursor CLI

~/.cursor/mcp.json 中有相同的 MCP 条目

Codex

codex 会话列出 mcp__search-boost__* 工具

Claude Code

MCP 面板显示 search-boost;工具可调用且无需拒绝提示(如果使用了 --auto-allow

Grok Build

grok mcp doctor search-boost · grok inspect

Antigravity

MCP 配置包含 search-boost;安装后重启 IDE

如果工具出现但调用失败,请在终端中运行 search-boost serve 查看启动错误。

安装标志(快速参考)

标志

效果

-t, --target

要接入的智能体(cursor, codex, claude, grok, antigravity, cursor-cli, auto, all

-y, --yes

非交互式:跳过密钥/层向导,使用 --target=auto隐含 --auto-allow--replace-native

-t 不带 -y

对该目标仍为非交互式,且默认仍替换原生搜索 — 但隐含 --auto-allow;如需无权限提示,请显式添加它

--auto-allow

在智能体配置中预授权 search-boost MCP 工具(Cursor CLI 允许列表、Codex default_tools_approval_mode、Claude/Grok/Antigravity 权限规则),使智能体不在每次会话时提示

--replace-native / --keep-native

在智能体支持切换时禁用或保留内置网络搜索(Codex web_search、Claude WebSearch)。非交互式时默认为替换

--dry-run

打印操作而不写入文件

如需完整引导(API 密钥 + 层选择),请运行 search-boost setupsearch-boost install(不带 -y)。


Related MCP server: gemini-search-mcp

你将获得

MCP 工具

用途

fused_search

多引擎并行搜索、去重、交叉排序

fetch_page

完整页面文本(Jina + HTML 回退,可选 focus

x_search

X/Twitter 关键词 / 用户 / 帖子

deep_research

每次调用一轮 — 使用 suggested_queries 重复直到无空白,然后综合(最多约 3 轮)

search_layer

显示或设置 free(无密钥)与 api(带密钥引擎)

search_stats

缓存命中、引擎可用性、诊断信息

此外还有:资源 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_KEYBRAVE_API_KEYEXA_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_FILESEARCH_BOOST_LAYER_FILESEARCH_BOOST_XAUTH_FILE(指向自定义路径的可选环境变量)。


CLI 速查表

命令

作用

search-boost

交互式 TUI

search-boost setup

引导(密钥 + 层 + 安装)

search-boost install / uninstall

将 MCP + 提示接入智能体

search-boost serve

运行 MCP stdio 服务器(供智能体使用)

search-boost status

密钥、层、各智能体配置状态

`search-boost doctor [--quick

--probe] [--json] [--strict]`

配置/智能体/引擎健康检查,含通过/警告/失败

search-boost status

密钥、层、各智能体安装状态(无判定)

`search-boost config keys

layer

search`

密钥、默认层、原生搜索替换

search-boost print <agent>

打印 MCP 片段而不写入

search-boost agents

机器可读的智能体列表

安装标志: -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

~/.cursor/mcp.json

hook, skill

Cursor CLI

~/.cursor/mcp.json

hook, skill(CLI 变体),可选的 CLI 自动允许

Codex CLI

~/.codex/config.toml

AGENTS.md, skill

Claude Code

~/.claude.json

CLAUDE.md, skill, permissions

Grok Build

~/.grok/config.toml

rule, skill · grok-plugin

Antigravity

~/.gemini/config/mcp_config.json

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)仅加入 mediumcomplex 级别的 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 的机器上工作。

详情 → grok-plugin/README.md


故障排除

症状

尝试方法

search-boost 健康吗?

search-boost doctor — 通过/警告/失败判定;--json 用于脚本

安装立即失败

Node ≥ 22.13node -v);如果版本更旧则升级

MCP 服务器在代理中缺失

重新运行安装,重启代理,检查 search-boost status

工具调用被阻止 / 每次都需要批准

使用 --auto-allow 重新安装,或者在代理 UI 中批准一次

无结果 / 空的引擎

search-boost doctor — 检查层/密钥/引擎检查;free 不需要密钥;api 需要至少一个通过 search-boost config keys 或环境变量配置密钥的引擎(推荐全部三个)

网络/代理问题

阶段 2:search-boost doctor --probe(尚未实现)

MCP 无法启动

search-boost doctormcp_launch_commandnode_version;然后 search-boost serve

Grok 插件 MCP 无法启动

grok mcp doctor search-boost;确保 npx 和网络访问正常工作

grok 在解析 config.toml 时失败

重复的 [permission] — 运行 search-boost install -t grok -y --auto-allow

Antigravity agy 从不运行

需要 api 层,agy 在 PATH 中,且复杂度为 medium/complex — 不是 simple

超时 / 获取错误

企业代理或防火墙可能阻止 Bing/DDG/Jina;尝试本地运行 search-boost serve 以读取 stderr


开发

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 社区

Install Server
A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    B
    maintenance
    MCP 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.
    38
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    2
    172
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    A 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
  • A
    license
    A
    quality
    A
    maintenance
    Free, 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.
    3
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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