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 分

    请在仓库或注册中心条目中声明许可证。