MTG collection for Cursor / Claude Code: your cards beside your code
Updated November 9, 2026
Your MTG collection works in Cursor and Claude Code the same way it works in a chat assistant: Reliquary is a remote MCP server at https://reliquary.gg/mcp, both tools can add one and sign in to it with OAuth, and then your cards, decks and places are a question away from your editor or terminal.
What each tool supports
| Cursor | Claude Code | |
|---|---|---|
| Remote server over HTTP | Streamable HTTP, per Cursor's docs | The HTTP transport, per Anthropic's docs |
| OAuth sign-in | Supported for servers that require it | Supported |
The exact lines for Reliquary are on Connect your assistant.
Why a developer would want it
- Lists as files.
export_deckgives a deck as plain decklist text andexport_collectionthe whole collection as CSV, in Moxfield's or Deckbox's columns. Keep them in a repository, diff them, script them. - Lists from files.
import_decktakes decklist text and makes a deck;import_batchtakes collection rows already parsed from a CSV file, 500 rows a call. - The same rules everywhere. Every copy has one place, a deck claims its copies, a copy two decks share is named with both, and a proxy is named as one and left out of a value unless you ask. The rules are the same in an editor as in a chat.
- Changes ask first. Each tool declares whether it reads, adds, or changes and removes, and the destructive ones only describe what they would do until confirmed.
Questions
Is there a REST API too?
Yes. Every tool is also a REST call under /api/v1, signed in with the same OAuth: see the deck API page.
Does it run locally?
No. Reliquary is a hosted server; nothing is installed beyond the entry in your tool's MCP settings.
Can I use it from another editor?
Any client that adds a remote MCP server over Streamable HTTP with OAuth sign-in can connect. Connect your assistant gives the address.
Connect your assistantFree, with Google or GitHub. No card.
Sources
- Cursor Docs, Model Context Protocol (MCP), read November 9, 2026
- Claude Code Docs, Connect Claude Code to tools via MCP, read November 9, 2026
Related
MTG collection MCP server: your cards in any assistantReliquary is an MCP server for your Magic: The Gathering collection. Connect an assistant and ask where a card is, what a deck misses, what to buy.
Deck submission API: send a decklist to Reliquary over RESTReliquary's REST API takes a decklist and makes a deck from it, then claims the cards you own. What it does, and why it does not submit a deck to an event.
A Claude Magic: The Gathering connector for your own cardsAdd Reliquary to Claude as a custom connector and ask about your own Magic: The Gathering cards: where each copy is, what a deck misses, what to buy.
How to paste a decklist into ReliquaryPaste a decklist into Reliquary from another deck site: the line forms it reads, how it finds the commander and the sideboard, and what it leaves out.