readfetch

io.github.readfetch由 GitHub 账号 readfetch 发布v0.1.17更新于 Nov 7, 2026

Stdio MCP proxy: free probe, then x402-paid ReadFetch tools; for hosts that cannot sign x402.

已验证STDIO仅桌面网页搜索与抓取金融

概览

AI 生成的概览

本地 stdio 代理,暴露 ReadFetch 的网页读取与抓取工具,并为无法附加支付头的宿主自动签署 x402 USDC 付款。

可以做什么
  • 免费探测 URL 并返回简短的 HTML 预览
  • 获取网页正文,抓取或爬取页面,遇到机器人挑战时可改用住宅代理抓取
  • 用 Base 主网钱包签署 x402 付款并自动重试付费工具调用
  • 按请求 ID 提交免费的集成反馈
  • 从 ReadFetch MCP 端点列出上游工具
适用场景
当你的 MCP 宿主(如 Cursor 或 Claude Desktop)无法在工具调用上设置支付头,但仍想使用 ReadFetch 的付费网页读取与抓取工具时使用。若只想测试连通性,免费探测无需钱包。
运行要求
需要 Node.js 20 或更高版本,通过 npx 或本地检出运行。付费工具需要 EVM_PRIVATE_KEY 中的 Base 主网钱包私钥及少量 USDC 余额;tools/list 和免费探测不会加载私钥。可选配置 READFETCH_MCP_URL、READFETCH_MAX_PAYMENT_USD 和 READFETCH_DEV。需要访问上游端点的网络。
安装前请注意
EVM_PRIVATE_KEY 中的私钥会让模型调用的任何工具从该钱包花费 USDC,直至余额耗尽,仅受单次付款上限约束;请使用专用的低余额钱包,切勿提交私钥。付费工具会产生真实费用,应谨慎设置 READFETCH_MAX_PAYMENT_USD。不要在指向生产环境时设置 READFETCH_DEV=1,并注意请求的 URL 和页面内容会发送到 ReadFetch 服务。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

readfetch MCP + x402 signing proxy

Most MCP hosts (Cursor, Claude Desktop, etc.) cannot attach PAYMENT-SIGNATURE on tools/call. This stdio MCP server lists tools from https://readfetch.com/mcp, executes tools/call against /v1/{endpoint} on the same host (so HTTP 402 triggers @x402/fetch payment), and signs retries automatically.

Requirements

  • Node.js 20+
  • A wallet on Base mainnet with a little USDC for paid tools (readfetch_text, …). tools/list does not load your key; the first tools/call does.
  • Private key in env — never commit it

Cursor / Claude MCP config

json
{  "mcpServers": {    "readfetch": {      "command": "npx",      "args": ["-y", "@readfetch/[email protected]"],      "env": {        "EVM_PRIVATE_KEY": "0xYOUR_KEY"      }    }  }}

From a checkout:

json
{  "mcpServers": {    "readfetch": {      "command": "node",      "args": ["/absolute/path/to/readfetch/tools/mcp-x402-proxy/index.mjs"],      "env": {        "EVM_PRIVATE_KEY": "0xYOUR_KEY"      }    }  }}

Optional: READFETCH_MCP_URL (default https://readfetch.com/mcp; https only for readfetch.com / www.readfetch.com, or localhost / 127.0.0.1 / [::1] with READFETCH_DEV=1). Upstream redirects are rejected. READFETCH_MAX_PAYMENT_USD (default 1, max 100) caps each x402 authorization. On readfetch.com upstream, payments must match READFETCH_EXPECTED_PAYTO (default catalog payee). READFETCH_DEV=1 is only for local MCP URLs and enables Sepolia there — never set it when READFETCH_MCP_URL points at production.

Wallet risk: any tool the model invokes (readfetch_crawl, batch, …) can spend USDC from your key until the wallet is empty (subject to the per-payment cap). Use a dedicated low-balance wallet.

Install from a checkout:

bash
cd tools/mcp-x402-proxynpm ci

npm ci in a git checkout uses the committed package-lock.json. npx @readfetch/mcp-x402-proxy installs exact dependency versions pinned in package.json (npm does not ship the lockfile in the published tarball).

Local smoke (checkout)

bash
npm ci && npm testnpm run smoke                                    # readfetch_probe (free)SMOKE_TOOL=readfetch_text npm run smoke          # paid REST path; needs Base USDC

From this directory — not the repo root:

bash
cd tools/mcp-x402-proxynpm login                    # user must own or belong to npm org @readfetchnpm publish --access public  # first publish of a scoped package

Wrong: npm publish @readfetch/mcp-x402-proxy from ReadFetch/ (404 — nothing to publish there).

If the @readfetch org does not exist on npmjs.com, create it or temporarily change name in package.json to an unscoped name you control.

Default tool path

  1. readfetch_probe with { "url": "…" } (free; may include preview ~400 chars when HTML, not a bot wall)
  2. readfetch_text with the same url
  3. If probe reports challenge: true, use readfetch_scrape (then readfetch_scrape_residential if needed)

Feedback (integration issues)

After a confusing 402, MCP result, or doc mismatch, call readfetch_feedback (free — no EVM_PRIVATE_KEY) with:

json
{ "request_id": "<X-Request-Id from that call>", "category": "integration", "message": "…" }

Paid delivery disputes use POST /v1/claims, not feedback. Details: readfetch.com/docs#feedback.

Without this proxy

  • REST: awal x402 pay https://readfetch.com/v1/text -d '{"url":"…"}' or @x402/fetch in your app
  • Direct MCP URL: only works if your host can set payment headers on the HTTP request to /mcp

See also readfetch integrations and SKILL.md.

Directory: Official MCP Registry io.github.readfetch/mcp-x402-proxy · Glama listing steps in readfetch/readfetch docs/GLAMA.md (operator).

来源:README.md,提交 29d690e

工具

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

版本历史

2
  1. v0.1.17最新Nov 7, 2026
  2. v0.1.12Nov 1, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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