{"openapi":"3.1.0","info":{"title":"Dota 2 Sim — Dota 2 simulator for your AI: right-click duel sim, build stats, EHP and DPS calculator","version":"1.0.0","description":"Dota 2 Sim: a Dota 2 simulator inside your AI (MCP server + pay-per-call API). Build calculator (hero + level + items → HP, armor, EHP, damage, attack speed, DPS with crits) and a right-click duel simulator (pseudo-random crits and evasion), plus FREE hero and item lookups. Paid tools from $0.001 via MPP on Tempo, no account; invalid input is never charged. Docs: https://dota2-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://dota2-sim.fmf-x402.workers.dev/llms.txt and https://dota2-sim.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://dota2-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. Dota 2 Sim is an unofficial fan tool, not affiliated with or endorsed by Valve. Dota 2 and hero/item names are trademarks of Valve Corporation. Data from odota/dotaconstants; lookups are free. Paid tools sell only our own computation.","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://dota2-sim.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://dota2-sim.fmf-x402.workers.dev/docs","x-mcp":"https://dota2-sim.fmf-x402.workers.dev/mcp","x-llms":"https://dota2-sim.fmf-x402.workers.dev/llms.txt","x-fmf-id":"dota2-sim"},"servers":[{"url":"https://dota2-sim.fmf-x402.workers.dev"}],"paths":{"/mpp/dota/build-stats":{"post":{"operationId":"dota_build_stats","summary":"Dota 2 build calculator: HP, armor, effective HP, DPS","description":"Hero at a level with up to 9 items: attributes, health, mana, armor and damage reduction, magic resistance, evasion, physical and magical effective HP, damage, attack speed, attacks per second and DPS with crits (optionally vs a target armor). Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hero":{"type":"string","description":"hero"},"level":{"type":"integer","description":"1-30"},"items":{"type":"array","description":"[\"Butterfly\",\"Daedalus\"]"},"target_armor":{"type":"number","description":"optional"}},"required":["hero"]},"example":{"hero":"Anti-Mage","level":16,"items":["Battle Fury","Manta Style","Butterfly"],"target_armor":10}}}},"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/dota/duel-sim":{"post":{"operationId":"dota_duel_sim","summary":"Dota 2 right-click duel simulator for two builds","description":"Seeded Monte Carlo duel between two hero builds (level + items): win probability, median time to kill and DPS each way, with pseudo-random crits and evasion. Abilities and regen not modeled. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"a":{"type":"object","description":"{\"hero\":\"Sven\",\"level\":20,\"items\":[\"Daedalus\"]}"},"b":{"type":"object","description":"second build"},"iterations":{"type":"integer","description":"100-20000, default 5000"},"seed":{"type":"integer","description":"default 1"}},"required":["a","b"]},"example":{"a":{"hero":"Sven","level":20,"items":["Daedalus","Black King Bar"]},"b":{"hero":"Troll Warlord","level":20,"items":["Butterfly","Black King Bar"]},"iterations":3000}}}},"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://dota2-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."}]}