{"openapi":"3.1.0","info":{"title":"Lorcana Sim — Disney Lorcana simulator for your AI: goldfish, ink and draw sims, Core/Infinity deck check","version":"1.0.0","description":"Lorcana Sim: a Disney Lorcana simulator inside your AI (MCP server + pay-per-call API). Goldfish simulator (ink drops, alter-hand mulligan, plays by turn), inkable-count odds, draw odds, plus a FREE deck check (60+ cards, 4 copies, 2 inks, Core/Infinity legality). Paid tools from $0.001 via MPP on Tempo, no account; invalid input is never charged. Docs: https://lorcana-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://lorcana-sim.fmf-x402.workers.dev/llms.txt and https://lorcana-sim.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://lorcana-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. Lorcana Sim is an unofficial fan tool, not published, endorsed or approved by Disney or Ravensburger. Disney Lorcana and card names are trademarks of their owners. Card data from Lorcast; card data tools are free. Paid tools sell only our own computation and return no card data. Contact: fmf-tools@agentmail.to","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://lorcana-sim.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://lorcana-sim.fmf-x402.workers.dev/docs","x-mcp":"https://lorcana-sim.fmf-x402.workers.dev/mcp","x-llms":"https://lorcana-sim.fmf-x402.workers.dev/llms.txt","x-fmf-id":"lorcana-sim"},"servers":[{"url":"https://lorcana-sim.fmf-x402.workers.dev"}],"paths":{"/mpp/lorcana/draw-odds":{"post":{"operationId":"lorcana_draw_odds","summary":"Lorcana draw sim: exact odds to draw your cards by turn N","description":"Exact joint odds of drawing one or more cards (up to 6 groups) in the opening 7 and by each turn, on the play (no turn-1 draw) or draw. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cards":{"type":"array","description":"[{\"name\":\"Elsa - Snow Queen\",\"copies\":4,\"min\":1}]"},"turn":{"type":"integer","description":"1-20, default 4"},"on_play":{"type":"boolean","description":"default true"},"deck_size":{"type":"integer","description":"default 60"}},"required":["cards"]},"example":{"cards":[{"name":"Elsa - Snow Queen","copies":4,"min":1},{"name":"inkable","copies":44,"min":4}],"turn":4}}}},"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/lorcana/ink-odds":{"post":{"operationId":"lorcana_ink_odds","summary":"Lorcana ink odds: inkable cards needed to ink every turn","description":"How many inkable cards you need to put a card in your inkwell every turn through turn N at your target probability, and your own deck's odds turn by turn. Exact hypergeometric. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inkable":{"type":"integer","description":"your inkable count (optional)"},"probability":{"type":"number","description":"default 0.9"},"on_play":{"type":"boolean","description":"default true"},"max_turn":{"type":"integer","description":"1-10, default 6"}}},"example":{"inkable":44,"probability":0.9}}}},"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/lorcana/goldfish":{"post":{"operationId":"lorcana_goldfish","summary":"Lorcana goldfish simulator for a pasted decklist","description":"Seeded Monte Carlo goldfish: alter-hand mulligan, inking each turn, plays by cost, odds of inking every turn, ink spent per turn, and your goals (\"draw/cast Elsa by turn 5\"). Inkable and cost come 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 decklist"},"goals":{"type":"array","description":"[{\"card\":\"Elsa - Snow Queen\",\"turn\":5,\"cast\":true}]"},"turns":{"type":"integer","description":"1-10, default 6"},"iterations":{"type":"integer","description":"100-20000, default 10000"},"seed":{"type":"integer","description":"default 1"},"on_play":{"type":"boolean","description":"default true"}},"required":["decklist"]},"example":{"decklist":"4 HeiHei - Boat Snack\n4 Lilo - Escape Artist\n4 Sebastian - Loyal Crab\n4 Scrooge McDuck - On the Right Track\n4 Basil - Tenacious Mouse\n4 Dale - Excited Friend\n4 Donald Duck - Buccaneer\n4 Rat Capone - Rodent Gangster\n4 Nick Wilde - Toy Drive Officer\n4 He Hurled His Thunderbolt\n4 Li Shang - Imperial Captain\n4 P.J. Pete - Devoted Fan\n4 Mickey Mouse - Friendly Face\n4 Tiana - Party Hostess\n4 Maui - Demigod","goals":[{"card":"Mickey Mouse - Friendly Face","turn":6,"cast":true}],"turns":6,"iterations":5000,"seed":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.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://lorcana-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."}]}