
Baron Power Play
io.github.MintMachineHQv1.0.0更新于 Sep 29, 2026
Pay-per-call AI infra for agents: DeFi market data, LLM inference, STT/TTS. x402 v2, USDC on Base.
概览
按次付费的远程服务,为智能体提供 DeFi 市场数据、LLM 推理和语音转写/合成,使用 Base 上的 USDC 结算。
- 功能
- 这是一个远程 MCP 端点,提供多条付费路由:/infer 用于 LLM 推理,/markets 提供 DeFi TVL 排行、DEX 热门交易对和自选列表,/alpha 提供带凯利公式仓位计算的交易笔记,/tts 与 /stt 负责语音合成与转写。每条路由都会公布 x402 v2 支付挑战和机器可读的契约,免费的 /test 路由可查看引擎健康状态和实时能力检查。推理在多个独立引擎间池化并自动故障转移。
- 适用场景
- 当智能体需要按量使用推理、DeFi 市场数据或语音服务,又不想注册账号或申请 API 密钥,并且可以接受按次以 USDC 结算时,适合使用。免费的 /test 路由用于在依赖该服务之前先行检查。
- 运行要求
- 远程 streamable HTTP 端点;未声明需要账号、API 密钥或订阅。付费路由需要一个能对 Base(eip155:8453)上的 USDC 签署 EIP-3009 transferWithAuthorization 的钱包,并使用 PAYMENT-SIGNATURE 请求头。请求需带至少 3 个字符的 User-Agent;POST 请求体必须是小于 1 MB 的 JSON。
安装
在 SourceWeft 中
- 打开 控制台中的 Baron Power Play,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 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.
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.
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
/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 Coinversion2 - 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-Agentrequired, minimum 3 charactersPOSTmust sendContent-Type: application/json- bodies over 1 MB are refused
- query strings over 2000 characters are refused
X-Idempotency-Keyis optional, max 128 characters, restricted character set- wrong HTTP method returns
405with a machine-readableMETHOD_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:
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-infoper route, error codesGET /.well-known/x402.json— x402 manifest: endpoints, prices, methods, facilitator, payment requirements, defensesGET /test— free health and capacity check
Working with it
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
工具
0版本历史
1- v1.0.0最新Sep 29, 2026


