Mystic Forge
Unified MCP server for Magic: The Gathering, combining Scryfall card search and pricing, EDHRec commander recommendations, Archidekt deck reading, and decklist validation into a single service.
README
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 |
|---|---|
scryfall_search |
Full Scryfall query syntax search |
scryfall_named |
Look up a card by name (exact + fuzzy) |
scryfall_random |
Random card with optional filter |
scryfall_price |
Current prices across all printings |
scryfall_price_list |
Batch-price up to 75 cards at once |
EDHRec — Commander Recommendations
| Tool | Description |
|---|---|
edhrec_commander |
Top card recommendations for a commander |
edhrec_average_deck |
Average decklist for a commander |
edhrec_combos |
Popular combo lines |
edhrec_top_cards |
Trending cards by period and color |
edhrec_recommendations |
Personalized suggestions given your current cards |
edhrec_salt |
Saltiest (most hated) cards |
Archidekt — Deck Reading
| Tool | Description |
|---|---|
archidekt_deck |
Fetch a public deck by ID or URL |
archidekt_user_decks |
List a user's public decks |
archidekt_export |
Export deck as importable card list |
Validation
| Tool | Description |
|---|---|
validate_decklist |
Verify card names, deck size, and color identity |
validate_archidekt_deck |
Full validation of an Archidekt deck including categories |
Quick Start
Docker
docker compose up -d
The 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 --stdio
Self-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 password
Important: Never deploy credentials on a shared/public server. Private deck access is for self-hosted instances only.
Data Sources
- Scryfall — Card data and prices (updated daily from TCGPlayer, Cardmarket, Cardhoarder)
- EDHRec — Commander metagame data and recommendations
- Archidekt — Deck building and storage
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.