louis1190328 downloadsTrack your physical Magic: The Gathering collection, decks and wantlists, with card data and prices from Scryfall.
An Obsidian plugin to keep track of a physical Magic: The Gathering collection, plus your decks and wantlists, with card data and prices from Scryfall and a few price sources next to it.
Everything is stored in your own files, on your own devices. There is no account and no server run by this plugin.
legal:modern, border:showcase,
oracle:"draw a card", #235…). The Add cards window searches all of Scryfall; each list has the same search over what it holds.Requires Obsidian 1.8.7 or later, on desktop, iPhone/iPad or Android.
Settings → Community plugins → Browse, search for MTG Collection Tracker, install, enable.
Download main.js, manifest.json and styles.css from the latest
release, put the three files in
<your vault>/.obsidian/plugins/mtg-collection-tracker/, then enable the plugin in Settings → Community plugins.
The files of every release since 1.0.524 carry a GitHub build attestation, which proves they were built from this
repository: gh attestation verify <file> --repo Louis1190/obsidian-mtg-collection-tracker.
… menu of a list.CSV import reads a header row; it recognises Quantity, Name, Set code, Collector number, Finish, Condition,
Language, Scryfall ID, the grading columns and Custom price, so the plugin's own CSV export can be imported back.
Cards that Scryfall cannot resolve are reported, not silently dropped.
It is on by default on a new install; an install that existed before keeps what it had, which was off. Either way, Settings → MTG Collection Tracker → Interface → Card recognition (beta) turns it on or off, on each device separately. Nothing is loaded or downloaded until you tap the photo button for the first time. It is available on phones and tablets, and on computers where a webcam is found (the setting is not shown otherwise).
While it is on, a photo button appears in Add cards. On a phone or tablet it opens the camera; on a computer it opens a small window with the live webcam image, and Take photo grabs one frame. The webcam is on only while that window is open and goes off as soon as you take the photo or close it. Photograph one card, laid flat on a plain, well-lit surface and filling most of the frame.
The plugin finds the card, compares its artwork with a compact index of about 52,000 artworks and, when that is not enough, reads the card's name and the set code and number printed at its bottom left. It then shows up to three proposals: you choose, and nothing is added without you.
louis1190.github.io into the plugin's folder. On a device that asks to save data and reports it, it is not downloaded:
the plugin reads the card's name from the photo instead (English and French names).THIRD-PARTY-NOTICES.md), stored in main.js compressed and as base64 text (a code scan lists the resulting
atob call) and unpacked in memory the first time you tap the photo button; they are never written to a file.
Obsidian Sync's Standard plan does not carry files over 5 MB, so if you use it, install the plugin on each device from
the community list instead of through Sync.data.json, a backup or a token: the page is public.| Where it shows | Source |
|---|---|
| Card value, TCGplayer column | Scryfall's own prices |
| Card Kingdom column | Card Kingdom's public pricelist |
| Mana Pool column | Mana Pool's public price list on a computer; on a phone or tablet, the daily MTGJSON price for Mana Pool published for this plugin on GitHub Pages (see below) |
| Price history, Cardmarket column, day-change arrows | A daily price history built from MTGJSON (Cardmarket, TCGplayer and Card Kingdom prices) and published for this plugin on GitHub Pages (mtg-price-history); if it cannot be reached, nothing else is asked and the chart stays empty. Reading these files needs a device that can unpack gzip in its browser engine (every current computer and Android; iPhone and iPad from iOS/iPadOS 16.4): on an older one the price history is simply empty |
| Market movers (Home) | The biggest rises and falls of the day, the week and the month, computed every day from the same MTGJSON price data (Cardmarket, TCGplayer and Card Kingdom) and published for this plugin on GitHub Pages; if they cannot be reached, nothing else is asked and the block says so |
| Showing one currency everywhere | frankfurter.dev USD/EUR rate |
The price saved with each of your cards (it feeds the values you see) comes from Scryfall and refreshes on its own at the interval you choose (Settings → Price, every 24 hours by default). The store columns of a card are fetched when you open the card. Prices are indications taken from third parties, not offers to buy or sell, and can be out of date.
Card Kingdom and Mana Pool publish their whole catalogue as one file (65 MB and 49 MB once unpacked). A computer reads it whole. On a phone or tablet, Card Kingdom is read as a stream so that it never sits in memory. Mana Pool's server does not allow that kind of reading, and loading the file the usual way ran Obsidian out of memory, so a phone or tablet reads Mana Pool from small daily files instead (one per card, about 1-6 KB). That price is the lowest across all conditions, a day old: the column says Lowest with the day under it (Oct 15). A computer shows Mana Pool's live Near Mint price. A price more than ten times TCGplayer's (and at least $5) is left out of those files, because MTGJSON's Mana Pool prices occasionally contain impossible values; the column then shows a dash.
data.json, in the plugin's folder, or in a vault folder you choose
(Settings → Data storage). That is how you sync it with Syncthing, iCloud or any other tool you already use for the vault.MTG Backups by default, the last 7 kept; the automatic ones are written compact, on a single line, to save space, while the exported file stays indented and readable). To restore, Choose a saved backup lists the backups of that folder (the
same on every device), and Load backup file takes a backup from anywhere else. You always see what a backup contains
before anything is replaced.The plugin talks to the internet to do its job, and only to these services. It has no analytics and no telemetry, and it never sends your collection anywhere except to the GitHub repository you configure yourself.
| Service | What for | When |
|---|---|---|
api.scryfall.com, and the images served by *.scryfall.io |
Card search, card data, prices, format legalities, set and mana symbols, card images, and, when you scan a card, a search for the card it was recognised as, plus the small pictures of a few candidate printings | When you search, open or import cards (a name typed in another language that finds nothing is searched again in every language, and the English printing of each match is looked up to give its price); in the background, for each card you mark as being in another language, the name printed on it (one small request per card, then kept on your device; the same answer also says where the picture printed in that language is, used only if you choose to show printed pictures); in the background to keep the prices and legalities of your cards up to date; and, while a card's detail window is open, for the few cards just before and after the one shown (their text, artwork and images, so they appear at once when you move to them); and when you scan a card (card recognition can be turned off in the settings) |
api.cardkingdom.com |
Card Kingdom prices | The first time a card is opened in a session (read as a stream on a phone or tablet, to spare its memory) |
manapool.com |
Mana Pool prices (its whole price list) | The first time a card is opened in a session, computers only |
louis1190.github.io |
Price history and the Cardmarket price: one small file per card, named after the first three characters of its Scryfall id (1 of 4,096 files, ~10-40 KB, shared by about 27 cards). Nothing about you or your collection is in the request. A tiny file next to them, site.json, is read first (about once per session) and says where the price files are: normally right there, but it can name another https address if the files ever have to move, and the plugin then asks that address instead. The last address that worked is kept on your device. The same site also serves the market movers of Home: twelve small lists (about 8 KB each; one per period and vendor choice), the same for everyone, and, on a phone or tablet only, the Mana Pool price: a second set of small files with the same names (1 of 4,096, about 1-6 KB). For card recognition, only when you first tap the photo button (nothing is requested before): mtg-card-fingerprints/fp/ holds the artwork index, one small index.json and 9 files of about 1.3 MB (10.6 MB in all), downloaded once and kept in the plugin's folder. Nothing about you, your collection or your photos is in the request. If these files ever move to another address, index.json names it and the plugin asks there instead (it keeps that address in this device's own storage); this table will then name the new host. |
When a card is opened (and, in the background, for the few cards next to it in the detail window), and when Home shows its market trends |
api.frankfurter.dev |
USD/EUR exchange rate | Once per session, when a price needs converting |
api.github.com |
Syncing your data with your own private repository | Only if you turn GitHub storage on |
Requests to Scryfall are rate-limited as their guidelines ask (card search and card data go out at most about twice a second; the image servers have no limit), and carry a User-Agent that names this plugin. On a device that asks to save data, the pictures of neighbouring cards are not fetched ahead.
A few buttons open a web page in your default browser, only when you click them. These are links, not requests: the plugin itself sends nothing to these sites, and nothing is opened in the background.
| Where | Opens |
|---|---|
| Source: line under the price history (card details) | mtgjson.com |
| Source: footer under the market trends (Home) | mtgjson.com |
| Cardmarket column of Store prices | A search on www.cardmarket.com for the card's name (the name is part of the link) |
| TCGplayer, Card Kingdom and Mana Pool columns of Store prices | The product page link that Scryfall, Card Kingdom and Mana Pool give for that printing (https:// only); on a phone or tablet, Mana Pool's link is built from the card's set and number (manapool.com/card/<set>/<number>) |
Everything the plugin keeps lives inside your vault: its own folder (data.json, caches, safety copies and, if you use card recognition, its artwork index: fp-* files, 10.6 MB), the data folder you
may choose, the backup folder and the export folder. The exceptions are a few per-device preferences and the GitHub token,
which Obsidian keeps in its own storage on the device. The plugin reaches outside the vault in these cases only, each one
started by an action of yours:
MTG Exports by default), and its
Share… button hands that file to the system's share sheet or default app. On Android, Device folder… lets you pick
a folder of the device with Obsidian's own folder picker and writes the file there; it never overwrites an existing file.saveLocalStorage, never the browser's directly), never in data.json, so they are neither synced nor backed up. If you turn GitHub storage on, its
access token goes to Obsidian's secret storage when your version has one, otherwise to the same device storage.npm ci
npm test # unit tests (Vitest)
npm run build # type check, then bundle to main.js
styles.css and manifest.json are used as they are.
THIRD-PARTY-NOTICES.md.MIT © 2026 Louis