Mystic Forge
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mystic Forgesearch for 'Dark Ritual' prices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mystic Forge
A unified MCP (Model Context Protocol) server for Magic: The Gathering. Combines Scryfall card search & pricing, EDHRec commander recommendations, Archidekt deck reading, and decklist validation into a single server.
Tools
Scryfall — Card Search & Pricing
Tool | Description |
| Full Scryfall query syntax search |
| Look up a card by name (exact + fuzzy) |
| Random card with optional filter |
| Prices per printing; pin one with set code + collector number, filter by finish |
| Price a decklist at the printing and finish on each line |
| Exact oracle text for a whole list of cards in one call |
EDHRec — Commander Recommendations
Tool | Description |
| Top card recommendations for a commander |
| Average decklist for a commander |
| Community cut/added cards for a precon (real add %, ranked cuts) |
| Popular combo lines |
| Trending cards by period and color |
| Personalized suggestions given your current cards |
| Saltiest (most hated) cards |
Archidekt — Deck Reading
Tool | Description |
| Fetch a public deck by ID or URL ( |
| List a user's public decks |
| Export deck as importable card list |
Validation
Tool | Description |
| Verify card names, deck size, and color identity |
| Full validation of an Archidekt deck including categories |
Precon Decks (MTGJSON + EDHRec)
Tool | Description |
| Search official precons by name or set code (MTGJSON) |
| Full official contents of a precon (MTGJSON) |
| Export a precon in Archidekt import format |
| Exact cut/added cards between a precon and a specific deck |
Goldfish — Deck Simulation
Tool | Description |
| Pre-flight a deck: auto-derive card effects, list only the cards needing a manual annotation |
| Seeded Monte Carlo goldfish stats with 95% CIs and an honesty report |
| Paired A/B of two lists: per-metric deltas ± CI with significance flags |
| Exact hypergeometric draw odds (flat or multi-group joint) |
| Self-contained HTML report of a stored run, rendered verbatim from its metrics |
| Start an interactive seeded game (or resume one from a state blob) |
| Advance an interactive game: policy step, explicit action, or fast-forward |
| Current state and legal actions of an interactive game |
Workflow: run goldfish_annotate on the deck first — it auto-derives what the engine models on its own and hands back the short list of cards that need a manual annotation. Pass those annotations to goldfish_run (or goldfish_ab for a paired swap comparison), then publish the numbers with goldfish_report — reports are rendered from the stored run's metrics, never hand-authored. Goldfish sims measure speed and consistency only; they cannot value interaction. For hosted reports, set GOLDFISH_REPORT_DIR to persist each run's HTML (served at /goldfish/r/<run_code>), and GOLDFISH_PUBLIC_BASE_URL to have run outputs include the public report link; leave both unset and reports are served from memory via goldfish_report only.
Comprehensive Rules
Tool | Description |
| Exact CR text by rule number ( |
| Ranked full-text search over rules and glossary |
Related MCP server: Scryfall MCP Server
Quick Start
Docker
docker compose up -dThe server runs at http://localhost:8000/mcp (streamable HTTP transport).
Connect to Claude Code
Add to ~/.claude/settings.local.json:
{
"mcpServers": {
"mystic-forge": {
"type": "url",
"url": "http://localhost:8000/mcp"
}
}
}Connect to Claude.ai
Add as a Custom Connection with the URL http://localhost:8000/mcp.
stdio mode
python server.py --stdioSelf-Hosting with Private Archidekt Decks
Archidekt does not support OAuth, so private deck access requires your credentials. Create a .env file:
cp .env.example .env
# Edit .env with your Archidekt username and passwordImportant: Never deploy credentials on a shared/public server. Private deck access is for self-hosted instances only.
MYSTIC_FORGE_CR is optional: it sets where the auto-refreshed Comprehensive Rules cache is written; it defaults to the working directory.
Price watchlist
Personal MTG price watchlists with 120 days of daily MTGJSON history plus
weekly averages further back — the server keeps its own price store, so history
outlives MTGJSON's rolling ~90-day window.
Lists are identified by a passphrase (shown once at watchlist_create, or
forged by hand at https://mcp.kautiontape.com/mtg/w/new):
use it in a personal connector URL (https://mcp.kautiontape.com/mtg/mcp/<passphrase>)
or pass it to tools in chat. Share codes (SC-…) grant read-only viewing at
https://mcp.kautiontape.com/mtg/s/<code>. Every change is an append-only event —
see the full chain at https://mcp.kautiontape.com/mtg/w/<passphrase> and recover
any revision with watchlist_clone(at_seq=N) (mints a new passphrase).
Prices ingest nightly from MTGJSON
(tcgplayer/cardkingdom/cardmarket/manapool retail). A card's price basis is
the cheapest of the USD shops unless it is pinned to one market; targets are
judged on the basis. A target is a fixed price or a rule — low follows the
historic low, low-10% stays 10% under it, -20% resolves to 20% under
today's price — written after @ in bulk adds and imports. The board
exports 1 Card Name lists straight into TCGplayer Mass Entry, the Card
Kingdom deck builder, or Mana Pool, and imports them back.
Health: GET /health.
Data Sources
Scryfall — Card data and prices (updated daily from TCGPlayer, Cardmarket, Cardhoarder)
EDHRec — Commander metagame data and recommendations
Archidekt — Deck building and storage
MTGJSON — Daily price history and printing/uuid mapping for the watchlist
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Scryfall MCP — Magic: The Gathering card database.
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
An MCP server that provides congressional transcripts
Related MCP Servers
- AlicenseAqualityCmaintenanceMagic: The Gathering MCP server with card search, rules lookup, deck analysis, and Commander intelligence1442 npm4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for searching and retrieving Magic: The Gathering card information via the Scryfall API, with support for field presets, multiple output formats, and automatic rate limiting.63,088 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that searches and retrieves Magic: The Gathering card data from the Scryfall API.63,088 npmMIT
- AlicenseAqualityCmaintenanceMCP server for Magic: The Gathering card prices, deck analysis, sealed product EV calculations, and investment insights, powered by live data from 5 vendors covering 99K+ cards.2119 PyPIMIT