XMage lets you play Magic: The Gathering against human opponents over a network or against computer AI opponents — all with complete, automatic rules enforcement. It supports over 31,000 unique cards and more than 91,000 reprints across hundreds of sets, plus custom sets like Star Wars. Every regular set has nearly all cards implemented.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/magefree/mage/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Download the launcher and get into a game in minutes
Installation
System requirements and platform-specific setup guides
Game Modes
Explore Commander, Draft, Sealed, Standard, and 15+ other formats
Developer Guide
Set up your dev environment and start contributing cards
What is XMage?
XMage is a client-server Magic: The Gathering simulator written in Java. The server enforces the complete Magic ruleset automatically — you never have to manually resolve triggers, track priority, or look up rules interactions. Both the client and server are free and open source under the MIT license.31,000+ Cards
Full rules enforcement for every implemented card, including complex interactions
AI Opponents
Multiple AI engines including Monte Carlo Tree Search and look-ahead algorithms
Online Multiplayer
Connect to public servers or host your own for friends and local groups
15+ Formats
Commander, Draft, Sealed, Standard, Modern, Legacy, Vintage, Pauper, and more
Cross-Platform
Runs on Windows, Linux, and macOS with a Java-based launcher
Tournaments
Booster Draft and Sealed tournaments with elimination or Swiss pairings
Get Started in 3 Steps
Download the Launcher
Get the latest XMage launcher and app files from xmage.today. Unpack the archive to any folder (e.g.
D:\games\xmage).Install Java
XMage requires Java 8 or later. Download it from java.com if you don’t have it installed.
Community & Resources
GitHub Issues
Report bugs and request features on the official issue tracker
Reddit Community
Discuss XMage, find opponents, and get help from the community
Discord Server
Real-time chat with other XMage players and developers
Public Servers
See the current list of public XMage servers and their status
