xs.dev

Magic: The Gathering on xs.dev

One home for Magic players at xs.dev/mtg: look up any card, find a commander and get a full 100 card deck, keep your decks, and run game night with a life counter, party games and rooms across phones, plus an adults only version.

Status
live
Year
2026
Reading
23 min read
Share

xs.dev/mtg is my home page for Magic: The Gathering, built for any player, me included. It has eight parts:

  • The home page. It opens with the tools: name a commander to build its deck, or look up any card, beside the commander of the day.
  • The deck builder. Type a commander, pick a bracket and a budget, get 100 cards. Five variants of Commander, such as Oathbreaker and Duel Commander, start from a leader you name, and eight 60 card formats, from Standard to Old School, get a starting deck with a sideboard.
  • Card search. Every card by name or by its text, with rulings and prices.
  • Learn. The game explained for someone who has never played.
  • Formats. Every way to play, from Commander to Standard and Modern, with each format’s rules and banned list.
  • Commander Finder. Answer a few questions, get six commanders and a full 100 card deck.
  • Game night. Sixteen tools for the table, for everyone.
  • Game night 18+. The same tools with drinks, behind an age question.

It started with one deck. A Claude session once built me a Korvold deck that I still play. I wanted anyone to get that feeling without a long chat, so I built a page that asks what you like and hands back commanders and a deck. Then game night needed tools too, and it grew from there.

The home page

Everything starts at xs.dev/mtg, and it opens with the tools: a field that builds a Commander deck for any commander you name, a card search, and the commander of the day beside them as the one picture. A row of links under them leads to the rest: the Finder and the deck builder with eight commanders many tables know, the decks you saved, the newest cards and sets, Learn, game night with a life counter or dice one tap away, and the formats. One bar sits on top of every Magic page with the same names: Deck builder, Commander Finder, Cards, Learn, Game night. The commander of the day is the same for everyone, and the page works before a single request is made: search, your decks and the set list arrive on top of plain links.

The look

The Magic pages are their own website. Under xs.dev/mtg nothing of this site’s frame is left: they have their own name (Mana Table), header, footer and icon, so a player who lands there is never asked to understand a portfolio first.

Every Magic page shares one skin: a still night sky lit by the five colors of mana, titles in serif capitals like a card’s name line, gold frames, and a plain rule under every heading. Each page opens with one plain sentence that says what it does. A few embers rise in the top block of a page and scroll away with it, and a card tilts under the pointer with a foil sheen. Nothing else moves, nothing is hidden behind an animation, and Learn prints on white for the table. Words a visitor reads or presses are in sentence case, buttons come in three kinds (a gold one for the main action, outlined ones for the rest, underlined words for links), and anything selected turns gold. With reduced motion switched on the pages look the same and hold still. A wrong address under /mtg/ gets its own Mana Table page with the way back, and every page shares a link preview of its own. Game night is gold and Game night 18+ is red.

Card search finds any card as you type, and it forgives the way people type. Every word has to be in the name, in any order, and accents and apostrophes do not count, so “bolas citadel” finds Bolas’s Citadel and “jotun grunt” finds Jötun Grunt. If no card has those words in its name, they are looked for in the rules text, so “draw a card” works as well as “Sol Ring”. A slip of the keys still lands: “korvald” asks “Did you mean Korvold, Fae-Cursed King?”. Scryfall’s own search words work as typed, like “t:dragon mv<=4”. Color, type, cost, price, set and rarity narrow it down (a color means “fits a deck in these colors”, so Sol Ring stays in a blue search, and a sixth pip finds colorless cards), and the address holds the whole search so it can be shared. A Format menu under the box starts on Commander, remembers your last pick and holds every format the site can search. A card searched by its name shows even when that format does not allow it, marked with why; with filters on, the card is named instead. On a phone the search box stays under the header while you scroll.

A card opens in the same dialog everywhere: in the card search, in the Finder and in a deck. It shows the text the way the card reads, with power and toughness or loyalty and the flavor text; the printing’s price and the lowest price a budget counts, with the printing that sets it named, in euro from Cardmarket or in dollars from TCGplayer (a switch at the foot of every page picks, and budgets keep their numbers); the formats it is legal in; the printing with its set symbol and rarity; the words on the card, each explained in one line with a link to Learn; and tabs for the official rulings, combos, every printing and links. A printing made in another language says which. Each printing, and the card’s own shop link, opens that printing’s page at the shop when the shop’s id for it is known, else a search for its name. On TCGplayer and Cardmarket that page opens on its Near Mint copies, in English when the printing was made in English. A legendary creature gets a button to build a deck around it, and from a deck the combos are the ones that fit its colors.

