search-rotation

io.github.localfoundry由 GitHub 账号 localfoundry 发布v0.4.10更新于 Nov 10, 2026

MCP server for web search and page extraction across the free tiers of several providers

概览

AI 生成的概览

本地 MCP 服务器,为助手提供网页搜索与 Markdown 页面提取,在多个提供商的免费额度间轮换并自动故障转移。

可以做什么
  • 搜索网页,可指定结果数量、首选引擎以及日期筛选(相对时间窗口或明确的起止日期)
  • 抓取网址并将页面内容提取为 Markdown
  • 查看引擎状态以及各引擎的调用次数、错误和额度余额
  • 修改引擎配置:启用或停用引擎、设置搜索与抓取的轮换顺序、设置每月或每日限额
  • 打开本地仪表板,管理 API 密钥、引擎排序、额度与请求历史
适用场景
当你希望用一个面向助手的搜索与抓取工具,把请求分散到多个提供商、在某个提供商限流或不可用时仍能继续工作,并在本地管理密钥与额度时适用。
运行要求
以本地进程通过 stdio 运行,可用 npx(需 Node.js 20.3+)、Homebrew 安装或固定版本的 GitHub 发布包;也可作为需认证的 Streamable HTTP 运行。提供商 API 密钥在本地仪表板中添加;是否可无密钥访问及额度计算因提供商而异。需要能访问各提供商的网络。
安装前请注意
提供商 API 密钥通过本地仪表板保存和管理,应将该本地配置视为敏感信息。搜索查询和抓取的网址会发送给第三方搜索与提取提供商,其日期元数据可能是估算值或缺失。update_engine_config 工具会更改轮换顺序和限额,且必须列出所有可用引擎的 id,否则不会写入任何内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 search-rotation,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[search-rotation]

One MCP server for web search and page extraction across multiple providers.

Built by Robin Bially.

Rotate across available quotas, automatically fail over when a provider is unavailable, and return consistent results to your AI assistant. A local dashboard lets you manage API keys, reorder engines, check quotas, and inspect request history.

[search-rotation dashboard showing per-engine call counts, remaining budgets, recent activity, and expanded MCP setup]

Actual dashboard UI, shown in English with illustrative demo data. Calls and provider budgets are displayed separately; activity bars offer time-window and per-engine details.

Quick start

npm

sh
npx -y search-rotation --http --open

Requires Node.js 20.3+. For MCP over stdio, configure your client to run npx -y search-rotation with no arguments. The server is also listed in the official MCP Registry as io.github.robin-bially/search-rotation.

Homebrew

sh
brew install robin-bially/tap/search-rotationsearch-rotation --http --open

Homebrew installs the required Node.js runtime. For MCP over stdio, configure your client to run search-rotation with no arguments. See the Homebrew tap for upgrades and details.

Pinned release from GitHub

sh
npx -y --allow-git=all github:robin-bially/search-rotation-mcp#v0.6.0

Use this when you want a fixed version instead of the current npm release.

Add your provider keys in the dashboard, then connect your assistant using the MCP client setup guide for Codex, Claude, Cursor, or OpenCode.

What you get

  • Search and fetch: independent rotation for web search and Markdown page extraction.
  • Automatic failover: quota-aware ordering, rate-limit cooldowns, and request timeouts.
  • Local dashboard: API keys, drag-and-drop engine order, per-engine calls and errors, separate quota balances, and interactive request history.
  • Local or remote: MCP over stdio or authenticated Streamable HTTP.

Providers: Tavily · Firecrawl · Parallel · Exa · You.com · Google PSE · Jina Reader · DuckDuckGo HTML. Keyless access and quota accounting vary by provider.

MCP tools

search_web · fetch_url · get_engine_status · update_engine_config · open_dashboard

Every name pairs an action with its target. update_engine_config covers what the dashboard's engine list does: enable and disable engines, set the search and fetch rotation order, and set monthly or daily limits per engine. API keys stay in the dashboard. If your client keeps an allowlist of tool names, replace the earlier web_search and engine_status entries there.

searchOrder and fetchOrder must list every search- or fetch-capable engine exactly once. After an upgrade that adds an engine, include its id; the tool names missing ids and writes nothing otherwise.

