enrich_csv
Enriches a raw TCGPlayer export with Ink, Cost, Type, Subtypes, STR/WIL/Lore, Inkable, Keywords, and Abilities. Writes an enriched CSV and a dreamborn.ink-ready import file next to the input. refreshprices=True also refreshes TCG Market Price with a live tcgcsv.com lookup.
How to use it
enrich_csv is exposed by the Lorcana MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the enrich_csv tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Lorcana MCP
uvx lorcana-mcp serveOther tools in Lorcana MCP (10)
Analyzes a raw deck list (4x Card Name per line) for ink curve, inkable split, color split, card types, estimated lore/turn, and Core Constructed legality (60-card min, max 4 copies, ≤2 ink colors).
Compares an enriched collection against live API data and reports any stale or wrong fields.
Automatically assembles a legal, curve-balanced ~60-card decklist for an ink pair/format, in one of 3 modes: collection (only cards you own), ideal (best deck regardless of ownership, priced to complete if you pass a collection CSV), or market (best deck, fully priced, ignoring ownership). Also buil
Filters your collection to cards legal in a given format: core, infinity, corezh, coreja, or poorcana.
Finds every character that can sing a given song (or a raw cost threshold), split into Singer-keyword discount picks and plain cost-qualifiers. Optionally flags which ones you own.
Returns a hand-maintained Core Constructed metagame snapshot: every two-ink pair's tier, rough meta share, and playstyle, plus recent tournament results — optionally filtered to one pair (inkcolors="Emerald,Steel"). Not a live fetch — there's no free structured feed for this the way there is for car
Looks up any card by name. Returns full stats, ability text, format legality, and card image URL.
Fuzzy-resolves an informal, misspelled, or subtitle-less card name (e.g. "goofy musketeer", "elsa"). Returns a single confident match, a ranked top-3 to disambiguate, or nothing found.
Searches the full card pool by color, type, rarity, set, cost range, keyword, ability text, or subtype — with pagination.
Compares a deck list against your collection: what you already own, what's missing or short, and a live TCGPlayer cost estimate (via tcgcsv.com) to complete it.