Learn

Learn is for a first game, and it teaches the game before the format: how a game goes and the four ways to lose, a real card with nine numbered points to tap, mana and the symbols on cards, the card types, how to start a game (mulligans included), and a turn you can click through step by step with one fight worked through. Only then come the six rules Commander adds, the other ways to play (Commander’s variants, then the 60 card and online formats), what each of the five colors is good and bad at, the recipe most decks follow, and 78 words players use, each in one line with a filter that stays on screen. Every section ends with a link to the next. Game Changers, the 99, mana value and the other words the tools use are all in it, and the number of Game Changers comes from the card data, not from me. It reads the same with scripts off.

Formats

Formats explains the 22 formats the site knows, the Commander family first, and starts with which one to play by where and with whom. Each format has a page with its deck rules, where it is played and its banned list. The rules are written once and dated; the ban lists come from the nightly card data, so a new ban reaches the page the next day.

Its own card data

The pages used to ask Scryfall for every card, from each visitor’s browser, at Scryfall’s limit of two searches a second. A deck needs about a dozen searches, so most of a deck’s ten seconds was waiting in line. Now a nightly job turns Scryfall’s free daily files into a compact card file on Cloudflare, and a small search engine there answers the same questions in a few thousandths of a second: all 37,000 cards, their rulings, every paper printing. The card searches for a whole deck finish in under a second. The engine speaks only the part of Scryfall’s search language these pages use, and it never guesses: a word it does not know goes to Scryfall, and so does everything if the nightly job has failed for four days, because old prices are worse than slow ones. A budget counts the cheapest printing made in English that a deck can hold: a printing made only in another language, like a Spanish card from a Salvat collection at a few cents, keeps its price in the list of printings but never sets the card’s. Gold borders and the Collectors’ and 30th Anniversary editions never set a price, an oversized copy sets one only for a card that comes in no other size, such as a plane, and Summer Magic’s euro prices are left out, as Scryfall’s data puts some of them at a few cents. A price fifty times under the same printing’s price in the other currency is a mistake on one side, like a promo at €0.02 in Europe that sells for $21.78 in America. That printing then counts at its price in the other currency, at €0.80 to the dollar. After one visit the pages, the pictures a phone has seen and the table tools keep working without a connection.

The combos moved in the same way. Commander Spellbook publishes all of its combos, about 125,000, as one daily file, and its code, including the rules it grades a deck by, is open source. The nightly job now turns that file into a small index, and the site finds the combos in a deck and grades the deck with Spellbook’s own rules, in a few thousandths of a second where the round trip to their server took a second and a half. I checked the copy against the original: 100 decks built around combos came out identical, and so did the bracket tag of 99.9 percent of all combos graded one by one. One number Spellbook uses is not published, so where it could change a deck’s bracket, or where a combo depends on a kind of card my search cannot test, the site does not guess: it asks Spellbook, as before.

The deck builder

The deck builder is for players who already know their commander: one name, a bracket, a budget, and the deck is there in about ten seconds. Its first field is the format. Commander is the default; Standard, Pioneer, Modern, Legacy, Vintage, Pauper, Premodern and Old School 93/94 build a starting 60 card deck with a 15 card sideboard from up to three cards you pick, one to three colors, a plan (aggro, midrange or control) and a budget per copy (none in Old School), right on the page. Every such deck says up front what it is: “A starting deck, not a tournament list”, built from how cards are tagged, their mana costs and how often Commander decks play them, with links to the decks winning now on MTGGoldfish (every format but Old School) and to the deck lists on Moxfield and Archidekt. Restricted cards in Vintage and Old School come in at one copy each. Old School allows only some printings of a card, and the card data’s price can be another printing’s, so its decks have no budget and show no prices. Pauper Commander, Oathbreaker, Duel Commander, PreDH and Tiny Leaders Reborn start from a leader you name, a power (casual, strong or competitive) and a budget per card, and the deck comes at the format’s own size: 60 cards in Oathbreaker, a signature spell among them, 50 in Tiny Leaders Reborn and 100 in the others. A leader the builder cannot use gets the reason instead of a deck. Most reasons are the format’s rules, and two are the builder’s own limits. It sees only paper printings, so a Pauper Commander leader that was uncommon only on Magic Online is refused. It needs basic lands, so a colorless PreDH commander, whose basics would be Wastes, is refused too. Each of these decks says up front what it is too, with a link to the format’s banned list and, for Duel Commander, to the decks winning now on MTGGoldfish. Swap trades any card for the next one in its role, and “Check this deck” runs the list through the same check as Your decks. A link holds what built the deck on screen, not fields changed since: the cards, colors, plan and budget (/mtg/deck-builder/?f=legacy&s=Brainstorm&col=URG&pl=midrange) or the leader, power and budget (/mtg/deck-builder/?f=oathbreaker&lead=Wrenn+and+Six), and builds a fresh deck from it. Swaps stay out of the link, so Copy as text keeps the exact list. For Commander, a link with a name in it (/mtg/deck-builder/?c=Krenko) builds at once, and a saved deck opens as that same deck again. A deck built by name can change its bracket and budget in place, and ends with how to get the cards: a Cardmarket wants list, a game store, or stand ins to try it first. Cards that cannot go in a real deck stay out: sticker sheets, Attractions, fetch lands for colors the deck does not have, and type cards in a deck with no type.

