nsaroiu/mtg-deck-completion
Updated
122,571 public Magic: The Gathering Commander decklists collected from Moxfield, covering the 2,400 most popular Commander-eligible cards ranked by real deck count on the site.
oracle_id — a
stable identity shared across all reprints/foils/promos of a card — via
Moxfield's per-printing scryfall_id, cross-referenced against Scryfall's
Default Cards bulk data. Basic lands are excluded.| field | type | description |
|---|---|---|
public_id |
string | Moxfield's public deck id — the unique identifier for this deck. Viewable at https://moxfield.com/decks/<public_id>. |
commander_oracle_ids |
list[string] | Scryfall oracle_id(s) of the deck's commander(s) — more than one entry for partner/background decks. |
card_oracle_ids |
list[string] | Scryfall oracle_id of each non-basic-land card in the deck's mainboard, parallel to card_quantities. |
card_quantities |
list[int] | Copy count for each entry in card_oracle_ids. |
from datasets import load_dataset
ds = load_dataset("nsaroiu/moxfield-dump")
deck = ds["train"][0]
cards = list(zip(deck["card_oracle_ids"], deck["card_quantities"]))
To go from oracle_id to card name/text/etc., look it up against Scryfall's
Oracle Cards bulk data (or any
tool built on it).
This is a dump of public decklists collected from Moxfield's public API, not original content. No license is asserted here — if you plan to redistribute or build on this data, check Moxfield's terms of service for their position on reuse of scraped deck data.