MTG Bench

com.mtgbenchPublished by mtgbench.comOfficial publisherv0.52.2Updated Oct 24, 2026

Magic: The Gathering card search, rules, rulings, deck analysis, brackets, and combo detection.

VerifiedStreamable HTTPWeb executable

Overview

AI-generated overview

Lets an assistant look up Magic: The Gathering cards, rules and rulings, and analyze, rate and upgrade decks.

What you can do
Provides 19 tools covering card lookup by name or structured filters, semantic search over card text, full printings, card images, official Wizards rulings and Comprehensive Rules entries. It validates decklists against format rules, computes deck statistics such as mana curve and opening-hand odds, detects known combos and near-misses, and finds synergies between cards. It also rates Commander decks against WotC brackets, suggests priced upgrades, and ranks commanders a user's imported collection could build.
When to use it
Use it when an assistant needs accurate, current Magic data instead of recalling ban lists, rulings or card text from memory, or when helping with deck building, legality checks, combo finding and Commander bracket assessment.
Requirements
A remote streamable HTTP endpoint; no local runtime or package is needed. No authentication is declared for the basic tools, but the collection tools my_collection and what_can_i_build require a free API key sent as an X-API-Key or Authorization header. Network access to the endpoint is required.
Before you install
The collection tools require an API key, which should be treated as a secret. Collection data is sent to the remote service. Deck upgrade suggestions include card prices, which may lead to spending decisions; review recommendations before buying.

Installation

In SourceWeft

  1. Open MTG Bench in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.mtgbench%2Fmtgbench/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "mtg-bench": {
      "type": "http",
      "url": "https://mtgbench.com/mcp"
    }
  }
}

Tools

19

check_deck_legality

Check deck legality

Validate a decklist against a constructed format's rules (banned cards, deck size, copy limits, and in Commander the color-identity rule). Use this rather than recalling ban lists from memory: bans changed four times in 2026 alone, and a model's training cutoff makes stale ban data one of the most common wrong answers in Magic. Pass `commander` for Commander decks: it counts toward the 100, and…

Parameterscardsrequiredformatrequiredcommander

commander_staples

Commander staples

The cards most commonly played with a given commander, from EDHREC's aggregate inclusion data: 691,958 commander-card pairings across 2,631 commanders. Returns each card's deck count, the share of that commander's decks running it, and its synergy score. Synergy matters as much as popularity: a high deck count with LOW synergy is a card everyone plays anyway (Sol Ring), while high synergy is a…

ParameterslimitcommanderrequiredminSynergy

deck_stats

Deck statistics

Deterministic statistical analysis of a decklist (any format): mana curve with creature split, card types, color pips vs mana sources, functional buckets (ramp/draw/removal/wipes/counters/recursion/protection/tutors + bracket signals) with typical Commander bands, opening-hand probabilities (hypergeometric), a suggested land count, meta brew score, deck price, tribal and keyword counts. Pure data…

Parameterscardsrequiredformatcommander

find_combos

Find combos in a deck

Detect known combos in a decklist using Commander Spellbook's curated database — combos fully present, plus near-misses one card away (with that card's price). Pass `format` (and `commander` for Commander) so near-miss suggestions are filtered to legal, in-color-identity adds. Use this instead of recalling combos from memory; also feeds rate_deck's compact-combo check.

Parameterscardsrequiredlimitformatcommander

find_synergies

Find synergistic cards

Given one or more cards the user ALREADY has, find cards that work with them. Seeded by example rather than by description: pass the cards, get partners. Use semantic_card_search instead to describe a desired effect in words, and search_cards for structured filters. `limit` defaults to 10 and caps at 100 per call.

ParameterslimittypescolorsformatcardNamesrequiredmanaValueMaxmanaValueMin

get_card

Get card

Fetch full detail for ONE card by exact name or id: oracle text, mana cost, type line, format legalities, and a brief summary of its printings. Use get_card_printings instead when the complete printing list matters (choosing a specific art, set, or finish).

Parametersidnameslug

get_card_image

Show card image

Fetch a card's image. The returned image content block IS the display — the client renders it directly; do not build custom HTML/widgets around the imageUrl, since sandboxed widget environments block external image hosts. Optionally pick a specific printing (setCode) or size (small, normal, large, png, art_crop, border_crop, or WEBP: thumb, grid, display).