The cards follow the commander, not only what is popular. Among ramp, draw and removal played about as much, the ones that also fit the commander’s plan come first. A sacrifice commander gets creatures to sacrifice, not spells that sacrifice lands, and a Meren deck gets about 30 creatures. Each card says why it is there by quoting what on it fits, such as “Whenever another creature you control dies, create a Treasure token.” At brackets 4 and 5 the ramp, draw and removal come from the more played cards, the ramp is fast and has no conditions, and a list without a game winning combo says so instead of claiming the bracket.

A commander with Partner, Friends forever, Choose a Background or Doctor’s companion can have a second commander: pick it under the name and the deck is built for both, in the colors of both. Every deck is yours to change. Swap a card for one of three that do the same job, put any card in its place, cut it, add any card or more basic lands, and undo each step. A deck you change, save or share opens as that exact list, not as a new build, because the card data and prices change every night. Your decks holds the decks saved in this browser, with each commander’s art, and checks a deck you already have: paste the list from Moxfield, Archidekt or any deck site and get its bracket, its price, a checkup and the editor. The same box checks a deck for any other format too: its size, copies, sideboard and banned cards.

Commander Finder

The questions

  • Questions you can see. Every color comes with art, one line about its personality and a commander that plays it. Just the facts adds what each color is good and weak at. Pick three colors and the page names the mix (Jund, Esper) and asks how strict to be, with a live count of commanders for each choice. Ways to win each show a commander that plays that way and what a game looks like, so “drain” or “combo” means something before you pick it. Even the card look you prefer is shown as a real card in each frame.
  • Love it or leave it. Heart the things that make you grin and keep out the ones that make you groan: crossover worlds like Marvel, Final Fantasy or Star Trek, and creature types like pirates or squirrels. A kept out world never shows up, not in the commanders and not in the deck. Each card is checked on its own, so Sol Ring, which also has crossover printings, stays.
  • A voice, if you want one. Every question comes in three voices: Facts, the plain words every visitor starts with, Fun, and Caveman, where every word has one syllable. Only the words change, never the picks. In Fun every pick gets a joke about Magic in a speech bubble (pick dragons and it says “Dragons. Correct answer.”), so the jokes cost no space on the screen. Answers that pull against each other get a club on the head (“NO! cEDH is never simple”) and two ways to fix it. Prices, brackets and errors never joke, Facts never jokes at all, and nothing leans on innuendo: the Finder is for every age. A first visit starts on bracket 2, where a first deck belongs.
  • Caveman Mode. Nine questions too many? Five, with big pictures and small words. Do you win with one big stick, lots of small sticks, or do math till they give up? How mean is your table, and how much rock you got? Same search, same deck. Your results come with a meme about one Commander habit, made from card art, and the group chat version carries the roast along, and building the deck passes the time with a few more (“Did you pay the 1? / Nobody has ever paid the 1”). Just the facts skips them.
  • Your taste in art. The last question shows real commanders that fit your answers, best fits first, with more as you scroll. Heart the ones you would happily look at for a whole game. Scryfall’s art tags, which say what each illustration shows (dragons, storms, cities, skulls), turn those hearts into a taste. It settles close calls between commanders that already play the way you asked. It never picks one on its own.

