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
概覽
本機 MCP 伺服器,讓助理進行網頁搜尋與 Markdown 頁面擷取,在多個供應商的免費額度間輪替並自動容錯切換。
- 可以做什麼
- 搜尋網頁,可指定結果數量、偏好引擎與日期篩選(相對時間範圍或明確的起訖日期)
- 擷取網址並將頁面內容轉為 Markdown
- 查看引擎狀態,以及各引擎的呼叫次數、錯誤與額度餘額
- 調整引擎設定:啟用或停用引擎、設定搜尋與擷取的輪替順序、設定每月或每日上限
- 開啟本機儀表板,管理 API 金鑰、引擎排序、額度與請求紀錄
- 適用情境
- 適合想要一個供助理使用的搜尋與擷取工具,把請求分散到多個供應商、在某個供應商限流或無法使用時仍能運作,並在本機管理金鑰與額度的情況。
- 執行需求
- 以本機程序透過 stdio 執行,可用 npx(需 Node.js 20.3+)、Homebrew 安裝或固定版本的 GitHub 發行包;也可作為需驗證的 Streamable HTTP 執行。供應商 API 金鑰在本機儀表板中加入;是否可免金鑰使用及額度計算依供應商而異。需要能連線至各供應商的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 search-rotation,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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
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
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
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:
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.
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
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
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版本歷史
1- v0.4.10最新Sep 26, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分