ParametersidnamesetCodeversion

get_card_printings

List card printings

List EVERY printing of a card (set, rarity, artist, finish, collector number). get_card already returns a short printings summary, so reach for this only when the full list is the point.

Parametersidnameslug

get_card_rulings

Get official card rulings

Fetch the OFFICIAL Wizards rulings for one card, with their dates. These are Wizards' own answers to the corner cases players argue about. Use this for any "how does this card actually work" question, and quote the ruling rather than paraphrasing from memory — rulings are among the most frequently hallucinated things in Magic. Use search_rules instead for general mechanics not tied to a specific…

Parametersnamerequired

get_rule

Get a rule by number

Fetch a Comprehensive Rules entry and its lettered subrules by exact number (e.g. "601.2" returns 601.2 and 601.2a-i). Use after search_rules to read a rule's full context.

Parametersrefrequired

my_collection

Collection summary

Summarize the user's imported collection: how many distinct cards, total copies, and where it was imported from. This is the SUMMARY only. Use search_my_collection to look up individual owned cards, and what_can_i_build to rank commanders they could assemble. Requires a free API key (send it as "X-API-Key: <key>" or "Authorization: Bearer <key>").

Takes no parameters.

rate_deck

Rate deck power / bracket

Assess a Commander deck's official WotC bracket (1-5). Returns deterministic signals (Game Changers from WotC's curated list, mass land denial, tutors, fast mana, free interaction), a bracket FLOOR from the official decision tree, and the rubric — then YOU finish the assessment: check for compact two-card win combos and weigh soft signals per the assessmentGuidance, and state the final bracket…

Parameterscardsrequiredcommander

resolve_card_names

Verify card names

Check whether card names are REAL, in bulk. Returns exact / not_found per name, with the canonical spelling and id for the ones that exist. Call this reflexively before presenting any decklist or card recommendation you generated: the most common failure in Magic assistance is confidently naming cards that do not exist, or that exist with different text. Cheap, batched, and safe to call on every…

Parameterstextnames

search_cards

Search cards

Find cards by NAME or by structured filters (colors, color identity, types, mana value, format legality, sets). Use when the query can be expressed as filters: "red instants under 3 mana", "legendary artifacts in Standard", "cards named Bolt". Use semantic_card_search instead when the user describes an EFFECT rather than a filter ("cards that make a treasure when I attack"). Use find_synergies…

ParametersnamesetslimittypescolorsformatsupertypesmanaValueMax+2 more

search_my_collection

Search my collection

Search only the cards the user OWNS, by name, colors, or type. Set notInDecks to surface owned cards not currently used in any of their decks (the "what is sitting idle in my binder" question). Use search_cards instead to search every Magic card regardless of ownership. Returns at most 100 owned cards per call, with the full match count in `total`. Requires a free API key (send it as "X-API-Key:…

ParameterslimitquerytypescolorsnotInDecks

search_rules

Search the rules

Semantic search over the Magic Comprehensive Rules, glossary, and 84k card-specific rulings. Use for any rules/interaction question; answer FROM the returned chunks and cite rule numbers (e.g. 601.2a). Filter kinds to ["ruling"] for card-specific questions or ["rule","glossary"] for general mechanics.

Parameterskindslimitqueryrequired

upgrade_deck

Upgrade a deck

Suggest priced deck upgrades: cards to add (within an optional budget) and cards to cut. TWO-PHASE: first call WITHOUT `strategy` to get a deck analysis and instructions for deriving the deck's strategy; then call again WITH your derived `strategy` to get recommendations. Cuts are theme-alignment suggestions relative to the stated strategy, not card-quality judgments. Prices are Card…

ParameterscardsrequiredbudgetformatrequiredmaxAddsmaxCutsstrategycommanderownedOnly+1 more

what_can_i_build

What can I build?

Given the user's imported card collection, rank the Commander decks they can most nearly build right now, with the most-played cards they are still missing. Answers "what should I sleeve up tonight" from cards they physically have. Requires a free API key (send it as "X-API-Key: <key>" or "Authorization: Bearer <key>") so the server knows whose collection to read; one is issued instantly at…

Parameterslimitmissing

Version history

1
  1. v0.52.2LatestSep 16, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.