The picks and their combos

  • Six picks, not a pile. Each commander is scored on how it plays first, then its world, colors, how easy it is and your art taste, and each part is capped, so no card wins just by matching keywords. At cEDH, commanders that are widely played, in many combos and on your plan rise further, and can pass a closer fit. The six best, kept varied by how they play, show the card itself: its cost, its type, the first two lines of its rules text, what it matches you on, and one line on how well it fits. The full list waits below if you want it.
  • Combos you can see. Every combo is drawn as its cards with arrows: what passes from one card to the next, and the way back round when it loops. Badges say what it makes in plain words (“Draw your deck”, “Endless damage”), and one sentence says what that means at the table.
  • The xs.dev combo lab. A script reads the rules text of every card legal in Commander, finds pairs whose abilities set each other off forever, keeps only the loops a player can stop or that win the game, and checks each pair against all of Commander Spellbook’s more than 120,000 combos. Most turn out to be known, which is how I know it reads cards right. The new ones are reviewed against the real card text by a Workers AI model before they are shown. They are labeled untested, and anyone can report a rules problem right under the loop.

The deck

  • A full deck in about ten seconds. Pick a commander, or type one you already know (a typo gets a “did you mean”), and it builds the 99 around it, in your bracket and budget, checked by Commander Spellbook’s bracket estimate and, below bracket 3, kept free of the lab’s new loops, which Spellbook cannot know about. Swap any card for the next best one of its kind within your budget, undo it if you liked the old one better, and the bracket is checked again by itself. Then copy the list into Moxfield, Archidekt, a Cardmarket wants list or TCGplayer’s Mass Entry. The deck sits in three tabs, Cards, Play it and Checkup, so the list comes first and the rest is one tap away.
  • Loops in your deck, and the card that finishes one. The Checkup tab asks the site’s own rules model which cards in the list make an endless loop, and which single card from the builder’s candidates would complete one. This check runs in your browser, in the background, and sends your list nowhere. Each loop says what it takes for granted before you start and walks through one round, step by step. Commander Spellbook’s bracket check does not count these loops, so below bracket 4 the page leaves out cards the rules model sees finishing a two card loop.
  • A deck you can trust. The number of lands follows the deck’s own curve (Frank Karsten’s formula), every card can say in one line why it is there, a mana curve shows where the spells sit, and a Deck Doctor checks ramp, card draw, removal and ways to win against the usual counts. The guide names this deck’s best openers, gives the real odds of hitting your mana, deals sample hands with a keep or mulligan call, and writes the one breath summary to say at the table before the first game.

Game night

Game night is sixteen tools on a dark table, each with card art, and nothing a table would not really pull out mid game. I built 46 first and then retired 30, bingo included, because a long list of maybe fun is worse than a short list of yes. Each tool opens with its own art, a big way back to the list and the site’s name, and its rules sit in one framed box. The list itself opens with Tonight: the tools with something saved in the last 12 hours, one tap back to where the table was.

  • Who goes first. Everyone puts a finger on the phone, and after two still seconds one gets picked. On a phone it takes the whole screen, its words show both ways up for the far side of the table, and a ring fills round every finger while it counts. A computer with no touch screen rolls between your names instead.
  • Every game. A life counter for up to six, with commander damage, poison, the monarch and the initiative, that turns the far side round and fills the whole screen on any phone. One button in its middle holds undo and a new game; every player’s commander damage and poison stay in sight, and damage can name the commander it came from. Dice with the planar die and a roll off. A turn clock you slap to pass (a bounced slap counts once, and Back one turn fixes a mistake). Card rulings: any card’s text and the official rulings. The everyday ones have addresses of their own, so a search finds them and a bookmark opens straight on them: the life counter, who goes first, dice, the turn clock and Planechase.
  • Hidden roles. Secret roles (one public Crown, hidden Guards, Rebels and a Traitor, read by holding the passed phone). Kingdoms, with a public Monarch and a hidden Knight, Bandits, Assassin and a Usurper who can steal the crown. An assassin ring where taking out your target hands you theirs.
  • Extra decks. Nobody needs to own the cards. Planechase with every plane and phenomenon in paper and a planar die that counts the cost of each roll. Archenemy with a scheme deck of 20. A Horde of zombies that flips its own cards for the survivors to fight.
  • Party games. A chaos wheel to spin once a round, Heads up with the phone on your forehead (top half of the screen scores, bottom half passes), and a card quiz on the most played cards.
  • Several phones and decks. Play across phones: one phone makes a room, everyone else types its four letters, then every phone shows every life total, each phone gets its own secret role (the server shuffles, so not even the host knows who got what), and a cube draft runs with everyone picking at once. Level the table: everyone pastes a deck, each gets a bracket by Wizards’ rules and Commander Spellbook, and the table meets in the middle.

Game night 18+

The same sixteen tools on their own page, in red, behind an age question. Game night is for everyone: penalties cost life and nothing on the page mentions drinking. On the 18+ page every penalty is a sip instead. Sips, not shots, and water counts.

