Baron Power Play

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

Pay-per-call AI infra for agents: DeFi market data, LLM inference, STT/TTS. x402 v2, USDC on Base.

已驗證Streamable HTTP可網頁執行金融媒體與設計AI 與機器學習

概覽

AI 產生的概覽

按次付費的 AI 基礎設施:LLM 推論、DeFi 行情、交易筆記與語音轉寫/合成,透過 x402 以 Base 上的 USDC 結算。

可以做什麼
  • 對 messages 陣列執行 LLM 推論,自動格式化 JSON 與程式碼並支援串流輸出。
  • 取得 DeFi TVL 排行與 DEX 熱門交易對,支援 meme 分類、自選清單與依時間戳增量同步。
  • 取得含凱利公式部位計算、鏈輪動偵測與多週期分析的交易筆記。
  • 將文字轉為語音,支援情緒設定與依錢包記憶的發音詞典,回傳音訊。
  • 將語音轉寫為文字,偵測加密關鍵詞並提供帶時間戳的講者分段。
適用情境
適合需要按量使用 AI 或加密市場能力、又不想註冊帳號或申請 API 金鑰的代理程式,並能以錢包按次付款。也適合希望在付費前先看到明確價格與介面契約、或需要推論引擎自動容錯切換的自動化代理。
執行需求
遠端 HTTP 端點,無需帳號或 API 金鑰。需要能在 Base(eip155:8453)簽署 EIP-3009 USDC 授權的加密錢包,以及處理 402 挑戰與 PAYMENT-SIGNATURE 標頭的 x402 v2 用戶端。請求須帶至少 3 個字元的 User-Agent,POST 須使用 JSON 內容類型。
安裝前請注意
除免費健康檢查外,每次呼叫都需支付 Base 上的 USDC,由 Coinbase 的 facilitator 結算;/alpha 每次 0.05 USDC,README 明確指出其沒有可驗證的歷史績效,應視為研究參考而非交易訊號。錢包需簽署付款授權,且依錢包設有每日上限(每個端點 50 次、/alpha 20 次、總支出 10 美元)。推薦回饋與依錢包記憶的發音詞典會把使用紀錄與錢包地址連結。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "baron-power-play": {
      "type": "http",
      "url": "https://baron-power-play.baronpowerplay.workers.dev/mcp"
    }
  }
}

README

Baron Power Play

Pay-per-call AI infrastructure for autonomous agents. USDC on Base, settled by Coinbase. No API key, no account, no subscription.

Base URL: https://baron-power-play.baronpowerplay.workers.dev


Why this exists

Agents fail at paid APIs in four predictable ways. Baron Power Play is built to remove each one.

Agent failureWhat Baron does about it
You cannot learn the price or the shape of a service before committing moneyEvery route publishes an exact x402 v2 challenge and a machine-readable contract. You know the cost to six decimal places before you send a single request.
A provider 429s halfway through your task and your agent diesSeveral independent engines with automatic failover and a pooled daily capacity. A dead engine is invisible to the caller.
A third-party service can steer your agent with text smuggled into a responsePrompt-override attempts are blocked before payment, and model output is scanned before it is returned.

If you are an agent, read /.well-known/x402.json and /openapi.json first. They are the contract. This README is the human-readable summary.


Verify before you pay

This is free and it is the fastest way to decide whether to depend on us.

bash
curl https://baron-power-play.baronpowerplay.workers.dev/test

It returns engine-by-engine health, a live inference result, and live checks of the market-data and voice paths. Run it whenever you are about to depend on this service, not once at signup.


Services

EndpointMethodPrice (USDC)What you get
/inferPOST0.001LLM inference. JSON and code are auto-formatted on the way out.
/marketsGET0.002DeFi TVL leaders, DEX trending pairs, meme category, watchlists, delta sync.
/alphaGET0.05Trading notes with Kelly-Criterion position sizing. No verified track record is published — treat this as research input, not a signal to trade.
/ttsPOST0.01Text to speech with emotion casting and a pronunciation dictionary that remembers per wallet.
/sttPOST0.01Speech to text with crypto-keyword detection and timestamped segments.
/testGETfreeReadiness, engine health, and live capability check.

/alpha accepts portfolio_size_usd as a query parameter.


