{"openapi":"3.1.0","info":{"title":"Pokémon TCG Sim — Pokémon TCG simulator for your AI: goldfish, mulligan, prize and draw sims, Standard/Expanded deck check","version":"1.0.0","description":"Pokémon TCG Sim: a Pokémon TCG simulator inside your AI (MCP server + pay-per-call API). Goldfish simulator (setup mulligans, prizes, draws by turn), exact prize card odds, draw and opening-hand odds, plus a FREE Standard/Expanded deck check (60 cards, 4-copy rule, Basic Pokémon, ACE SPEC, Radiant, regulation marks, reprint rule). Paid tools from $0.001 via MPP on Tempo, no account; invalid input is never charged. Docs: https://pokemon-tcg-sim.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://pokemon-tcg-sim.fmf-x402.workers.dev/llms.txt and https://pokemon-tcg-sim.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://pokemon-tcg-sim.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://mpp-chain.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. Pokémon TCG Sim is an unofficial fan tool, not affiliated with or endorsed by Nintendo, Creatures, GAME FREAK or The Pokémon Company. Pokémon and card names are trademarks of their owners. Card data from TCGdex (MIT licence); card data tools are free. Paid tools sell only our own computation and return no card data.","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD, WWW-Authenticate: Payment) or x402 v2 on Base (USDC, PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers). Bad input or an upstream failure returns 402 with an error and you are not charged.","contact":{"name":"FMF Tools","url":"https://pokemon-tcg-sim.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://pokemon-tcg-sim.fmf-x402.workers.dev/docs","x-mcp":"https://pokemon-tcg-sim.fmf-x402.workers.dev/mcp","x-llms":"https://pokemon-tcg-sim.fmf-x402.workers.dev/llms.txt","x-fmf-id":"pokemon-tcg-sim"},"servers":[{"url":"https://pokemon-tcg-sim.fmf-x402.workers.dev"}],"paths":{"/mpp/ptcg/draw-odds":{"post":{"operationId":"ptcg_draw_odds","summary":"Pokémon draw sim: exact odds to draw your cards by turn N","description":"Exact odds of drawing one or more cards (jointly) in the opening 7 and by each turn; both players draw on turn 1; also the chance each card is prized. \"Odds of Arven or Iono by my first turn?\" Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cards":{"type":"array","description":"[{\"name\":\"Arven\",\"copies\":4,\"min\":1},{\"name\":\"Basic Pokémon\",\"copies\":12,\"min\":2}] (max 6)"},"turn":{"type":"integer","description":"1-20, default 4"}},"required":["cards"]},"example":{"cards":[{"name":"Arven","copies":4,"min":1},{"name":"Basic Pokémon","copies":12,"min":2}],"turn":2}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/ptcg/prize-odds":{"post":{"operationId":"ptcg_prize_odds","summary":"Pokémon prize card odds","description":"Exact chance that 0, 1, 2… copies of each card end up in your 6 prizes, for up to 10 cards at once, conditioned on your opening hand or unconditional. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cards":{"type":"array","description":"[{\"name\":\"Rare Candy\",\"copies\":4}]"},"after_opening_hand":{"type":"boolean","description":"default true (card is not in your opening 7)"}},"required":["cards"]},"example":{"cards":[{"name":"Rare Candy","copies":4},{"name":"Charizard ex","copies":2}]}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}},"/mpp/ptcg/goldfish":{"post":{"operationId":"ptcg_goldfish","summary":"Pokémon goldfish simulator + mulligan sim for a pasted decklist","description":"Paste a 60-card list and get a seeded Monte Carlo goldfish: setup mulligans (no Basic), prize cards, draws each turn, chance your low-copy cards are prized, and your goals (\"Arven by turn 1\", \"2 Basics + Supporter by turn 2\"). Basics, Supporters, Items, Energy are detected from card data. Up to 20,000 games. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"decklist":{"type":"string","description":"Pasted 60-card decklist"},"goals":{"type":"array","description":"[{\"name\":\"Arven T1\",\"turn\":1,\"need\":[{\"card\":\"Arven\"}]},{\"name\":\"Supporter T1\",\"turn\":1,\"need\":[{\"group\":\"supporter\"}]}]"},"tags":{"type":"object","description":"extra groups {\"draw\":[\"Iono\",\"Arven\"]}"},"turns":{"type":"integer","description":"1-10, default 4"},"iterations":{"type":"integer","description":"100-20000, default 10000"},"seed":{"type":"integer","description":"default 1"}},"required":["decklist"]},"example":{"decklist":"Pokémon: 12\n4 Charmander MEW 4\n2 Charmeleon PAF 8\n3 Charizard ex OBF 125\n3 Pidgey MEW 16\n\nTrainer: 36\n4 Rare Candy SVI 191\n4 Ultra Ball SVI 196\n4 Nest Ball SVI 181\n4 Arven SVI 166\n4 Iono PAL 185\n4 Boss's Orders PAL 172\n4 Buddy-Buddy Poffin TEF 144\n4 Professor's Research SVI 189\n4 Super Rod PAL 188\n\nEnergy: 12\n12 Basic {R} Energy SVE 2","goals":[{"name":"Supporter by turn 1","turn":1,"need":[{"group":"supporter"}]},{"name":"Charmander + Rare Candy + Charizard ex by turn 2","turn":2,"need":[{"card":"Charmander"},{"card":"Rare Candy"},{"card":"Charizard ex"}]}],"turns":3,"iterations":5000,"seed":3}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.003"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://pokemon-tcg-sim.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health."}]}