Console-based access to the Gatherer Magic Card Database
mtg is a tool to search for Magic cards from the command-line. Limit your results by card name, color, type, rules text, converted mana cost, power, toughness, or expansion set. Rulings and flavor text also available. Clean interface and output.