Stride20k x402 Data Gateway

io.github.Marysbrain由 GitHub 帳號 Marysbrain 發布v0.2.0更新於 Oct 24, 2026

x402 analytics feed + 20+ pay-per-call agent tools over x402 (data, LLM, risk), no accounts.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理取得免費的 x402 市場動態,以及按次付費、從已儲值錢包扣 USDC 的盡職調查工具。

可以做什麼
讀取免費的 x402 生態快照:依類別列出的服務與週環比變化、新上架服務、核心 npm 套件下載趨勢、協定發布標籤與各來源可靠度評級,每項指標都附新鮮度標記。在花錢前查看 x402 類別涵蓋情況。執行資源預檢,在代理付費前檢查可達性、條款、目錄收錄情形與觀測到的時效。呼叫更多付費的資料、LLM 與風險工具,價格寫在每個工具說明中。依單次與依工作階段執行支出上限,在簽署任何付款前拒絕超限呼叫。
適用情境
適合助理需要最新 x402 生態資料,或在為某個付費 x402 資源花錢前先做查核的情境。若只需要市場資訊,免費動態本身就值得加入;願意為小額錢包儲值時才用得到付費工具。
執行需求
透過 npx 在本機執行(需要 Node.js)。需要連線到閘道的網路,可用 GATEWAY_URL 覆寫基礎位址。付費工具需要 WALLET_PRIVATE_KEY,對應一個在 Base 上持有 USDC 的錢包;免費預覽不需要此變數。可選上限 MAX_PER_CALL_USD 與 MAX_SESSION_USD,以及固定的 EXPECTED_PAY_TO 與 EXPECTED_SIGNING_KID。
安裝前請注意
WALLET_PRIVATE_KEY 會簽署真實付款;請使用只存幾美元 USDC 的專用錢包,絕不要用主錢包。付費呼叫會花錢,且付款授權後若發生傳輸或回應內容讀取錯誤,會依公告價格全額保留為可能已支出,重試前請先核對錢包。README 將此儲存庫標示為已退役,並說明不要從此安裝或部署,但現有部署仍持續運作。工具定義在啟動時從遠端簽章清單取得。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Retired source — recovery reference

Active maintenance moved to the sole maintained private repository Marysbrain/aye-today, in packages/mcp/.

Do not install or deploy from this retired repository. The historical instructions below are retained for recovery and reference, not current operations.

Existing public deployments continue unchanged. Repository retirement does not delete or shut down services. Original source and Git history remain preserved; retired repository workflows are disabled.

Retirement notice: 2026-09-03.


x402-gateway-mcp

The live x402 market feed for agents. The x402_market_pulse tool is FREE — no wallet, no payment, no signup: the x402 ecosystem in one snapshot, refreshed ~3x/day — service listings by category with week-over-week deltas, newly listed services, npm download trends for the core x402 packages, protocol release tags, and per-source reliability grades. Every metric carries a freshness stamp; a stale source says so instead of pretending.

Behind the feed, Aye Scout exposes two paid pre-payment diligence tools: x402 category coverage and a resource preflight that checks reachability, terms, catalog presence, and observed age before an agent spends. The tool list is fetched from the signed public manifest at startup; compatibility-only routes are deliberately absent (verify).

The manifest is verified over its exact response bytes before any paid tools are registered. Both the treasury address and gateway signing-key ID are pinned; an unsigned manifest or an unexpected key rotation stops startup.

⚠️ Funded-wallet warning: WALLET_PRIVATE_KEY signs real payments. Use a dedicated wallet holding only small balances (a few dollars of USDC). Never your main wallet. The key is read from env, never logged, and payment headers are never echoed into agent-visible output.

5-minute setup (Claude Desktop / Claude Code)

  1. Create a fresh wallet and fund it with a small amount of USDC on Base (or Base Sepolia test USDC from https://faucet.circle.com while testing).
  2. npm install -g x402-gateway-mcp (or use npx).
  3. Add to your MCP config (Claude Desktop claude_desktop_config.json, or claude mcp add for Claude Code):
json
{  "mcpServers": {    "x402-gateway": {      "command": "npx",      "args": ["-y", "x402-gateway-mcp"],      "env": {        "GATEWAY_URL": "https://<your-gateway-host>",        "WALLET_PRIVATE_KEY": "0x<small-balance-wallet-key>",        "MAX_PER_CALL_USD": "0.25",        "MAX_SESSION_USD": "2.00"      }    }  }}
  1. Restart the client. The free x402_market_pulse tool works immediately (no wallet needed); every paid tool description states its price, e.g. [costs $0.01 USDC per call] Score an x402 resource before paying it…

Spend guardrails

  • MAX_PER_CALL_USD (default 0.25): tools priced above this are refused.
  • MAX_SESSION_USD (default 2.00): cumulative settled spend per server session; calls that would exceed it are refused with a clear message the agent can relay. Restart the server to reset.

Refusals happen before any payment is signed.

Env reference

VarDefaultPurpose
GATEWAY_URLhttps://pulse.aye.todayGateway base URL (override for local/testnet)
WALLET_PRIVATE_KEY—Buyer key (small balance!). Without it, tools list but calls fail with a clear error
MAX_PER_CALL_USD0.25Per-call cap
MAX_SESSION_USD2.00Per-session cap
EXPECTED_PAY_TOAye treasury addressPinned payment destination; override only for a controlled test deployment
EXPECTED_SIGNING_KIDAye production key IDPinned manifest signing key; rotate only with an audited gateway release

If a transport or body-read error occurs after payment authorization, the MCP reserves the full advertised amount as possibly spent. It will not silently restore that session capacity; reconcile the wallet before retrying.

來源:README.md,提交 f06056c

工具

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

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

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