Fetch Router

dev.fetchrouter由 fetchrouter.dev 發布官方發布者v0.1.1更新於 Nov 3, 2026

面向代理程式的經驗證的網頁抓取:檢測攔截和空白JS頁面,自動回退,僅在成功時計費。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Verified web fetch for agents: detects blocks and empty JS pages, falls back, bills only on success.

已驗證Streamable HTTP可網頁執行

概覽

Fetch Router 的託管 MCP 服務(fetchrouter.dev),由 fetchrouter.dev 發布;需要 API 金鑰;Streamable HTTP;2 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

發布者
fetchrouter.dev
端點
fetchrouter.dev
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Fetch Router,將其新增到工作區。
  2. 連接 X-API-Key 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.fetchrouter%2Ffetchrouter-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "fetch-router": {
      "type": "http",
      "url": "https://fetchrouter.dev/mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

fetchrouter-mcp

MCP server for Fetch Router: web fetch for AI agents that only bills when the page actually loaded.

Agents often get a 200 OK that is really a Cloudflare challenge, a DataDome block or an empty React shell, and then summarise the error page. Fetch Router checks every page for HTTP errors, block and challenge pages (Cloudflare, DataDome, PerimeterX, Akamai, Imperva, Kasada…), login walls, empty JavaScript shells and text you expect to see. If a check fails it retries through another route, such as a headless browser. Failed fetches cost nothing.

When to use it

  • Your agent reads pages it didn't choose: search results, links from users, sites you don't control.
  • You need to know whether a page really loaded, not just that the request returned 200.
  • Some targets are single-page apps that need a browser, and you don't want to run Playwright yourself.
  • You want to pay per page that works, not per request.

When not to use it

  • Crawling a whole site, mapping links or search. Use a crawler (Firecrawl, Crawl4AI, Apify). Fetch Router does one URL at a time.
  • Pages behind a login or paywall. Not supported, by policy.
  • One or two sites you know well. A plain fetch or your own Playwright script is cheaper.
  • Heavily protected retail and travel sites today. Premium unblocking routes aren't live for customer traffic yet. See the benchmark for what passes.

Setup

Get a free key (500 credits, no card) at https://fetchrouter.dev/#signup.

Remote (no install). Streamable HTTP at https://fetchrouter.dev/mcp, with your key in a header:

sh
claude mcp add --transport http fetchrouter https://fetchrouter.dev/mcp --header "Authorization: Bearer fr_..."

Other clients: URL https://fetchrouter.dev/mcp, header Authorization: Bearer fr_... (or X-API-Key: fr_...).

Claude Code plugin (MCP server plus a verified-fetch skill; asks for your key once and stores it securely):

sh
claude plugin marketplace add JonnoGit/fetchrouter-mcpclaude plugin install fetchrouter@fetchrouter

Local (stdio via npx).

json
{  "mcpServers": {    "fetchrouter": {      "command": "npx",      "args": ["-y", "fetchrouter-mcp"],      "env": { "FETCHROUTER_API_KEY": "fr_..." }    }  }}

Claude Code: claude mcp add fetchrouter -e FETCHROUTER_API_KEY=fr_... -- npx -y fetchrouter-mcp

Tools

  • fetch_page (url, mode?, expect_text?, expect_selector?, max_cost?): returns markdown (default) or HTML, plus which route delivered it and what was tried. max_cost caps credits: 1 = plain HTTP only, 2 (default) allows a browser. If the page can't be loaded, the error says why (blocked:cloudflare, http_404, expect_text_missing…) and nothing is billed.
  • domain_reliability (domain): pass rate per route for a site over the last 30 days, from real verified fetches. Free, no key needed.

How well does it work?

A fixed list of 166 public pages in six site types is fetched every night with plain HTTP and with a headless browser, from a datacenter IP. Results, method and CSV: https://fetchrouter.dev/benchmark

Pricing

1 credit ($0.001) per static page, 2 per browser-rendered page, failures free. Details: https://fetchrouter.dev/#pricing

Environment (stdio)

VariableDefault
FETCHROUTER_API_KEYrequired
FETCHROUTER_BASE_URLhttps://fetchrouter.dev
FETCHROUTER_MAX_CHARS60000 (longer pages are truncated)

Development

sh
npm installnpm run buildFETCHROUTER_API_KEY=fr_... node dist/index.js

The tool definitions live in src/tools.ts and are shared with the hosted endpoint at https://fetchrouter.dev/mcp.

MIT licensed. Operated by One + Done LLC. Contact: [email protected]

來源:README.md,提交 f75ec4d

工具

2

fetch_page

Fetch a web page (verified)

Fetch a public URL and get its content only if it really loaded. Checks for block pages, CAPTCHAs, login walls and empty JavaScript shells, and retries through other routes (including a headless browser) automatically. Billed only on success. Returns markdown by default. If ok is false, the reason says why (e.g. blocked:cloudflare, http_404, expect_text_missing): don't retry the same URL with the same settings.

輸入參數url必填modemax_costexpect_textexpect_selector

domain_reliability

Which fetch routes work for a site

Pass rates per route (plain HTTP, browser, providers) for a domain over the last 30 days, from real verified fetches. Use it to choose mode/max_cost before fetching a hard site. Free, no key needed.

輸入參數domain必填

版本歷史

1
  1. v0.1.1最新Nov 3, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分