Skip to content
Agentmart
Submit a tool

MTG MCP Server

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

Connector by j4th · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 20
Write a review

Chalk Labs

Need help deploying MTG MCP Server?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/j4th-mtg-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

Use cases: data-analysis

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
58 read · 9 write · 1 delete · 1 not yet classified
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 69

Read from the source code; the running server may list different tools.

Read 58 · Look things up without changing anything.

  • archetype_comparison
  • archetype_decklist
  • archetype_list
  • archetype_stats
  • card_comparison
  • card_details
  • card_in_formats
  • card_lookup
  • card_price
  • card_ratings
  • card_rulings
  • card_search
Show 46 more tools
  • card_synergy
  • color_identity_staples
  • combat_calculator
  • combo_details
  • commander_comparison
  • commander_overview
  • commander_staples
  • complete_deck
  • deck_analysis
  • deck_info
  • deck_price
  • deck_validate
  • decklist
  • estimate_bracket
  • evaluate_upgrade
  • find_combos
  • find_decklist_combos
  • format_decklists
  • format_entry_guide
  • format_legality
  • format_search
  • format_staples
  • keyword_explain
  • metagame
  • metagame_snapshot
  • ping
  • price_comparison
  • random_card
  • recent_tournaments
  • rotation_check
  • rules_interaction
  • rules_lookup
  • rules_scenario
  • search_cards
  • search_decks
  • sideboard_guide
  • sideboard_matrix
  • similar_cards
  • suggest_cuts
  • suggest_mana_base
  • suggest_sideboard
  • theme_search
  • tournament_results
  • tribal_staples
  • user_decks
  • whats_new

Write 9 · Create, change, send or run things.

  • budget_upgrade
  • build_around
  • draft_log_review
  • draft_pack_pick
  • draft_signal_read
  • precon_upgrade
  • sealed_pool_build
  • set_info
  • set_overview

Delete 1 · Delete, drop, revoke or wipe things.

  • ban_list

Not yet classified 1 · We could not tell from the name and description.

  • subagent

Secrets and settings it asks for

Other settings (environment variables or headers).

  • MTG_MCP_BULK_DATA_REFRESH_HOURS
  • MTG_MCP_DISABLE_CACHE
  • MTG_MCP_ENABLE_17LANDS
  • MTG_MCP_ENABLE_BULK_DATA
  • MTG_MCP_ENABLE_EDHREC
  • MTG_MCP_ENABLE_MOXFIELD
  • MTG_MCP_ENABLE_MTGGOLDFISH
  • MTG_MCP_ENABLE_RULES
  • MTG_MCP_ENABLE_SPICERACK
  • MTG_MCP_HTTP_PORT
  • MTG_MCP_LOG_LEVEL
  • MTG_MCP_SCRYFALL_RATE_LIMIT_MS
Show 1 more settings
  • MTG_MCP_TRANSPORT

Network hosts it talks to 23

  • 17lands.com · found in code
  • api.scryfall.com · found in code
  • api.smithery.ai · found in code
  • api.spicerack.gg · found in code
  • api.z.ai · found in code
  • api2.moxfield.com · found in code
  • backend.commanderspellbook.com · found in code
  • commanderspellbook.com · found in code
  • edhrec.com · found in code
  • github.com · found in code
  • json.edhrec.com · found in code
  • magic.wizards.com · found in code
  • mcp.context7.com · found in code
  • media.wizards.com · found in code
  • moxfield.com · found in code
  • mtg-mcp-server.fastmcp.app · found in code
  • mtggoldfish.com · found in code
  • pi.dev · found in code
  • primeradiant.com · found in code
  • raw.githubusercontent.com · found in code
  • scryfall.com · found in code
  • smithery.ai · found in code
  • spicerack.gg · found in code

Files it touches

  • /home/j4th/Code/create/mtg-mcp
  • /tmp/brainstorm
  • Your home directory (~)
  • ~/threads/thread-manager
  • ~/threads/types