The dashboard's MCP Tools tab explains each tool, its parameters, and copyable example calls.

[MCP Tools overview with parameters and example calls for all five tools]

Actual dashboard UI, shown in English.

Search time filters

search_web accepts the following arguments:

ParameterMeaning
queryRequired search text.
numResultsOptional result count, 1–20; otherwise the dashboard setting applies.
enginePreferred provider, subject to time-filter support and availability; failover stays enabled.
timeRangeday, week, month, or year: UTC date window starting 1, 7, 30, or 365 days ago, through today.
startDateOptional lower date bound in YYYY-MM-DD format.
endDateOptional upper date bound in YYYY-MM-DD format.

Use either timeRange or explicit dates. One-sided bounds and equal start/end dates are allowed; invalid calendar dates, reversed bounds, and mixing relative and explicit filters are rejected before any provider request.

json
{"name":"search_web","arguments":{"query":"AI inference research","timeRange":"week","numResults":5}}
json
{"name":"search_web","arguments":{"query":"AI inference research","startDate":"2026-08-01","endDate":"2026-08-31"}}

Relative windows are resolved once per request into UTC dates, including across failover. These are date filters, not exact rolling 24-hour windows; month and year mean 30 and 365 days, not calendar arithmetic. Exa receives the start of the first UTC day and the end of the last UTC day.

Provider support and rotation

Provider / accessRelative windowTwo date boundsOne date bound
Tavily, with or without keyYesYesYes
Firecrawl, with or without keyYesYesSkipped
Exa, direct API with keyYesYesYes
Exa, hosted MCP without keySkippedSkippedSkipped
You.com, with or without keyYesYesSkipped
Parallel, either access modeSkippedSkippedSkipped
Google PSE / DuckDuckGo HTMLSkippedSkippedSkipped

This table describes implemented support in search-rotation, not every upstream feature. Tavily receives start_date / end_date, Firecrawl receives a custom tbs range, Exa receives startPublishedDate / endPublishedDate, and You.com receives a freshness range in YYYY-MM-DDtoYYYY-MM-DD form. Firecrawl and You.com are conservatively excluded for one-sided dates; the other skipped paths have no implemented date mapping.

The router excludes incompatible providers before quota checks and rotation, including when an incompatible engine is preferred. Each eligible provider pool has its own rotation cursor, so mixing filtered and unfiltered searches does not starve providers. Existing quota priorities, cooldowns, strict-free rules, and failover apply within that pool. If no compatible provider is available, the search fails explicitly; it never retries without the filter. Searches without time arguments retain access to all otherwise eligible providers.

Results show a publication date when supplied by the adapter, and request history includes the requested period. Provider date metadata can be estimated or missing: Tavily filters publication or update dates, Exa filters estimated publication dates, and Firecrawl uses its search index's date interpretation. Exact boundary inclusion follows the provider; this is not an independent verification of each page's publication date. See the Tavily, Firecrawl, and Exa references.

After updating, reconnect your MCP client to load the new tool schema.

Releasing

sh
VERSION=0.4.10 ./scripts/release.sh --publish

The script checks the package (npm ci, build, tests, npm run smoke:package), bumps the version, points the document pins at it, commits and tags, packs the tarball with its checksum, creates the GitHub release, updates the formula in robin-bially/homebrew-tap and finally waits until the npm registry serves the new version. Without --publish it only prepares the artifacts in .build/releases; --dry-run checks the prerequisites, --draft creates a draft release and --force tolerates a dirty tree. The tap is cloned temporarily when TAP_DIR is not set, so a fresh checkout is enough.

Publishing to npm happens in .github/workflows/publish.yml through trusted publishing once the GitHub release is published, so the script itself needs no npm credentials. The workflow requires a trusted publisher for search-rotation on npmjs.com that points at this repository and publish.yml.

The same workflow registers the version in the official MCP Registry from server.json. Distribution & listings tracks every channel, who keeps it current, and what each one still needs.

Learn more

Client setup · Operations & configuration (DE) · Distribution & listings · Releases · CI · MIT license

来源:README.md,提交 9a26d03

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.4.10最新Sep 26, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分