Search syntax
Type words to search card names, and add filters to narrow the results. The same page is inside the app, under Syntax, with every example clickable. The filter panel on the home page writes these queries for you.
The basics
| You type | You get |
|---|---|
lightning bolt | Cards whose name contains both words |
"serra angel" | Quotes keep words together |
!"Lightning Bolt" | An exclamation mark asks for the exact name |
t:dragon c:r | Filters are written key:value, and all of them must match |
t:elf or t:goblin | Either one or the other |
(t:elf or t:goblin) mv<=2 | Parentheses group, as in arithmetic |
c:r -t:creature | A minus sign excludes |
Number filters accept : = != < <= > >=, as in mv<=3 or pow>=5. Upper and lower case do not matter.
Colours
Write any combination of w u b r g, a colour's name, c for colourless or m for multicolour.
| You type | You get |
|---|---|
c:rg | Cards that are at least red and green |
c=rg | Exactly red and green |
c<=rg | Red, green, both, or colourless |
c:c | Colourless cards |
c:m | Cards of two or more colours |
id:wub | Cards that fit in a white-blue-black Commander deck |
One result per card, or per printing
A search normally shows each card once, with the printing that matches best. Add unique:prints to see every printing. Tokens and other extras are hidden unless you ask for a set, a collector number, or add include:extras.
All filters
| Filter | Meaning | Example |
|---|---|---|
name | Card name contains (= for the exact name) | name:bolt |
o oracle | Rules text contains | o:"draw a card" |
t type | Type line contains | t:legendary t:dragon |
kw keyword | Has a keyword ability | kw:flying |
c color colour | Colours | c:rg c=w |
id identity | Colour identity (fits in a deck of these colours) | id:wub |
mv cmc | Mana value | mv<=3 |
m mana | Mana cost contains | m:2rr m:{G}{G} |
pow power | Power | pow>=5 |
tou toughness | Toughness | tou<2 |
loy loyalty | Loyalty | loy=3 |
r rarity | Rarity | r:mythic r>=rare |
s e set edition | Set code | set:mh3 |
cn number | Collector number | cn:161 |
st | Set type | st:expansion |
f format legal | Legal in a format | f:modern |
a artist | Artist name contains | a:"rebecca guay" |
ft flavor | Flavour text contains | ft:urza |
year | Year of the printing | year>=2020 |
date | Release date of the printing | date>=2024-01-01 |
eur | Price in euro | eur<5 |
usd | Price in US dollars | usd>=20 |
is | One of: foil, nonfoil, etched, reprint, promo, digital, extra, dfc | is:foil |
have | I own any printing of this card (yes / no) | have:yes |
haveprint | I own this exact printing (yes / no) | set:arn haveprint:no |
qty | Copies I own of this printing | qty>=4 |
loc location | I keep it in a location named like | loc:"blue box" |
cond | I own it in this condition | cond:nm |
finish | I own it in this finish | finish:foil |
lang | I own it in this language | lang:it |
deck | In a deck whose name contains | deck:"dragons" |
unique | Show cards (default) or every printing | unique:prints |
order | Sort by: name, mv, released, rarity, price, set, type | order:price |
dir | Sort direction: asc or desc | dir:desc |
include | Also show tokens and other extras | include:extras |
Your collection in a search
have: is about the card, whatever the printing; haveprint:, qty, loc:, cond:, finish: and lang: are about the exact printing shown. So set:mh3 haveprint:no unique:prints lists the printings of a set you are missing, and have:yes t:dragon every dragon you own in any printing.
The switch beside the Search button writes haveprint:yes into the search for you, and takes it out again: searching your collection is that one filter and nothing else.
Limits
A search can be at most 2,000 characters and 100 terms long.