Tools (69)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • archetype_comparison

    Compare 2-4 competitive archetypes side-by-side. Shows price, colors, key cards, shared staples, and differences.

  • archetype_decklist

    Get the stock decklist for a competitive archetype. Returns a full decklist (mainboard + sideboard) with deck metadata and total price when available. Archetype name is fuzzy-matched.

  • archetype_list

    Get a sample decklist for an archetype in a format. Returns deck metadata (author, event, result, date) and the full mainboard and sideboard card list.

  • archetype_stats

    Get win rates by color pair/archetype for a draft set. Note: start_date and end_date are required by the 17Lands API. Args: set_code: Three-letter set code (e.g. "LCI", "MKM", "OTJ"). start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. event_type: Draft format — "PremierDraft" (default) or "TradDraft".

  • ban_list

    Get the banned and restricted cards for a format. Returns alphabetically sorted lists of banned and restricted cards, including their type lines.

  • budget_upgrade

    Suggest budget-friendly upgrades for a commander deck. Ranks EDHREC staples by synergy-per-dollar within the given budget ceiling. Requires EDHREC (for staples) and Scryfall (for prices).

  • build_around

    Find synergistic cards for 1-5 build-around cards in any format. Analyzes oracle text for key mechanics, searches for synergies, and checks combo potential. Groups results by role (enablers, payoffs, support).

  • card_comparison

    Compare 2-5 cards side-by-side for a specific commander deck. Shows mana cost, type, synergy, inclusion rate, combo count, and price for each card. Scryfall and Spellbook required; EDHREC optional.

  • card_details

    Get full details for a Magic card by exact or fuzzy name.

  • card_in_formats

    Show a card's legality across all Magic formats. Returns a table with the card's legality status in each format, ordered with the most common formats first.

  • card_lookup

    Look up a Magic card by exact name using Scryfall bulk data. Returns full card details including mana cost, type, oracle text, colors, power/toughness, prices, legalities, and EDHREC rank. Case-insensitive.

  • card_price

    Get current prices for a Magic card. Prices update once per day.

  • card_ratings

    Get win rate and draft performance data for cards in a set. Key metrics: GIH WR (ever_drawn_win_rate), ALSA (avg_seen), OH WR (opening_hand_win_rate), IWD (drawn_improvement_win_rate). Note: 17Lands data skews toward above-average players (~56% baseline WR). Cards with <500 games may not have reliable data.

  • card_rulings

    Get official rulings and clarifications for a Magic card.

  • card_search

    Search for Magic cards in Scryfall bulk data. Args: query: Substring to search for (case-insensitive). search_field: Field to search in -- "name", "type", or "text". limit: Maximum number of results to return (default 20).

