You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Moxfield Commander Deck Dump

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.

Data collection

  • Commander candidates: every Commander-legal card from Scryfall's Oracle Cards bulk data (legendary creatures, plus cards with explicit "can be your commander" text).
  • Popularity ranking: each candidate's real deck count on Moxfield, probed via Moxfield's public API.
  • Download: the top 2,400 commanders by popularity, with a per-commander deck cap that shrinks by rank tier (up to 800 decks for the top 100 commanders, down to 1 deck for the long tail), sorted by view count.
  • Card identity: every card is resolved to its Scryfall 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.

Schema

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.

Usage

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).

License / usage note

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.

Downloads last month
12

Models trained or fine-tuned on nsaroiu/moxfield-dump