Hey everyone!
I just finished building a web tool to help validate Magic: The Gathering decklists in any custom format. It fetches card data from Scryfall, checks for banned or illegal cards, and gives instant feedback right in your browser.
It’s perfect for experimenting with niche formats, casual play, or even building decks for some existing formats like Standard Penny Dreadful, 2015 Modern, Classic Legacy, Pre Fire Modern, Pre Horizons Modern, Pre Modern. It can also integrate with Moxfield for deck building.
Check it out here: https://git.disroot.org/hirrolot19/mtg-legality-checker
I’d love to hear your thoughts, suggestions, or ideas for improving it. Hope it helps deckbuilders and casual players alike!



MTG Deck Legality Web Checker
A simple web tool for validating Magic: The Gathering decklists in a custom format.
Inspiration
This project was inspired by several sources:
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-checker2. Create and Activate a Virtual Environment
python -m venv venv source venv/bin/activate3. 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.