What I learned

Picking commanders

  • Defaults decide results. “These colors or fewer” sounded friendly, but it let a mono black commander climb to the top of a three color search. Making “exactly these” the default, and showing what the other choices add, fixed more than any scoring tweak did.
  • A picture is a loud answer. Players told me the art steered their picks, and a test on five real sets of answers agreed: one heart put that commander first 50 times out of 60, even when it played nothing like what they asked for. Now the plan leads, the art settles close calls, and the example art on the play questions stays gray until you pick it.
  • A ban has to be checked card by card. Crossover sets now carry the same stamp as every other set, and Sol Ring has 48 crossover printings, so neither the stamp nor the printing tells you what to keep out. A card goes only when every paper printing it has is a crossover.
  • A search can match the wrong printing. Scryfall’s art and date terms match a card when any printing does, so Sol Ring has a hat (one Secret Lair version does) and is “new” every time it is reprinted. For hats that is fine, the deck shows the hat version. For “only new cards” it was wrong, and limiting the match to each card’s first printing fixed it.

Combos

  • Know what you do not know, per case. Copying Commander Spellbook’s deck grading, one input turned out to be unpublished. Their file holds each combo’s own grade, which was made with that input, so for most combos the answer could be read back out. For the rest the site works out the deck’s grade both ways and only answers when both agree.
  • A combo finder has to be strict. Reading “whenever this happens, do that” is easy. Knowing when it stops is the hard part: once each turn, a cost, a condition, a creature that comes back as a land. Three real loops beat three hundred false ones.
  • A loop that never stops is not a win. Two triggers with no “may” between them run on their own, and the rules call that game a draw, or you draw your whole deck and lose. Nine loops the lab used to show worked like that, and the page told players to stop in time, which they could not. Now the finder asks who can stop it first.
  • An AI reviewer needs the whole card. It once rejected a working loop because it read the front face of a card that only does the trick after it transforms. Naming each face fixed it. The AI only ever removes loops, it never adds them.

At the table and on the page

  • Decoration adds up. The pages once ran seven small animations at the same time: a turning sky, pulsing stars, light across the headline, floating cards, shine on every button. Each one was fine. Together they kept a phone busy and made the site look generated. Now the sky holds still and a few embers stay at the top of the page.
  • A feature I liked is not a feature someone uses. I built a wheel of the five colors that recolored the whole site. The person it was for called it useless and annoying, so it is gone, and the spot it held in the header now leads to your saved decks.
  • Measure the copy against the original. My first card search disagreed with Scryfall on what a commander is, on whether a Plane is a Planeswalker, and on two faced cards. I only found out by asking both the same 44 questions and reading every difference. 37 now match exactly, and I know why the other 7 do not.
  • Memory is a budget too. The first card file took 177 MB once loaded, in a place that allows 128. Keeping the cards as plain text and decoding one only when it is returned brought it to about 76.
  • Name things by what people came to do. The home page once opened with a card search and four doors called Find, Run, Drinks and Build. Someone looking for a deck builder had to read all four. Now it opens with the two things most visitors came for, a field for a commander and a card search, and every page carries the same names in the same order.
  • A tap is not always one tap. At a game table a phone gets slapped, bumped and passed, so a second tap in the same spot on a screen that just changed is dropped, a secret shows only after the finger has stayed down a moment (a scroll that starts on it shows nothing), and marking a player out has an Undo instead of an “are you sure”. Where a step really cannot be taken back, like a new deal, the page asks in its own box with the safe answer ready, and a tap in its first moment does not count.
  • Fewer words is a design you can measure. I counted the words on every screen at phone size: the deck page had 1,352 and was almost 20 screens long, with the same counts shown twice. Cutting repeats, putting art credits on the art, and hiding each card’s reason behind one button brought it to 288 words without losing a fact.
  • Rate limits are part of the design. Scryfall allows two searches a second, so when the page does have to ask Scryfall, it asks from each visitor’s own browser and spaces its searches. Commander Spellbook goes through the site with a day of caching, and the whole site backs off together if it ever says slow down.

The Magic pages on xs.dev are unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC.

Visit xs.dev/mtg (opens in a new tab)

Contents

  1. 01The home page
  2. 02The look
  3. 03Card search
  4. 04Learn
  5. 05Formats
  6. 06Its own card data
  7. 07The deck builder
  8. 08Commander Finder
  9. 09Game night
  10. 10Game night 18+
  11. 11What I learned

Contact

    ↑↓ to moveEnter to open/ opens this anywhereEsc for the resultsEsc twice to close