http://magiccards.info/search.html
(magiccards.info does most of this already, albeit not with a JSON API)
http://magiccards.info/search.html
(magiccards.info does most of this already, albeit not with a JSON API)