Skip to main content

A Magic the Gathering CLI Tool

Project description


Donate Release

tigrex is a Python CLI Tool for searching and pricing Magic the Gathering cards using Scryfall's API.



Use the package manager pip to install tigrex.

pip install tigrex


Use Homebrew to install tigrex.

brew tap ericjaychi/tigrex
brew install tigrex


Clone the repository and run the script locally. This method will mean that each command has to have python -m tigrex.

git clone ||
cd tigrex/
python -m tigrex [command]


All searches leverage a fuzzy search, meaning that the [card_name] does not have to be exact. Examples:

  • yuriko will result in a search result of Yuriko, the Tiger's Shadow
  • watery will result in a search result of Watery Grave

If a full name needs to be searched for, wrapping the [card_name] in " " can achieve this, "[card_name]". Examples:

  • "yuriko, the tiger's shadow" will result in a search result of Yuriko, the Tiger's Shadow
  • "watery grave" will result in a search result of Watery Grave

Fuzzy search will fail if there are multiple results. Examples:`

  • path to will fail and not bring up the card `Path to Exile``
  • "path to" will fail and not bring up the card Path to Exile


search - Search for an MTG card.

tigrex search [card-name]

tigrex search

price - Search for an MTG card price.

tigrex price [card-name]

tigrex search

currency - Set the currency of the card searches inside of config.ini so that price shows in the either USD, EUR, or TIX. Foil prices are only in USD.

tigrex currency [usd | eur | tix]

tigrex search


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Although this is an open source tool, donations are appreciated greatly!



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tigrex, version 1.3.0
Filename, size File type Python version Upload date Hashes
Filename, size tigrex-1.3.0-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tigrex-1.3.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page