20

I am going to write a program to manage my library of Magic cards and I am looking for a database file or list of all of the cards that have been released. I know that the Gathering site is useful, but it limits the number of cards I can return in a search. I would happily accept a spreadsheet file, database file, or even a text file.

The more information contained in the database, the better. Having associated images would just be fantastic, but at this point I would settle for names and basic stats of the cards.

7
  • 2
    Cockatrice just scrubs Gatherer set-by-set when you set it up. Their code to do it should be open-source (you'll want to look at the oracle tool).
    – Alex P
    Commented May 7, 2012 at 19:55
  • 1
    Note that technically you'd be breaking Wizard's terms of service if you scrape all the images from Gatherer. I'm sure you don't care about that if it's for personal use only…
    – ghoppe
    Commented May 7, 2012 at 21:26
  • 2
    I'm guessing half the fun for you will be building the program, but just in case you didn't know, if you're using Windows, the Magic the Gathering Online client can also track collections offline. You might want to check that out because it is possible to export a csv collection file.
    – ghoppe
    Commented May 7, 2012 at 21:56
  • And for those who don't take fun in programming their own tool and still need to manage their library, there are also online tools to do so. I'm using deckbox but I assume there are others as well.
    – Joubarc
    Commented Sep 19, 2013 at 7:17
  • Please see my comment on the other question for why I'm voting to close this one as a duplicate of it. Commented Nov 5, 2013 at 9:02

5 Answers 5

20

as an alternative, you can also get the full set of cards in JSON format - including all sets, languages, printings and detailed information - from this website: http://mtgjson.com/

This website also provided information to work with its associated site for serving images, found here: http://mtgimage.com. Unfortunately however, subsequently this website has been shut down by WotC.

this websites appears to be designed specifically for developers, with explanations of what each property in the JSON objects means.

4
  • 1
    I was playing with this over the weekend and it works quite well, there are a couple of hiccups to look out for. the "booster" attribute of each set object didn't play well with the library I used (Newtonsoft Json). And contrary to my first implementation, converted mana costs cannot be integers. Thanks unhinged!
    – Patters
    Commented Mar 10, 2014 at 14:47
  • As of march 10th, mtgimage.com was shut down and is no longer offering images for Magic the Gathering cards.
    – Coreus
    Commented Jun 14, 2015 at 23:36
  • 1
    updated my answer to reflect this. shame it was taken down!
    – Patters
    Commented Jun 15, 2015 at 12:04
  • @Patters, Was it even legal? It doensn't stand a chance against MTG.
    – Pacerier
    Commented Jun 29, 2015 at 21:32
6

You can grab a complete list here it's in .xls too! I have downloaded a copy but it looks to be someone's personal list and might disappear at any time. I don't have the ability to attach a file yet so download it quick!

If that is not what you want then your best bet would be Cockatrice but be aware of breaking the Gatherer ToS.

2
3

Here is it in XML and ASCII, complete from what I gather.

1
  • Appears to be actively maintained.
    – John
    Commented Jul 1, 2014 at 11:26
1

For people that are still searching for a program to save you set, put in trade cards and or make a wishlist. I found this awesome site that does exactly that! http://deckbox.org/. After you have listed all of your cards, you can even see the value of your set.

2
  • I was thinking of building a similar tool to the OP. I want my collection organized by which deck each card is in, with the possibility of proxies. Does Deckbox provide this?
    – thepeer
    Commented Apr 2, 2014 at 14:40
  • Sort of. You can put decklists in Deckbox, and see how many of each card is in your inventory. Unfortunately, you cannot 'tag' cards to see in which deck they are, or how many you are using across your decks.
    – Jorn
    Commented Aug 7, 2014 at 9:44
0

I have not seen anyone mention this one. But MTG Studio (http://www.mtgstudio.com/) has what you are looking for. I use it to manage my collection.

Not the answer you're looking for? Browse other questions tagged .