I just built a web tool to help validate Magic: The Gathering decklists in custom formats. It automatically fetches card data from Scryfall, checks for banned or illegal cards, and gives instant feedback in your browser.
You can try it here: https://git.disroot.org/hirrolot19/mtg-legality-checker
I hope it’s useful for deckbuilders and casual players alike. I’d love to hear your thoughts, ideas, or suggestions for improving it!
Thanks in advance for checking it out.
MTG Deck Legality Web Checker
A self-contained web tool for validating Magic: The Gathering decklists in a custom format.
On first launch, the app automatically downloads and processes all required card data from Scryfall.
No manual setup beyond running the app is needed.
Features
Installation
It is recommended to use a virtual environment to keep dependencies isolated.
1. Clone the Repository
git clone https://git.disroot.org/hirrolot19/mtg-legality-checker.git cd mtg-legality-checker
2. Create and Activate a Virtual Environment
python -m venv venv source venv/bin/activate
3. Install Dependencies
Running the App
From the project root (with the virtual environment activated):
Then open your browser and navigate to:
http://127.0.0.1:5000/
First Run Behavior
On first launch, the app will:
This process may take a few minutes.
Once complete, cached files are stored persistently for future sessions.
Using the Web Checker
Decklist Rules
4 Lightning Bolt
,2x Opt
).#
.Advanced Usage
For detailed information about the supporting scripts and command-line tools, see
tools/README.md
.