原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MTG MCP Server

作者:j4th版本 3.0.0i★ –i在你的电脑上运行
注册名称io.github.j4th/mtg-mcp-server

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: MTG_MCP_TRANSPORT, MTG_MCP_HTTP_PORT, MTG_MCP_LOG_LEVEL, MTG_MCP_ENABLE_17LANDS, MTG_MCP_ENABLE_EDHREC, MTG_MCP_ENABLE_BULK_DATA, MTG_MCP_SCRYFALL_RATE_LIMIT_MS, MTG_MCP_BULK_DATA_REFRESH_HOURS, MTG_MCP_ENABLE_RULES, MTG_MCP_DISABLE_CACHE, MTG_MCP_ENABLE_MOXFIELD, MTG_MCP_ENABLE_SPICERACK, MTG_MCP_ENABLE_MTGGOLDFISH

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "mtg": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "your-value",
        "MTG_MCP_HTTP_PORT": "your-value",
        "MTG_MCP_LOG_LEVEL": "your-value",
        "MTG_MCP_ENABLE_17LANDS": "your-value",
        "MTG_MCP_ENABLE_EDHREC": "your-value",
        "MTG_MCP_ENABLE_BULK_DATA": "your-value",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "your-value",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "your-value",
        "MTG_MCP_ENABLE_RULES": "your-value",
        "MTG_MCP_DISABLE_CACHE": "your-value",
        "MTG_MCP_ENABLE_MOXFIELD": "your-value",
        "MTG_MCP_ENABLE_SPICERACK": "your-value",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add mtg --env MTG_MCP_TRANSPORT=your-value --env MTG_MCP_HTTP_PORT=your-value --env MTG_MCP_LOG_LEVEL=your-value --env MTG_MCP_ENABLE_17LANDS=your-value --env MTG_MCP_ENABLE_EDHREC=your-value --env MTG_MCP_ENABLE_BULK_DATA=your-value --env MTG_MCP_SCRYFALL_RATE_LIMIT_MS=your-value --env MTG_MCP_BULK_DATA_REFRESH_HOURS=your-value --env MTG_MCP_ENABLE_RULES=your-value --env MTG_MCP_DISABLE_CACHE=your-value --env MTG_MCP_ENABLE_MOXFIELD=your-value --env MTG_MCP_ENABLE_SPICERACK=your-value --env MTG_MCP_ENABLE_MTGGOLDFISH=your-value -- uvx mtg-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mtg": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "your-value",
        "MTG_MCP_HTTP_PORT": "your-value",
        "MTG_MCP_LOG_LEVEL": "your-value",
        "MTG_MCP_ENABLE_17LANDS": "your-value",
        "MTG_MCP_ENABLE_EDHREC": "your-value",
        "MTG_MCP_ENABLE_BULK_DATA": "your-value",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "your-value",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "your-value",
        "MTG_MCP_ENABLE_RULES": "your-value",
        "MTG_MCP_DISABLE_CACHE": "your-value",
        "MTG_MCP_ENABLE_MOXFIELD": "your-value",
        "MTG_MCP_ENABLE_SPICERACK": "your-value",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mtg": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mtg-mcp-server"
      ],
      "env": {
        "MTG_MCP_TRANSPORT": "your-value",
        "MTG_MCP_HTTP_PORT": "your-value",
        "MTG_MCP_LOG_LEVEL": "your-value",
        "MTG_MCP_ENABLE_17LANDS": "your-value",
        "MTG_MCP_ENABLE_EDHREC": "your-value",
        "MTG_MCP_ENABLE_BULK_DATA": "your-value",
        "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "your-value",
        "MTG_MCP_BULK_DATA_REFRESH_HOURS": "your-value",
        "MTG_MCP_ENABLE_RULES": "your-value",
        "MTG_MCP_DISABLE_CACHE": "your-value",
        "MTG_MCP_ENABLE_MOXFIELD": "your-value",
        "MTG_MCP_ENABLE_SPICERACK": "your-value",
        "MTG_MCP_ENABLE_MTGGOLDFISH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

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

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 j4th 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2980 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2980 个服务器的 5% 更新
  • 基础检查结果等于或优于此分类中其他 2980 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MTG MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(3.0.0)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT10天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mtg-mcp-server

69 tools, 19 prompts, and 21 resources that give AI assistants deep access to Magic: The Gathering -- card data, combos, draft analytics, Commander metagame, competitive constructed, sideboard strategy, deck building, rules engine, and more. Works with Claude Code, Claude Desktop, or any MCP client.

Built on data from Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish. See Data Sources & Attribution for details and usage terms.

Table of Contents

  • What You Can Do — example prompts and real tool output
  • Install — hosted, Claude Code, Claude Desktop, PyPI, development
  • Configuration — environment variables and feature flags
  • Tools — all 69 tools across 13 domains
  • Architecture — FastMCP 3.x mount system
  • Stack — Python 3.12+, FastMCP, httpx, Pydantic
  • Development — mise commands for testing, linting, typechecking
  • Documentation — cookbook, architecture, tool reference, and more
  • Status — current tool/test counts
  • Data Sources & Attribution — Scryfall, Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, MTGGoldfish

What You Can Do

Ask your AI assistant questions like these and it will use the MTG tools automatically:

Commander

  • "Show me everything about Muldrotha as a commander"
  • "What are the best budget upgrades for my Atraxa deck under $5?"
  • "Compare Muldrotha vs Meren vs Karador as graveyard commanders"

Draft & Limited

  • "What are the best commons in Foundations for draft?"
  • "Rank these cards for my draft pack: Bitter Triumph, Monstrous Rage, Torch the Tower"
  • "Build a sealed deck from this pool: [list]"

Deck Building

  • "Validate my Modern decklist"
  • "Suggest a mana base for my 3-color Commander deck"
  • "Find cards that synergize with sacrifice themes in Golgari"

Rules

  • "How do deathtouch and trample interact?"
  • "Resolve this combat scenario: my 3/3 with first strike blocks their 5/5 with trample"

Constructed

  • "What does the Modern metagame look like right now?"
  • "Show me the stock Boros Energy decklist for Modern"
  • "Build me a sideboard for this Pioneer deck"
  • "Give me a sideboard guide for my deck against Azorius Control"
See It in Action

"Compare Muldrotha, Meren, and Karador as graveyard commanders"

                     Muldrotha            Meren               Karador

Mana Cost {3}{B}{G}{U} {2}{B}{G} {5}{W}{B}{G} Color Identity BGU (Sultai) BG (Golgari) BGW (Abzan) Stats 6/6 3/4 3/4 EDHREC Rank #1,137 #1,476 #9,894 Total Decks 22,460 19,919 6,305 Combo Count 10 1 10

Top Staples: Muldrotha Spore Frog (+53%), Sakura-Tribe Elder (+36%), Eternal Witness (+27%) Meren Spore Frog (+70%), Sakura-Tribe Elder (+55%), Viscera Seer (+52%) Karador Karmic Guide (+51%), Satyr Wayfinder (+49%), Sun Titan (+48%)

"What are the best commons in Foundations for draft?"

Foundations (FDN) — PremierDraft · Median GIH WR: 54.7%

Rank Card Color GIH WR ALSA IWD Games 1 Bake into a Pie B 58.4% 3.1 +5.3% 354,741 2 Burst Lightning R 58.2% 3.3 +3.0% 338,888 3 Refute U 58.1% 5.3 +4.3% 321,280 4 Stab B 57.9% 3.4 +4.5% 376,569 5 Dazzling Angel W 57.8% 3.2 +2.4% 317,648

Trap rares: Doubling Season (39.4%), Thousand-Year Storm (35.2%) ...

More examples with real tool output in the Cookbook.

Install

No API keys needed -- all data sources are public.

Hosted (zero setup)

The fastest way to get started. No Python install required. Works on mobile.

Via the UI (Claude Desktop or claude.ai): Settings → Connectors → Add custom connector → paste the URL:

https://mtg-mcp-server.fastmcp.app/mcp

Via config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{

"mcpServers": { "mtg": { "type": "url", "url": "https://mtg-mcp-server.fastmcp.app/mcp" } } }

Claude Code
claude mcp add mtg -- uvx mtg-mcp-server

Or via the UI: Settings → MCP Servers → Add server → enter uvx mtg-mcp-server as the command.

Claude Desktop (local)

Runs on your machine. Requires Python 3.12+.

{

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

PyPI
# Run directly (no install)

uvx mtg-mcp-server

Install globally

uv tool install mtg-mcp-server

Add to a project

uv add mtg-mcp-server

Development
git clone https://github.com/j4th/mtg-mcp-server.git

cd mtg-mcp-server mise install # Installs Python 3.12, uv, ruff, ty mise run setup # Creates venv, installs dependencies

uv run mtg-mcp-server # Run the server

Claude Code config for local development:

{

"mcpServers": { "mtg": { "command": "uv", "args": ["run", "--directory", "/path/to/mtg-mcp-server", "mtg-mcp-server"] } } }

Configuration

All settings use MTG_MCP_ environment variables. Everything works out of the box with sensible defaults.

# Feature flags for optional backends

MTG_MCP_ENABLE_EDHREC=false # EDHREC (scrapes undocumented endpoints) MTG_MCP_ENABLE_17LANDS=false # 17Lands (rate-limits aggressively) MTG_MCP_ENABLE_BULK_DATA=false # Scryfall bulk data (~30MB download on first use) MTG_MCP_ENABLE_RULES=false # Comprehensive Rules engine

Pass env vars through uvx

uvx --env MTG_MCP_ENABLE_EDHREC=false mtg-mcp-server

See .env.example for all available options including base URLs, rate limits, and cache settings.

Tools

69 tools across 13 domains. See docs/TOOL_DESIGN.md for full input/output details.

Card Data (scryfall_*)
ToolDescription
search_cardsSearch using full Scryfall syntax (f:commander id:sultai t:creature)
card_detailsFull card data by exact or fuzzy name
card_priceCurrent USD, EUR, and foil prices
card_rulingsOfficial rulings and clarifications
set_infoSet metadata by code
whats_newRecently released or previewed cards
Bulk Data (bulk_*)
ToolDescription
card_lookupRate-limit-free card lookup by exact name
card_searchSearch by name, type, or oracle text
format_legalityCheck if a card is legal in a format
format_searchSearch for cards legal in a specific format
format_staplesTop-played cards in a format by EDHREC rank
ban_listBanned and restricted cards for a format
card_in_formatsCard legality across all formats
random_cardRandom card, optionally filtered by format or type
similar_cardsFind cards similar by type, keywords, or mana cost
Combos (spellbook_*)
ToolDescription
find_combosSearch for combos by card name and color identity
combo_detailsStep-by-step combo instructions by ID
find_decklist_combosFind combos present in a decklist
estimate_bracketEstimate Commander bracket for a decklist
Draft Analytics (draft_*)
ToolDescription
card_ratingsWin rates and draft data for cards in a set (17Lands)
archetype_statsWin rates by color pair for a set
Commander Metagame (edhrec_*)
ToolDescription
commander_staplesMost-played cards for a commander with synergy scores
card_synergySynergy data for a card with a specific commander
Decklists (moxfield_*)
ToolDescription
decklistFetch a full decklist by deck ID or URL
deck_infoDeck metadata (name, format, author, dates)
search_decksSearch public decks by format, keyword, or sort order
user_decksList a user's public decks
Tournament Data (spicerack_*)
ToolDescription
recent_tournamentsRecent tournaments for a competitive format
tournament_resultsFull standings for a specific tournament
format_decklistsTop-finishing decklists across recent tournaments
Metagame (goldfish_*)
ToolDescription
metagameCurrent metagame breakdown for a competitive format
archetype_listSample decklist for an archetype
format_staplesMost-played cards in a format with deck inclusion %
deck_priceEstimated paper price for an archetype deck
Commander Workflows
ToolDescription
commander_overviewFull commander profile from all sources
evaluate_upgradeAssess whether a card is worth adding to a deck
card_comparisonCompare 2-5 cards side-by-side for a commander
budget_upgradeBudget-constrained upgrade suggestions ranked by synergy/$
commander_comparisonCompare 2-5 commanders head-to-head
color_identity_staplesTop-played cards across all commanders in a color identity
Deck Building
ToolDescription
theme_searchFind cards matching a mechanical or tribal theme
build_aroundDetect synergies from key cards and find complements
complete_deckGap analysis and suggestions for a partial decklist
tribal_staplesBest cards for a creature type in a color identity
precon_upgradeAnalyze a precon and suggest swap pairs
suggest_cutsIdentify the weakest cards to cut from a decklist
deck_analysisFull decklist health check (curve, colors, combos, budget)
deck_validateValidate a decklist against format construction rules
suggest_mana_baseSuggest lands based on color pip distribution
price_comparisonCompare prices across multiple cards
Draft Workflows
ToolDescription

| draft_pack_pick | Rank cards in a dra

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx