MTG MCP Server

MCP server · by j4th

Developer Tools Python v3.0.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 3.0.0

Python
uvx mtg-mcp-server

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

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

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • 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

GitHub

⭐ 20 stars · 最近更新于 149 天前 · MIT license

About this server

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install MTG MCP Server?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is MTG MCP Server free to use?

The MCP server itself is free to install. The source is public on https://github.com/j4th/mtg-mcp-server. Any third-party service it calls may require its own API key and account.

Which clients support MTG MCP Server?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mtg-mcp-server.svg)](https://mcpnav.net/server/mtg-mcp-server/)

HTML

<a href="https://mcpnav.net/server/mtg-mcp-server/"><img src="https://mcpnav.net/badge/mtg-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>