search-rotation

io.github.robin-bially由 GitHub 帳號 robin-bially 發布v0.6.1更新於 Nov 14, 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 安裝(自帶 Node.js 執行環境)。服務商 API 金鑰在的本機儀表板中輸入,而非透過環境變數傳入;免金鑰存取與配額計算因服務商而異。需要能連線各服務商的網路。
安裝前請注意
API 金鑰與服務商憑證透過本機儀表板保存,應將該儀表板及其存取權杖視為敏感資訊。伺服器可變更自身引擎設定,包括停用引擎與設定呼叫上限。搜尋查詢與擷取的頁面會傳送給第三方服務商,日期篩選依賴服務商中繼資料,可能為估算值或缺失。

安裝

在 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.1

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,提交 150994e

工具

5

search_web

Web Search

Search the web through a rotating pool of search providers (Tavily, Firecrawl, Parallel, Exa, You.com, Google PSE, DuckDuckGo) with automatic failover when one errors, is rate-limited or has no local quota left. Use it when the answer depends on current web pages and no URL is known yet; use fetch_url to read a page whose URL is already known. Returns numbered results (title, URL, snippet, publication date when the provider supplies one) and names the provider that answered plus every failed attempt, so failover stays visible. Time filters keep rotation inside the providers that implement them and fail explicitly instead of searching without the filter; if every eligible provider fails, the tool returns an error listing each provider's reason. The engine parameter only prefers a provider and leaves failover active.

輸入參數query必填engineendDatestartDatetimeRangenumResults

fetch_url

Fetch URL

Fetch one web page and return its main content as Markdown, rotating across extraction providers (Jina Reader, Firecrawl, Parallel, Tavily, Exa) with failover. Use it to read a URL the user or a previous search_web result already names; it does not discover links or crawl a site. Only http and https URLs are accepted. The result names the provider that succeeded, lists failed attempts and truncates content beyond 50,000 characters with a marker; if every provider fails, the tool returns an error listing each provider's reason.

輸入參數url必填

get_engine_status

Engine Status

Read this server's local engine configuration: enabled state, configured rotation order, per-capability access (keyless, configured key, or key/extra credentials still required), local usage counters and the quota source per engine. Use it before update_engine_config for valid engine ids, and as the machine-readable answer when you need to know which providers are active, how much quota is left or why a provider is skipped — the dashboard is the human-facing view of the same installation. The tool performs no search and no fetch: it is not a live health check, stored errors are historical observations, and a disabled engine is a configuration state, not proof that a key is missing. Provider balances can come from a cached lookup that the dashboard refreshes; unknown provider limits are reported as null rather than zero or unlimited.

無需輸入參數。

open_dashboard

Open Dashboard

Open the local dashboard of this server in a browser on the machine running the server, for a human: it is the only place to enter API keys and provider credentials, strict-free mode, port and access token, and it shows the interactive usage, quota and request-history views. Use it for those credential and network settings and when a person should look at the data; read configuration with get_engine_status and change engines with update_engine_config instead, because their results are machine-readable and this call only launches a browser. The browser opens on the server host, not on the client's machine, and a server started with --no-dashboard returns an error.

無需輸入參數。

update_engine_config

Update Engine Config

Change the local engine configuration: enable or disable engines, set the search and fetch rotation order, and set monthly or daily call limits per engine. Use it when the user wants a provider switched on or off, reordered or capped; call get_engine_status first for valid ids, current order and access modes. The tool writes the shared configuration file of this installation, so the change applies to later searches of every client without a restart. API keys are not accepted here: an engine that still needs a key or extra credentials cannot be enabled until they are set in the dashboard (open_dashboard). Returns the effective per-engine configuration, or an error naming the offending ids — on error nothing is written.

輸入參數enabledfetchOrderdailyLimitssearchOrdermonthlyLimits

版本歷史

7
  1. v0.6.1最新Nov 14, 2026
  2. v0.6.0Nov 7, 2026
  3. v0.5.3Oct 31, 2026
  4. v0.5.2Oct 24, 2026
  5. v0.5.1Oct 10, 2026
  6. v0.5.0Sep 27, 2026
  7. v0.4.11Sep 27, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分