MTG MCP Server

io.github.j4th/mtg-mcp-server

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "stdio",
        "MTG_MCP_HTTP_PORT": "8000",
        "MTG_MCP_LOG_LEVEL": "INFO",
        "MTG_MCP_ENABLE_17LANDS": "true",
        "MTG_MCP_ENABLE_EDHREC": "true",
        "MTG_MCP_ENABLE_BULK_DATA": "true",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "100",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "12",
        "MTG_MCP_ENABLE_RULES": "true",
        "MTG_MCP_DISABLE_CACHE": "false",
        "MTG_MCP_ENABLE_MOXFIELD": "true",
        "MTG_MCP_ENABLE_SPICERACK": "true",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "true"
      }
    }
  }
}
Environment variables
  • MTG_MCP_TRANSPORTServer transport — 'stdio' (default) or 'http'
  • MTG_MCP_HTTP_PORTHTTP port when transport is 'http'
  • MTG_MCP_LOG_LEVELLogging level — DEBUG, INFO, WARNING, or ERROR
  • MTG_MCP_ENABLE_17LANDSEnable 17Lands draft analytics backend
  • MTG_MCP_ENABLE_EDHRECEnable EDHREC commander metagame backend (uses undocumented endpoints)
  • MTG_MCP_ENABLE_BULK_DATAEnable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)
  • MTG_MCP_SCRYFALL_RATE_LIMIT_MSMinimum delay between Scryfall API calls in milliseconds
  • MTG_MCP_BULK_DATA_REFRESH_HOURSHours between Scryfall bulk data refreshes
  • MTG_MCP_ENABLE_RULESEnable Comprehensive Rules engine for rules lookup and keyword tools
  • MTG_MCP_DISABLE_CACHEDisable in-memory TTL caching (useful for testing)
  • MTG_MCP_ENABLE_MOXFIELDEnable Moxfield deck search and import backend (reverse-engineered API)
  • MTG_MCP_ENABLE_SPICERACKEnable Spicerack tournament results backend
  • MTG_MCP_ENABLE_MTGGOLDFISHEnable MTGGoldfish metagame data backend (HTML scraping)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
3.0.0
Registry
active
Published
4/4/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that MTG MCP Server is listed here — it’s also the link we check for a free listing.

MTG MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-j4th-mtg-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MTG MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![MTG MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-j4th-mtg-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.