MTG mana sim
mtg-sim.fmf-x402.workers.dev/mpp/mtg/land-count
MTG mana sim: land count and color sources — How many lands should my deck play, and how many sources of each color do I need? Returns the land count needed to hit each land drop on curve at your target probability (default 90%), checks your current land count turn by turn, and gives colored-source counts for casting e.g. RR on turn 2. Works for 60-card, Commander (99) and Limited (40). Exact hype
GET
https://mtg-sim.fmf-x402.workers.dev/mpp/mtg/land-countUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mtg-sim.fmf-x402.workers.dev/mpp/mtg/land-count?lands=24&format=mtg&curve_top=4&probability=0.9");
console.log(await res.json());Example input
{
"lands": "24",
"format": "mtg",
"curve_top": "4",
"probability": "0.9"
}