x402 Tools

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

Pay-per-call research tools for AI agents, paid via x402 USDC. Remote MCP, one free tool.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取金融開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供按次計費的網頁、網域、GitHub、加密代幣、股票、天氣與公共資料研究工具,透過 x402 以 Base 上的 USDC 結算。

可以做什麼
擷取與檢查網頁:可達性、狀態碼、標題、清理後正文與連結,以及附來源標註和引用的多網址研究簡報(含一個免費檢查工具)。查核網域與程式碼儲存庫:RDAP 註冊商與日期、DNS 記錄、憑證透明度歷史、GitHub 儲存庫快照及更深入的盡職調查報告。查詢加密與市場資料:Base 上 ERC-20 代幣資訊、A 股、港股與美股的即時行情,以及法幣匯率。檢索公共資料集:USGS 近期地震、Open-Meteo 目前天氣、SEC EDGAR 全文申報檢索與 FDA 召回報告。
適用情境
適合代理沙箱無法連上開放網路時,或需要快速查核網域、GitHub 儲存庫、Base 代幣而不想分別串接多個 API 時。也適合偶爾查詢股票、匯率、天氣、地震、SEC 申報或 FDA 召回,按次付費比訂閱更划算。
執行需求
可使用遠端 Streamable HTTP 端點,或以 Node.js 在本機執行 npm 套件。付費工具需要支援 x402 的用戶端和已存入 USDC 的 Base 主網錢包;本機方式從環境變數 X402_PRIVATE_KEY 讀取錢包私鑰。X402_BASE_URL 為選用,可指向其他賣家。底層資料來源不需 API 金鑰;free_url_check 不需付費。
安裝前請注意
付費工具每次呼叫都會在 Base 主網花費真實 USDC,重試也會計費;repo_diligence 與 web_brief 價格遠高於其他工具,應審慎呼叫。本機方式需透過 X402_PRIVATE_KEY 把錢包私鑰交給該程序,建議使用專用的低餘額錢包。工具參數和已簽署的 USDC 轉帳授權會離開本機,請求也會送往第三方資料來源。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "x402-tools": {
      "type": "http",
      "url": "https://fitze-x402-seller.app.workbuddy.host/mcp"
    }
  }
}

README

x402-tools-mcp

An MCP server that gives any AI agent six research and data tools, paid per call in USDC on Base through x402.

No API keys. No subscription. No monthly minimum. You pay a cent or two when your agent actually calls a tool.

ToolPriceWhat it does
web_fetch$0.01Fetch a URL — status, final URL, title, cleaned text, top 20 links. For agents whose sandbox has no open-web access.
domain_intel$0.02RDAP registrar + creation/expiry dates, DNS records (A/MX/NS/TXT), Certificate Transparency history via crt.sh.
github_repo$0.02Repo facts: stars, forks, open issues, language, licence, last push, README excerpt.
token_intel$0.02ERC-20 facts read from Base mainnet: name, symbol, decimals, total supply, USDC balance.
repo_diligence$2.50Deep repo report — release cadence, contributor spread, issue/PR health, risk summary.
web_brief$3.00Multi-URL consolidated brief with per-source attribution.

Why this exists

Agent sandboxes are frequently firewalled from the open web, and the usual workaround — an API-key-gated scraping service — means a subscription, an account, and a monthly floor you pay whether or not you use it. x402 removes all three: the server answers 402 Payment Required, the client signs a USDC transfer authorisation, and the call proceeds. That is the whole handshake.

Setup

1. Fund a wallet. Any Base wallet with a few dollars of USDC. It needs no ETH — gas is paid by the settlement facilitator.

2. Export the key.

bash
export X402_PRIVATE_KEY=0x<private key of that wallet>

3. Register the server with your MCP client:

json
{  "mcpServers": {    "x402-tools": {      "command": "npx",      "args": ["-y", "x402-tools-mcp"],      "env": {        "X402_PRIVATE_KEY": "0x..."      }    }  }}

Or run it locally:

bash
git clone https://github.com/foxxx009/x402-tools-mcpcd x402-tools-mcp && npm installX402_PRIVATE_KEY=0x... node index.js

Environment variables

VariableRequiredDefault
X402_PRIVATE_KEYyes—
X402_BASE_URLnohttps://fitze-x402-seller.app.workbuddy.host

X402_BASE_URL lets you point the same server at your own x402 seller.

What leaves your machine

