io.github.emmanuel39hanks/coal

Coal — Payments for AI agents

Payment rails for AI agents. Pay merchants in USDC on Base. Dual-protocol: x402 + OKX APP.

Endpointhttps://mcp.usecoal.xyz/api/mcp (streamable-http)
Registry version1.3.0
Now13 tools · grade A (100) · pin ts_3160fa130552f387cd6982f62cd41c50 · protocol 2025-03-26
First / last listed2026-11-07 02:09 UTC / 2026-11-07 02:09 UTC
Grade over time2026-11-07: A (100), 13 tools

Is this your server? Own a server? ToolFit hosted watch re-checks it every 24 h ($0.25 per 30 days) or 6 h ($0.60) and sends you an HMAC-signed webhook when its tools or grade change: POST https://api.youraitools.co/toolfit/v1/watch. To opt out, see About & opt-out.

Timeline

First listing · 2026-11-07 02:09 UTC
13 tools, grade A (100)

Tools: discover_merchants search_products get_merchant_profile query_merchant_memory check_paywall create_checkout get_checkout_status verify_receipt get_0g_health agent_wallet_status pay_merchant download_product setup_instructions

Current tools (13)

discover_merchantsTHE DEFAULT FIRST CALL whenever the user wants to buy, get, fetch, grab, order, purchase, shop for, find, or browse anything (digital goods, ebooks, APIs, prompts, datasets). Returns a Markdown product grid with images, prices, and merchant payout addresses inline — so you can go straight to pay_merchant after picking a match. Call this BEFORE asking the user where they want to buy from, BEFORE se
params: none
search_productsSearch products across all Coal merchants. Filter by name, max price, or tag. Returns a Markdown product grid with images. Use this when looking for something specific like "find a figurine under $1".
params: search, maxPrice, tag
get_merchant_profileGet the full profile of a Coal merchant including products (with images), paywalls, supported networks/tokens, and 0G Storage proof. Returns rendered Markdown.
params: merchantId*
query_merchant_memoryAsk a natural language question about a merchant's products, policies, or catalog. Powered by 0G Compute with Sealed Inference (TEE). Needs a Coal API key — set once via Claude config header `X-Coal-Api-Key:YOUR_KEY`, or pass per-call as `coalApiKey`. Get one at https://usecoal.xyz/console/keys.
params: merchantId*, question*, coalApiKey
check_paywallCheck whether an address has paid for a specific x402 paywall. Returns pricing info if not paid, or content access status if paid.
params: paywallId*, address
create_checkoutCreate a Coal checkout session to pay for a product or amount. Settles in USDC on Base (~2s). Returns a checkout URL. Needs a Coal API key — set once via Claude config header `X-Coal-Api-Key:YOUR_KEY`, or pass per-call as `coalApiKey`. Get one at https://usecoal.xyz/console/keys.
params: amount*, productId, productName, description, coalApiKey
get_checkout_statusCheck the payment status of a checkout session: pending, verifying, confirmed, expired, failed.
params: sessionId*
verify_receiptVerify a payment receipt and see its 3-step proof trail: (1) Base TX, (2) 0G Storage receipt, (3) 0G Chain anchor.
params: sessionId*
get_0g_healthCheck the live status of all 5 0G components: Storage, Chain, Compute, KV, DA.
params: none
agent_wallet_statusCheck the USDC balance for your agent wallet (or any address). If `X-Coal-Agent-Key` is set in your Claude config header, this auto-resolves your wallet's address. Otherwise pass `address` or `agentPrivateKey`. The server holds NO long-lived keys — every payment is signed per-request.
params: address, agentPrivateKey
pay_merchantSend USDC on Base to any merchant payout address (the `payoutAddress` field shown by discover_merchants — NOT the merchantId). Use this whenever the user has confirmed they want to buy, purchase, pay, or send money for something. Gasless for you — Coal pays gas. Returns the on-chain tx hash. Auto-uses the wallet key from the X-Coal-Agent-Key header in your Claude config (no need to ask the user fo
params: to*, amount*, agentPrivateKey, sessionId, reason
download_productRetrieve / download / get the file for a digital product after the user paid for it. Use after `pay_merchant` succeeds for digital goods (PDFs, ebooks, cheatsheets, datasets). Pass the on-chain `txHash` from `pay_merchant` OR a Coal checkout `sessionId`. Returns a verified download URL the user can click. Supported product slugs: `0g-cheatsheet` (The 0G Builder's Cheatsheet, $0.10).
params: product*, txHash, sessionId
setup_instructionsPrint step-by-step instructions for using Coal MCP from Claude / Cursor / any MCP client. Run this FIRST if you are unsure how to authenticate or which credentials to provide.
params: none

Entries describe changes in tool definitions. They are not statements about a server, its quality or its author. The grade measures how the tool definitions fit model providers (token cost, schema compatibility, confusable names) as scored by the ToolFit engine at the time of the listing. JSON: append .json. Opt-out: how or hello@youraitools.co.