X402 Money Farm

io.github.Darkchild88由 GitHub 帳號 Darkchild88 發布v1.0.1更新於 Oct 24, 2026

Pay-per-call web extraction: clean text, metadata, links, JSON-LD, change detection. USDC on Base.

已驗證STDIO僅桌面網頁搜尋與抓取金融

概覽

AI 產生的概覽

本機 MCP 伺服器,為助理提供按次付費的網頁擷取工具——正文、中繼資料、連結、JSON-LD 與變更指紋,以 Base 上的 USDC 結算。

可以做什麼
  • 擷取網頁正文,輸出純文字或 Markdown,去除導覽與廣告
  • 讀取頁面中繼資料:標題、描述、canonical、OpenGraph、Twitter 卡片、圖示與日期
  • 列出頁面所有連結,補齊為絕對網址並去重,區分內外鏈並統計各網域數量
  • 解析 JSON-LD 區塊並依 schema.org 類型建立索引
  • 產生頁面指紋並給出已變更/未變更判定,用於變更監測
  • 查看免費目錄,含即時價格、錢包狀態與本次工作階段花費
適用情境
當助理需要從指定網址取得乾淨正文、結構化中繼資料或連結清單,而你不想為擷取 API 註冊帳號時適用。也適合在無帳號、無訂閱的情況下監測頁面變化。
執行需求
透過 npx 以 stdio 在本機執行(需 Node.js)。付費工具需要 X402_PRIVATE_KEY,即一個持有 USDC 的 Base 錢包私鑰;手續費由 facilitator 支付,不需 ETH。X402_MAX_USD 設定花費上限(預設 1.00),FARM_BASE_URL 指定服務位址,X402_NETWORK 預設為 Base 主網。需要網路存取。
安裝前請注意
伺服器在磁碟設定檔中保存錢包私鑰,並用它簽署真實的 USDC 付款,應使用小額專用錢包而非主錢包。每次付費呼叫都會花錢;X402_MAX_USD 上限可限制迴圈呼叫的代理,但應主動設定。呼叫會把目標網址傳送給遠端擷取服務。失敗的呼叫不計費,每個回應都含付款資訊區塊便於對帳。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 X402 Money Farm,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

x402 Money Farm — MCP server

Paid web-extraction tools for agents. No account, no API key, no subscription, no signup form: each call settles a fraction of a cent in USDC on Base, per request, and the response arrives only after settlement.

ToolWhat it returnsPrice
farm_catalogEverything below, with live prices and wallet statusfree
farm_clean_textMain article text without nav/ads/boilerplate, text or Markdown$0.02
farm_metadataTitle, description, canonical, OpenGraph, Twitter, icons, dates$0.01
farm_linksAll links, absolutised, deduplicated, internal/external, per-host counts$0.01
farm_jsonldJSON-LD blocks parsed and indexed by schema.org type$0.01
farm_fingerprintNoise-normalised page fingerprint plus a changed/unchanged verdict$0.015

Add it to a client

Claude Desktop — claude_desktop_config.json:

json
{  "mcpServers": {    "x402-money-farm": {      "command": "npx",      "args": ["-y", "x402-money-farm-mcp"],      "env": {        "X402_PRIVATE_KEY": "0xyour_funded_base_wallet_key",        "X402_MAX_USD": "1.00"      }    }  }}

Claude Code:

bash
claude mcp add x402-money-farm \  --env X402_PRIVATE_KEY=0x... \  --env X402_MAX_USD=1.00 \  -- npx -y x402-money-farm-mcp

Any other MCP client works the same way — it is a plain stdio server.

Try it before paying anything

bash
npx -y x402-money-farm-mcp

Then have the agent call farm_catalog. It reports the live prices, whether a wallet is configured and how much has been spent this session. Nothing is billed, and no wallet is needed to see it. If the prices do not suit you, you learned that for free.

Configuration

The server pays from your wallet, one call at a time. Gas is paid by the facilitator, so the wallet needs USDC on Base but no ETH.

VariableDefaultMeaning
X402_PRIVATE_KEY—Your funded Base wallet, 0x + 64 hex characters. Without it the paid tools decline with an explanation and only farm_catalog works.
X402_MAX_USD1.00Hard spend cap for the process. Once reached, every further paid call is refused.
FARM_BASE_URLhttps://x402-money-farm.fly.devThe service to buy from.
X402_NETWORKeip155:8453Base mainnet.

Fund a wallet for this purpose with a few dollars — not your main one. The key sits in a config file on disk; treat it accordingly. The spend cap exists so a looping agent cannot drain even that wallet.

What a call costs, exactly

The price in the table is the whole price. No monthly minimum, no per-seat fee, no metered surprise. The server returns HTTP 402 with the exact amount, your wallet signs that amount, and you get the answer after settlement. A failed call is not billed. Every response carries a _payment block with the amount, the running session total and the paying address, so you can reconcile against the chain yourself.

Why pay-per-call at all

Because the alternative is a signup, a credit card, a minimum plan and a key to rotate — for an agent that wanted the metadata of four URLs. Here the agent decides on its own, pays four cents, and nobody had to create an account.

License

MIT.

來源:README.md,提交 316600a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 21, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分