{"openapi":"3.1.0","info":{"title":"CS2 Sim — Counter-Strike 2 economy simulator for your AI: loss bonus, buy or eco, half simulation","version":"1.0.0","description":"CS2 Sim: a Counter-Strike 2 economy simulator inside your AI (MCP server + pay-per-call API). FREE money rules and next-round money calculator (loss bonus ladder, win/plant rewards, $16k cap); paid buy/force/eco decision and Monte Carlo half simulation. From $0.001 via MPP on Tempo, no account; invalid input is never charged. Docs: https://cs2-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://cs2-sim.fmf-x402.workers.dev/llms.txt and https://cs2-sim.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://cs2-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. CS2 Sim is an unofficial fan tool, not affiliated with or endorsed by Valve. Counter-Strike is a trademark of Valve Corporation. Economy rules are public game facts (Competitive/Premier); free tools stay free and 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://cs2-sim.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://cs2-sim.fmf-x402.workers.dev/docs","x-mcp":"https://cs2-sim.fmf-x402.workers.dev/mcp","x-llms":"https://cs2-sim.fmf-x402.workers.dev/llms.txt","x-fmf-id":"cs2-sim"},"servers":[{"url":"https://cs2-sim.fmf-x402.workers.dev"}],"paths":{"/mpp/cs2/buy-decision":{"post":{"operationId":"cs2_buy_decision","summary":"CS2 buy decision: full buy, force or eco","description":"Compares full buy, force and eco for your team money and loss count: who can buy now, how many players can full buy next round after a win or loss, and two rounds out after a loss and eco; gives a plain-language call. Price $0.001 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"money":{"type":"array","description":"team money"},"side":{"type":"string","description":"T | CT"},"loss_count":{"type":"integer","description":"0-4"},"full_buy_cost":{"type":"integer","description":"optional"},"force_buy_cost":{"type":"integer","description":"optional"}},"required":["money"]},"example":{"side":"T","money":[2100,1950,3400,1200,2600],"loss_count":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/cs2/economy-sim":{"post":{"operationId":"cs2_economy_sim","summary":"CS2 economy simulator: Monte Carlo of the rest of a half","description":"Seeded Monte Carlo of up to 12 rounds with real money rules and your win-rate assumptions by buy matchup: expected rounds won, chance to win the majority, and per-round full-buy and win odds. Price $0.003 per call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"side":{"type":"string","description":"T | CT"},"money":{"type":"array","description":"our money"},"opponent_money":{"type":"array","description":"their money"},"rounds":{"type":"integer","description":"1-12"},"win_rates":{"type":"object","description":"{\"full_full\":0.5,\"full_eco\":0.88,...}"},"iterations":{"type":"integer","description":"500-20000"}}},"example":{"side":"T","rounds":12,"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://cs2-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."}]}