INFINITE MARIO
BATCH:
TILES: 0
POS: 0, 0

INFINITE MARIO

AI-Powered Endless Levels — Every Run is Unique!

WASD = move   P = jump   SPACE = fire
U = toggle god mode   (God mode ON by default)
LEANMCP AI PAL
credits
$1.00
Get more credits →
// Free calls used up
You've used your
1 free credit.
Your 1 free credit covers your first session — build_level(config), build_level(terrain) — Once it is used, buy credits to keep playing.

Buy credits at app.leanmcp.com to keep playing. Same cost as going direct to OpenAI, plus a tiny ~0.5% gateway fee.
01
Go to app.leanmcp.com/billing
02
Buy a credit pack — start small
03
Come back and keep playing
// How this demo works
Infinite Mario
— how it works
You
Click START GAME. The AI generates a brand-new Mario level every time — no two runs are the same.
AI Pal
An LLM (GPT-4o or Claude) designs the level by calling browser tools in sequence — config, terrain batches, then finalize.
WebMCP
Levels are built via navigator.modelContext.registerTool() — the new W3C browser standard. No screenshots. Real JS functions called directly.
Tools
This demo exposes:
Credits
Each level generation hits a real LLM. You get 1 free credit ($1). When it runs out, buy more at app.leanmcp.com/billing.
Gateway
All calls flow through the LeanMCP AI Gateway — every call logged, every cost tracked.