Only two things: the tool arguments, and an EIP-3009 signature authorising a USDC transfer for the quoted amount. The private key never leaves the process. Signing is local; settlement happens on Base.

Notes

  • Payments are USDC on Base mainnet. A testnet wallet will not work.
  • Each call is charged on retry with X-PAYMENT; the 402 response always states the exact amount before you pay anything.
  • repo_diligence and web_brief are priced higher because they do real multi-request work. Call them deliberately.

Remote MCP (zero install)

Prefer not to run anything locally? The same service is exposed as a remote Streamable HTTP MCP endpoint:

https://fitze-x402-seller.app.workbuddy.host/mcp

Add it to any MCP client (Claude Desktop, Cursor, etc.) as a remote server URL. free_url_check runs without payment; paid tools answer HTTP 402 with x402 payment requirements and settle in USDC on Base when an x402-capable client retries. Listed in the official MCP Registry as io.github.foxxx009/x402-tools-mcp.

Licence

MIT

來源:README.md,提交 c7be9bc

工具

13

web_fetch

$0.005 per call — Fetch a public URL and return status, final URL, title, cleaned text (scripts/styles stripped, truncated) and the top 20 absolute links. Useful when an agent itself cannot reach the open web.

輸入參數url必填maxChars

domain_intel

$0.005 per call — Domain due-diligence bundle: RDAP registrar + creation/expiry dates + status, DNS records (A/MX/NS/TXT), and Certificate Transparency history via crt.sh. Use to vet a domain before trusting or linking to it.

輸入參數domain必填

github_repo

$0.005 per call — GitHub repo snapshot: stars, forks, open-issue count, watchers, primary language, SPDX license, created/pushed dates and latest release tag. Use to triage a repo before contributing or depending on it.

輸入參數repo必填

token_intel

$0.005 per call — Base ERC-20 due-diligence: on-chain name, symbol, decimals and total supply via eth_call. Use to sanity-check a Base token address before interacting with it.

輸入參數address必填

repo_diligence

$0.03 per call — Deep GitHub repo due-diligence: base snapshot + last 5 commits (author/date/message), contributor count, archived flag, security-policy presence, latest release cadence and open/closed issue ratio. Use to decide whether to depend on or contribute to a repo before trusting it.

輸入參數repo必填

web_brief

$0.02 per call — Multi-source research brief from 1–3 URLs. For each source extract title, meta description, key sentences (numbered/quoted/date-or-figure-bearing) and outbound links. Returns a structured, citable brief other agents can consume without their own web access.

輸入參數urls必填maxSentences

stock_quote

$0.01 per call — Real-time stock quotes: price, change, change percent, open, high, low, volume, turnover, currency and exchange timestamp. Covers A-shares (sh600000, sz000001), Hong Kong (hk00700) and US (usAAPL or plain AAPL). Accepts several symbols at once separated by commas. No API key needed, sourced from Tencent qt.gtimg.cn with a Nasdaq fallback for US tickers.

輸入參數symbols

free_url_check

FREE — FREE: check whether a public URL is reachable and what it is. Returns HTTP status, final URL after redirects, content type and page title. Use web_fetch (paid) for full text and links.

輸入參數url必填

usgs_earthquakes

$0.002 per call — Recent earthquakes from the USGS GeoJSON feed (no API key). Returns magnitude, place, time, depth and coordinates for each event. Params: period = hour|day|week (default day); minmag = minimum magnitude (default 0); limit = max events (default 20).

輸入參數limitminmagperiod

open_meteo_weather

$0.002 per call — Current weather from Open-Meteo (no API key, no signup). Given lat/lon returns temperature (C), apparent temperature, humidity, wind speed, precipitation and a WMO weather code. Params: lat, lon (required).

輸入參數lat必填lon必填

exchange_rates

$0.002 per call — Live fiat exchange rates (open.er-api.com, no key, ~200 currencies). Params: base = ISO code (default USD); to = comma list or single code (default EUR,GBP,JPY,CNY). Returns rates and the last-update timestamp.

輸入參數tobase

fda_recalls

$0.02 per call — FDA recall enforcement reports from open.fda.gov (no key, rate-limited). Params: type = food|drug|device (default food); reason = free-text filter; limit = max records (default 10). Returns recall reason, status, date and product description for each match.

輸入參數typelimitreason

版本歷史

1
  1. v1.1.0最新Sep 22, 2026

評分

已滿足適用檢查項的 90%

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。