Show 54 more tools
  • card_synergy

    Get synergy data for a specific card with a specific commander. Shows how synergistic the card is with the commander compared to its general popularity, plus how many decks include it. Args: card_name: The card to check (e.g. "Spore Frog"). commander_name: The commander to check against (e.g. "Muldrotha, the Gravetide").

  • color_identity_staples

    Top cards across ALL commanders in a color identity. Uses EDHREC aggregated data when available, falls back to EDHREC rank from bulk data.

  • combat_calculator

    Calculate combat step-by-step with keyword interactions. Resolves declare attackers → declare blockers → damage steps → state-based actions. Looks up card keywords from bulk data if card names are provided.

  • combo_details

    Get detailed steps for a specific combo by its Spellbook ID. Use an ID from find_combos results (e.g. "1414-2730-5131-5256").

  • commander_comparison

    Compare 2-5 commanders head-to-head: stats, combos, staples, popularity. Side-by-side comparison table with mana cost, color identity, EDHREC rank, combo count, and shared/unique staples.

  • commander_overview

    Comprehensive commander profile combining data from all available sources. Returns card details, top combos, EDHREC staples, and synergy scores. Degrades gracefully if optional sources (EDHREC, Spellbook) are unavailable.

  • commander_staples

    Get the most-played cards for a commander with synergy scores and inclusion rates. Shows which cards are most commonly played with this commander and how synergistic they are (vs. generic popularity).

  • complete_deck

    Identify gaps in a partial decklist and suggest cards to fill them. Analyzes mana curve, card roles, and format-specific ratios, then suggests cards for underrepresented categories.

  • deck_analysis

    Full decklist health check — mana curve, colors, combos, bracket, budget, synergy. Uses all available backends: Scryfall bulk data for rate-limit-free card resolution, Scryfall API as fallback, Spellbook for combos and bracket estimation, EDHREC for synergy scores. Degrades gracefully if optional backends are unavailable.

  • deck_info

    Get metadata for a Moxfield deck (name, format, author, dates). Returns deck metadata without the full card list. Use ``decklist`` for the complete card list.

  • deck_price

    Get the estimated paper price for an archetype deck. Returns the total estimated cost of the deck based on current card prices from MTGGoldfish.

  • deck_validate

    Validate a decklist against a format's construction rules. Checks legality, deck size, copy limits, color identity (Commander), singleton rules, and Pauper rarity. Returns VALID or INVALID with actionable error messages.

  • decklist

    Fetch a full decklist from Moxfield by deck ID or URL. Returns the complete decklist organized by board (commanders, mainboard, sideboard, companions) with card names and quantities.

  • draft_log_review

    Review a completed draft — pick-by-pick GIH WR analysis and key decision points. Identifies where you could have taken a higher-WR card, pivot points, and overall draft grade.

  • draft_pack_pick

    Rank cards in a draft pack using 17Lands win rate data. Provides GIH WR, ALSA, IWD stats, and color fit analysis based on current picks. Requires 17Lands to be enabled.

  • draft_signal_read

    Analyze draft picks and recommend a direction based on color signals. Uses ALSA data to detect which colors are open (cards seen later than expected = open).

  • estimate_bracket

    Estimate the Commander bracket (power level) for a decklist. Provide commander name(s) and a list of card names in the main deck. Returns bracket tag and any bracket-relevant findings.

  • evaluate_upgrade

    Assess whether a card is worth adding to a specific commander deck. Returns card details, price, synergy score, and combos enabled for the caller to assess. Degrades gracefully if optional sources (EDHREC, Spellbook) are unavailable.

  • find_combos

    Search for known combos involving a specific card. Optionally filter by color identity (e.g. "sultai", "BUG", "wubrg"). Returns up to `limit` combos with cards involved and results produced.

  • find_decklist_combos

    Find combos present in (or nearly present in) a Commander decklist. Provide commander name(s) and a list of card names in the main deck. Returns combos that are fully included and those that are almost included.

  • format_decklists

    Find top-performing decklists across recent tournaments for a format. Collects top-4 finishers with Moxfield decklists from recent events. Use ``moxfield_decklist`` to fetch the full card list for a deck.

  • format_entry_guide

    Get a beginner-oriented guide for entering a competitive format. Shows archetypes sorted by budget accessibility, cross-archetype staples (buy once, play everywhere), and format rules summary.

  • format_legality

    Batch legality check for cards in a specific format. Returns a markdown table showing the legality status of each card in the specified format. Handles common format aliases (e.g. 'edh' for 'commander').

  • format_search

    Search for legal cards in a specific format using natural language. Combines format legality filtering with name/type/text search and optional color identity, price, and rarity constraints. Results are sorted by EDHREC rank (most popular first).

  • format_staples

    Get the most-played cards in a format with deck inclusion percentages. Shows which cards appear most frequently across all archetypes in the format, with average copies played per deck.

  • keyword_explain

    Explain an MTG keyword with rules text, examples, and interactions. Returns the rules definition, reminder text, and up to 5 example cards from bulk data.

  • metagame

    Get the current metagame breakdown for a competitive format. Shows top archetypes with meta share percentages, deck counts, and estimated paper prices.

  • metagame_snapshot

    Get the current metagame breakdown for a competitive format. Shows top archetypes with meta share %, tier classification, and prices. Uses MTGGoldfish as primary source with Spicerack tournament data as fallback.

  • ping

    Health check — returns 'pong'.

  • precon_upgrade

    Analyze and upgrade a Commander precon — identify weakest cards, suggest replacements. Pairs each upgrade with a specific cut, explaining the synergy improvement.

  • price_comparison

    Compare prices across multiple cards using Scryfall bulk data. Returns a markdown table with USD, USD foil, and EUR prices sorted by USD descending.

  • random_card

    Get a random Magic card, optionally filtered by format, color, type, and rarity. Returns full card details in the same format as card_lookup.

  • recent_tournaments

    List recent tournaments for a format with dates, player counts, and IDs. Use the tournament ID from the results with ``tournament_results`` to see full standings and decklists.

  • rotation_check

    Check Standard rotation status and identify which cards are rotating. Shows sets currently in Standard with rotation dates. If cards provided, identifies which are in rotating sets and suggests replacements.

  • rules_interaction

    Explain how two mechanics or cards interact under MTG rules. Returns relevant rules, step-by-step resolution, and common misconceptions.

  • rules_lookup

    Look up MTG Comprehensive Rules by number or keyword search. Returns matching rules with full text, parent context, and subrules.

  • rules_scenario

    Resolve a game scenario step-by-step using MTG rules. Covers priority, stack resolution, state-based actions, and triggers with rule citations.

  • sealed_pool_build

    Build 1-3 decks from a sealed pool using card quality and color pair analysis. Evaluates each 2-color pair, selects best cards, and suggests land splits. Uses 17Lands data when available for card quality scoring.

  • search_cards

    Search for Magic cards using Scryfall syntax. Examples: "f:commander id:sultai t:creature", "o:destroy t:instant cmc<=3" See https://scryfall.com/docs/syntax for full syntax reference.

  • search_decks

    Search public Moxfield decks by format, keyword, or sort order. Returns a paginated list of deck summaries with name, format, author, colors, and card counts.

  • set_info

    Get metadata for a Magic set by its code.

  • set_overview

    Draft format overview — top commons/uncommons and trap rares. Uses 17Lands card ratings to provide a data-driven format breakdown. Requires 17Lands to be enabled.

  • sideboard_guide

    Get a specific sideboard in/out plan for a named matchup. Given a full 75 and a matchup archetype, produces specific boarding instructions with reasoning.

  • sideboard_matrix

    Generate a sideboard matrix for a deck across common matchups. Matrix shows which sideboard cards come IN/OUT/FLEX for each matchup. Auto-detects top matchups from metagame data or uses provided matchup list.

  • similar_cards

    Find cards similar to a given card. Scores similarity based on shared keywords, type words, CMC proximity, and oracle text overlap. Optionally filter by format legality and price.

  • subagent

    Description is built at runtime.

  • suggest_cuts

    Identify the weakest cards to cut from a commander decklist. Scores cards by synergy, inclusion rate, and combo membership. Degrades gracefully if EDHREC or Spellbook backends fail (uses whatever data is available).

  • suggest_mana_base

    Suggest a mana base for a decklist based on color pip distribution. Analyzes color requirements, recommends land count, and suggests format-legal dual lands. Handles hybrid and phyrexian mana.

  • suggest_sideboard

    Suggest a 15-card sideboard for a competitive deck. Analyzes the main deck's weaknesses and recommends sideboard cards with per-card reasoning. Works with heuristic analysis alone; enhanced with MTGGoldfish frequency data when available.

  • theme_search

    Find cards matching a theme — mechanical, tribal, or abstract/flavorful. Maps themes to oracle text patterns and searches bulk data. Groups results by relevance tier (strong match, moderate match, flavor match).

  • tournament_results

    Get full standings and decklists for a specific tournament. Look up a tournament by its Spicerack ID. Use ``recent_tournaments`` first to find tournament IDs.

  • tribal_staples

    Best cards for a creature type — lords, synergy pieces, and top members. Groups results by: lords/anthems, tribal synergy, best members, tribal support.

  • user_decks

    List a user's public decks on Moxfield. Verifies the user exists, then searches for their public decks. Optionally filter by format.

  • whats_new

    Find recently printed or released Magic cards. Searches Scryfall for cards released within the given number of days. Optionally filter by set or format legality.

Signals

Stars
20
Forks
8
Open issues
5
Contributors
2
Weekly downloads
122
Last commit
Oct 21, 2026 (9 days ago)
Last release
Apr 4, 2026 (7 months ago)
Last package publish
Apr 4, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.j4th/mtg-mcp-server
Version
3.0.0
Auth
No auth
Packages
pypi mtg-mcp-server
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get MTG MCP Server running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying MTG MCP Server?

CallGet help
Cite this page

MTG MCP Server. Agent Mart. https://agentmart.dev/connectors/j4th-mtg-mcp-server (last updated 2026-10-24)