Payment

  • Network: Base (eip155:8453)
  • Asset: USDC, paid with an EIP-3009 transferWithAuthorization
  • Asset identity: USD Coin version 2
  • Protocol: x402 v2 — HTTP 402 Payment Required
  • Facilitator: Coinbase CDP (https://api.cdp.coinbase.com/platform/v2/x402)
  • Receiving wallet: 0xb838930bf3dFD467D30979E12c0a94286F86708D

The flow is the standard one. You send the request, you get a 402 with the exact payment requirement, you sign an authorization, you resend with the PAYMENT-SIGNATURE header, and the facilitator settles on Base. Work is only performed after Coinbase verifies and settles the payment. No unpaid work, ever.

Amounts on the wire are in token atomic units. A 0.001 USDC call quotes as 1000 in accepts[].amount. The amount fields in openapi.json are decimal USD; the runtime accepts[].amount is atomic units.


Capacity

Inference is pooled across several independent engines, selected by remaining headroom, with automatic failover, so a failing upstream is invisible to the caller.

Capacity resets at 00:00 UTC. When the pool is exhausted the route returns a machine-readable SOLD_OUT with a Retry-After and a comeback offer rather than a generic error.

/markets, /alpha, /tts, and /stt do not draw on the LLM engine pool.


Limits and abuse controls

Per wallet, per day:

  • 50 calls per endpoint (/alpha: 20)
  • a lower cap during the wallet's first 24 hours
  • $10 total spend
  • 10 payment requests per second

Per request:

  • User-Agent required, minimum 3 characters
  • POST must send Content-Type: application/json
  • bodies over 1 MB are refused
  • query strings over 2000 characters are refused
  • X-Idempotency-Key is optional, max 128 characters, restricted character set
  • wrong HTTP method returns 405 with a machine-readable METHOD_NOT_ALLOWED

Reuse defenses:

  • a used payment header is refused for 1 hour
  • a used USDC authorization nonce is refused for 24 hours
  • 5 rejected override attempts in an hour blocks that wallet for a day

Every error uses one shape, so you can branch on code instead of parsing prose:

json
{  "error": "/infer accepts POST, not GET",  "code": "METHOD_NOT_ALLOWED",  "suggestion": "Use POST /infer.",  "timestamp": 1790458945409}

Referrals

Refer a wallet and both sides benefit: the referred wallet gets 10% off its first paid call, and the referrer is credited 5% of the list price after settlement. Three referred calls per day maximum, no self-referral.


Discovery

  • GET /openapi.json — canonical OpenAPI 3.1 contract: request and response schemas, x-payment-info per route, error codes
  • GET /.well-known/x402.json — x402 manifest: endpoints, prices, methods, facilitator, payment requirements, defenses
  • GET /test — free health and capacity check

Working with it

bash
BASE=https://baron-power-play.baronpowerplay.workers.dev
# free readiness checkcurl -s "$BASE/test"
# the machine-readable contractcurl -s "$BASE/openapi.json"
# see the exact payment requirement before paying anythingcurl -si -X POST "$BASE/infer" \  -H 'Content-Type: application/json' \  -H 'User-Agent: your-agent/1.0' \  -d '{"messages":[{"role":"user","content":"hello"}]}'# -> HTTP 402 with the x402 v2 challenge in accepts[]
# market datacurl -s "$BASE/markets"

To make a paid call, take the accepts[] entry from the 402, sign the matching EIP-3009 authorization with your wallet, and resend the original request with the PAYMENT-SIGNATURE header. Any x402 v2 client library does this for you.


License

Not yet declared. Add a LICENSE file before treating this as reusable.

來源:README.md,提交 5ef0514

工具

5

infer

LLM inference with auto-formatting and streaming. Accepts messages array, returns AI-generated text. Supports JSON/code auto-detection.

輸入參數streammessages必填

markets

Real-time DeFi TVL leaders and DEX trending pairs. Supports meme coin category, watchlist filtering, and delta sync since timestamp.

輸入參數setsincecategorywatchlist

alpha

Institutional-grade trading signals with position sizing (Kelly Criterion), chain rotation detection, and multi-timeframe analysis. Returns an actionable trade plan.

輸入參數portfolio_size_usd

tts

Text-to-speech with emotion casting (happy/serious/urgent) and pronunciation memory. Returns audio/mpeg.

輸入參數text必填emotionpronounce

stt

Speech-to-text with crypto keyword detection (bullish/bearish/dump/pump/etc.) and timestamped speaker segments. Returns transcript with keyword timestamps.

輸入參數audio_base64必填

版本歷史

1
  1. v1.0.0最新Sep 29, 2026

評分

已滿足適用檢查項的 90%

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

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

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