Koskamo

MTG MCP Server

A community-built unified MCP server that integrates multiple Magic: The Gathering data sources including Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish. It provides 69 tools for Commander analytics, draft evaluation, competitive metagame analysis, sideboard strategy, deck building, and rules queries, designed to work with Claude Code, Claude Desktop, or any standard MCP client.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

MTG MCP Server logo, by j4thCommunity listingLocal stdioSource reviewed; not executedPublished by j4th
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 20 GitHub stars

What you can do with it

  • Analyze Commander metagame and deck performance
  • Evaluate draft packs and sealed deck pools
  • Validate decklists and suggest mana bases
  • Query Magic rules and combat scenarios

Source and maintenance

Community listingRegistry 3.0.0MIT
Last repository push
Latest release
v3.0.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mtg-mcp-server 3.0.0

pypiuvx
mtg-mcp-server package definition
{
  "version": "3.0.0",
  "transport": "stdio",
  "identifier": "mtg-mcp-server",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "MTG_MCP_TRANSPORT",
      "default": "stdio",
      "description": "Server transport — 'stdio' (default) or 'http'"
    },
    {
      "name": "MTG_MCP_HTTP_PORT",
      "default": "8000",
      "description": "HTTP port when transport is 'http'"
    },
    {
      "name": "MTG_MCP_LOG_LEVEL",
      "default": "INFO",
      "description": "Logging level — DEBUG, INFO, WARNING, or ERROR"
    },
    {
      "name": "MTG_MCP_ENABLE_17LANDS",
      "default": "true",
      "description": "Enable 17Lands draft analytics backend"
    },
    {
      "name": "MTG_MCP_ENABLE_EDHREC",
      "default": "true",
      "description": "Enable EDHREC commander metagame backend (uses undocumented endpoints)"
    },
    {
      "name": "MTG_MCP_ENABLE_BULK_DATA",
      "default": "true",
      "description": "Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)"
    },
    {
      "name": "MTG_MCP_SCRYFALL_RATE_LIMIT_MS",
      "default": "100",
      "description": "Minimum delay between Scryfall API calls in milliseconds"
    },
    {
      "name": "MTG_MCP_BULK_DATA_REFRESH_HOURS",
      "default": "12",
      "description": "Hours between Scryfall bulk data refreshes"
    },
    {
      "name": "MTG_MCP_ENABLE_RULES",
      "default": "true",
      "description": "Enable Comprehensive Rules engine for rules lookup and keyword tools"
    },
    {
      "name": "MTG_MCP_DISABLE_CACHE",
      "default": "false",
      "description": "Disable in-memory TTL caching (useful for testing)"
    },
    {
      "name": "MTG_MCP_ENABLE_MOXFIELD",
      "default": "true",
      "description": "Enable Moxfield deck search and import backend (reverse-engineered API)"
    },
    {
      "name": "MTG_MCP_ENABLE_SPICERACK",
      "default": "true",
      "description": "Enable Spicerack tournament results backend"
    },
    {
      "name": "MTG_MCP_ENABLE_MTGGOLDFISH",
      "default": "true",
      "description": "Enable MTGGoldfish metagame data backend (HTML scraping)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server==3.0.0"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "<YOUR_MTG_MCP_TRANSPORT>",
        "MTG_MCP_HTTP_PORT": "<YOUR_MTG_MCP_HTTP_PORT>",
        "MTG_MCP_LOG_LEVEL": "<YOUR_MTG_MCP_LOG_LEVEL>",
        "MTG_MCP_ENABLE_17LANDS": "<YOUR_MTG_MCP_ENABLE_17LANDS>",
        "MTG_MCP_ENABLE_EDHREC": "<YOUR_MTG_MCP_ENABLE_EDHREC>",
        "MTG_MCP_ENABLE_BULK_DATA": "<YOUR_MTG_MCP_ENABLE_BULK_DATA>",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "<YOUR_MTG_MCP_SCRYFALL_RATE_LIMIT_MS>",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "<YOUR_MTG_MCP_BULK_DATA_REFRESH_HOURS>",
        "MTG_MCP_ENABLE_RULES": "<YOUR_MTG_MCP_ENABLE_RULES>",
        "MTG_MCP_DISABLE_CACHE": "<YOUR_MTG_MCP_DISABLE_CACHE>",
        "MTG_MCP_ENABLE_MOXFIELD": "<YOUR_MTG_MCP_ENABLE_MOXFIELD>",
        "MTG_MCP_ENABLE_SPICERACK": "<YOUR_MTG_MCP_ENABLE_SPICERACK>",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "<YOUR_MTG_MCP_ENABLE_MTGGOLDFISH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server==3.0.0"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "<YOUR_MTG_MCP_TRANSPORT>",
        "MTG_MCP_HTTP_PORT": "<YOUR_MTG_MCP_HTTP_PORT>",
        "MTG_MCP_LOG_LEVEL": "<YOUR_MTG_MCP_LOG_LEVEL>",
        "MTG_MCP_ENABLE_17LANDS": "<YOUR_MTG_MCP_ENABLE_17LANDS>",
        "MTG_MCP_ENABLE_EDHREC": "<YOUR_MTG_MCP_ENABLE_EDHREC>",
        "MTG_MCP_ENABLE_BULK_DATA": "<YOUR_MTG_MCP_ENABLE_BULK_DATA>",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "<YOUR_MTG_MCP_SCRYFALL_RATE_LIMIT_MS>",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "<YOUR_MTG_MCP_BULK_DATA_REFRESH_HOURS>",
        "MTG_MCP_ENABLE_RULES": "<YOUR_MTG_MCP_ENABLE_RULES>",
        "MTG_MCP_DISABLE_CACHE": "<YOUR_MTG_MCP_DISABLE_CACHE>",
        "MTG_MCP_ENABLE_MOXFIELD": "<YOUR_MTG_MCP_ENABLE_MOXFIELD>",
        "MTG_MCP_ENABLE_SPICERACK": "<YOUR_MTG_MCP_ENABLE_SPICERACK>",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "<YOUR_MTG_MCP_ENABLE_MTGGOLDFISH>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mtg-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mtg-mcp-server==3.0.0"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "<YOUR_MTG_MCP_TRANSPORT>",
        "MTG_MCP_HTTP_PORT": "<YOUR_MTG_MCP_HTTP_PORT>",
        "MTG_MCP_LOG_LEVEL": "<YOUR_MTG_MCP_LOG_LEVEL>",
        "MTG_MCP_ENABLE_17LANDS": "<YOUR_MTG_MCP_ENABLE_17LANDS>",
        "MTG_MCP_ENABLE_EDHREC": "<YOUR_MTG_MCP_ENABLE_EDHREC>",
        "MTG_MCP_ENABLE_BULK_DATA": "<YOUR_MTG_MCP_ENABLE_BULK_DATA>",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "<YOUR_MTG_MCP_SCRYFALL_RATE_LIMIT_MS>",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "<YOUR_MTG_MCP_BULK_DATA_REFRESH_HOURS>",
        "MTG_MCP_ENABLE_RULES": "<YOUR_MTG_MCP_ENABLE_RULES>",
        "MTG_MCP_DISABLE_CACHE": "<YOUR_MTG_MCP_DISABLE_CACHE>",
        "MTG_MCP_ENABLE_MOXFIELD": "<YOUR_MTG_MCP_ENABLE_MOXFIELD>",
        "MTG_MCP_ENABLE_SPICERACK": "<YOUR_MTG_MCP_ENABLE_SPICERACK>",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "<YOUR_MTG_MCP_ENABLE_MTGGOLDFISH>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server==3.0.0"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "<YOUR_MTG_MCP_TRANSPORT>",
        "MTG_MCP_HTTP_PORT": "<YOUR_MTG_MCP_HTTP_PORT>",
        "MTG_MCP_LOG_LEVEL": "<YOUR_MTG_MCP_LOG_LEVEL>",
        "MTG_MCP_ENABLE_17LANDS": "<YOUR_MTG_MCP_ENABLE_17LANDS>",
        "MTG_MCP_ENABLE_EDHREC": "<YOUR_MTG_MCP_ENABLE_EDHREC>",
        "MTG_MCP_ENABLE_BULK_DATA": "<YOUR_MTG_MCP_ENABLE_BULK_DATA>",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "<YOUR_MTG_MCP_SCRYFALL_RATE_LIMIT_MS>",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "<YOUR_MTG_MCP_BULK_DATA_REFRESH_HOURS>",
        "MTG_MCP_ENABLE_RULES": "<YOUR_MTG_MCP_ENABLE_RULES>",
        "MTG_MCP_DISABLE_CACHE": "<YOUR_MTG_MCP_DISABLE_CACHE>",
        "MTG_MCP_ENABLE_MOXFIELD": "<YOUR_MTG_MCP_ENABLE_MOXFIELD>",
        "MTG_MCP_ENABLE_SPICERACK": "<YOUR_MTG_MCP_ENABLE_SPICERACK>",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "<YOUR_MTG_MCP_ENABLE_MTGGOLDFISH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like MTG MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.