MCP Hub › Search & Research › MTG MCP Server

MTG MCP Server MCP server

by j4th · io.github.j4th/mtg-mcp-server

Magic: The Gathering card search, combo lookup, draft analytics, and Commander tools.

🔎 Search & ResearchPythonv3.0.0
Open in MCP HubGitHub repository ↗Website ↗

How to install MTG MCP Server

Python (uvx)

claude mcp add mtg-mcp-server -- uvx mtg-mcp-server==3.0.0

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server==3.0.0"
      ]
    }
  }
}

Environment variables:
MTG_MCP_TRANSPORT – Server transport — 'stdio' (default) or 'http'
MTG_MCP_HTTP_PORT – HTTP port when transport is 'http'
MTG_MCP_LOG_LEVEL – Logging level — DEBUG, INFO, WARNING, or ERROR
MTG_MCP_ENABLE_17LANDS – Enable 17Lands draft analytics backend
MTG_MCP_ENABLE_EDHREC – Enable EDHREC commander metagame backend (uses undocumented endpoints)
MTG_MCP_ENABLE_BULK_DATA – Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)
MTG_MCP_SCRYFALL_RATE_LIMIT_MS – Minimum delay between Scryfall API calls in milliseconds
MTG_MCP_BULK_DATA_REFRESH_HOURS – Hours between Scryfall bulk data refreshes
MTG_MCP_ENABLE_RULES – Enable Comprehensive Rules engine for rules lookup and keyword tools
MTG_MCP_DISABLE_CACHE – Disable in-memory TTL caching (useful for testing)
MTG_MCP_ENABLE_MOXFIELD – Enable Moxfield deck search and import backend (reverse-engineered API)
MTG_MCP_ENABLE_SPICERACK – Enable Spicerack tournament results backend
MTG_MCP_ENABLE_MTGGOLDFISH – Enable MTGGoldfish metagame data backend (HTML scraping)

Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.

Details

Version
3.0.0
Published
2026-04-04
Updated
2026-04-04
Namespace
io.github.j4th
Source
j4th/mtg-mcp-server

Similar search & research servers