MTG Analytics
Unified MCP server composing Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish into one interface for AI assistants. 69 tools for Commander analytics, draft evaluation, competitive metagame, sideboard strategy, and
What is MTG Analytics?
MTG Analytics is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to unified mcp server composing scryfall, commander spellbook, 17lands, edhrec, moxfield, spicerack, and mtggoldfish into one interface for ai assistants. 69 tools for commander analytics, draft evaluati...
Unified MCP server composing Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish into one interface for AI assistants. 69 tools for Commander analytics, draft evaluation, competitive metagame, sideboard strategy, and
This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Unified MCP server composing Scryfall, Commander Spellbook,
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mtgConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MTG Analytics
The MTG MCP Server is a unified Magic: The Gathering analytics platform that composes Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish into a single MCP interface with 69 tools across 13 domains. It covers card search, combo finding, draft analytics, Commander metagame analysis, deck building, sideboard strategy, rules engine queries, and competitive format guides—available both as a hosted endpoint and a local PyPI package.
Prerequisites
- Python 3.12 or later (for local installation)
- uv or uvx installed (https://docs.astral.sh/uv/)
- Claude Desktop, Claude Code, or another MCP-compatible client
- No API keys required — all data sources are publicly accessible
Choose hosted or local installation
The MTG MCP server is available as a zero-setup hosted endpoint or as a local package. The hosted URL requires no installation at all.
# Hosted (no install needed):
# MCP URL: https://mtg-mcp-server.fastmcp.app/mcp
# Local via uvx (recommended for local use):
uvx mtg-mcp-server
# Install permanently:
uv tool install mtg-mcp-serverAdd to Claude Code (local)
Register the server with Claude Code using a single command.
claude mcp add mtg -- uvx mtg-mcp-serverAdd to Claude Desktop (local)
Edit claude_desktop_config.json to add the MTG server entry using uvx.
{
"mcpServers": {
"mtg": {
"command": "uvx",
"args": ["mtg-mcp-server"]
}
}
}Enable optional feature flags
Several data sources are disabled by default to reduce startup time and bandwidth. Enable them via environment variables. The MTG_MCP_ENABLE_BULK_DATA flag downloads ~30 MB of Scryfall bulk card data.
{
"mcpServers": {
"mtg": {
"command": "uvx",
"args": ["mtg-mcp-server"],
"env": {
"MTG_MCP_ENABLE_EDHREC": "true",
"MTG_MCP_ENABLE_17LANDS": "true",
"MTG_MCP_ENABLE_BULK_DATA": "false",
"MTG_MCP_ENABLE_RULES": "true"
}
}
}
}Connect to the hosted endpoint (alternative)
Configure your MCP client to use the hosted streamable HTTP endpoint instead of running a local process. No installation or Python required.
# In Claude Desktop (using HTTP transport):
# Add the remote URL to your MCP client settings:
# https://mtg-mcp-server.fastmcp.app/mcp
# In Claude Code:
claude mcp add --transport http mtg https://mtg-mcp-server.fastmcp.app/mcpVerify tools are available
After restarting your MCP client, ask Claude to list available MTG tools or try a card search to confirm the 69 tools loaded correctly.
# Test prompt:
"Search for the card Black Lotus and show me its details"MTG Analytics Examples
Client configuration
Claude Desktop claude_desktop_config.json for the MTG MCP server with EDHREC and 17Lands enabled.
{
"mcpServers": {
"mtg": {
"command": "uvx",
"args": ["mtg-mcp-server"],
"env": {
"MTG_MCP_ENABLE_EDHREC": "true",
"MTG_MCP_ENABLE_17LANDS": "true",
"MTG_MCP_ENABLE_RULES": "true"
}
}
}
}Prompts to try
Example prompts covering Commander analytics, draft guidance, metagame analysis, and rules queries.
- "Compare Muldrotha vs Meren vs Karador as graveyard commanders"
- "What are the best commons in Foundations for draft?"
- "Find all two-card infinite combos that include Thassa's Oracle"
- "Validate my Modern Burn decklist and suggest sideboard improvements"
- "What is the current Pioneer metagame snapshot from MTGGoldfish?"
- "Build me a sideboard for my Pioneer Lotus Field Combo deck"Troubleshooting MTG Analytics
uvx mtg-mcp-server fails with package not found error
Ensure uv is up to date by running `uv self update`. The package name on PyPI is mtg-mcp-server. Try `uv tool install mtg-mcp-server` first and then run it with `uv tool run mtg-mcp-server` to confirm the install succeeded.
EDHREC or 17Lands tools are missing from the tool list
These features are disabled by default. Set MTG_MCP_ENABLE_EDHREC=true and MTG_MCP_ENABLE_17LANDS=true in the env block of your MCP configuration and restart your client. When using uvx, pass them as: `uvx --env MTG_MCP_ENABLE_EDHREC=true mtg-mcp-server`.
Scryfall card search returns outdated card data
By default, the server uses the Scryfall live API for card lookups. If you enabled MTG_MCP_ENABLE_BULK_DATA=true, the ~30 MB bulk file is cached locally and may be stale. Delete the local cache file and restart the server to force a fresh download from Scryfall.
Frequently Asked Questions about MTG Analytics
What is MTG Analytics?
MTG Analytics is a Model Context Protocol (MCP) server that unified mcp server composing scryfall, commander spellbook, 17lands, edhrec, moxfield, spicerack, and mtggoldfish into one interface for ai assistants. 69 tools for commander analytics, draft evaluation, competitive metagame, sideboard strategy, and It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MTG Analytics?
Follow the installation instructions on the MTG Analytics GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MTG Analytics?
MTG Analytics works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MTG Analytics free to use?
Yes, MTG Analytics is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MTG Analytics Alternatives — Similar Analytics Servers
Looking for alternatives to MTG Analytics? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Muapi CLI
★ 997Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
Browse More Analytics MCP Servers
Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MTG Analytics in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MTG Analytics?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.