Mystic Inventory
Mystic Inventory is a lightweight iOS app that lets you use your iPhone camera to scan Magic: The Gathering cards and add them to a personal collection, stored locally using SwiftData. Itβs designed to be faster and more responsive than existing apps by using OCR (text recognition) and the Scryfall API for accurate card identification β without relying on image matching.
β¨ Features
- π· Scan MTG cards using your camera (OCR-based)
- π Identify cards instantly using set code and collector number
- π¦ Add to your collection with one tap
- π± Device-based storage with SwiftData (no account required)
- π§Ύ View and manage your cards in a clean, searchable list or grid
π§ Tech Stack
- iOS 17+, built with Swift 6 and Xcode 16
- SwiftUI for modern, declarative UI
- SwiftData for local persistence
- VisionKit / Vision for real-time OCR
- Scryfall API for accurate card data
πΈ How It Works
- Launch the scanner and point your camera at a Magic card.
- The app extracts:
- Set code (e.g.,
bro
, one
)
- Collector number (e.g.,
142
)
-
It then calls: https://api.scryfall.com/cards/{set}/{collector_number}
- The card is matched and displayed β then added to your local collection.
Support/Issues
Please use the issues section of this repo to create an issue so we can fix it!