Skip to content
gregario avatar

Mtg Oracle

gregario/mtg-oracle

Card, rules, pricing, and Commander data for Magic: The Gathering from Scryfall and rules sources.

CCM score
78 of 100
GitHub stars
6
tools
14
transport
STDIO
last updated
Mar 15, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Searches and inspects cards with search_cards, get_card, get_rulings, and get_prices, covering oracle text, legality, and USD, EUR, and MTGO tix prices
  • Checks rules with lookup_rule, get_glossary, and get_keyword, plus check_legality across Commander, Modern, Standard, Legacy, and Vintage
  • Analyzes decks and Commander builds with analyze_deck, analyze_commander, find_combos, find_synergies, and get_format_staples
  • Designed for deckbuilding, rules questions, and card lookups, with card data cached locally in SQLite after the first run

Quality grade

Not graded yet: tools not verified

  • Tool definitions50% of the grade

    14 of 14 tools have no input schema (read from a README, not verified). Each tool says what it returns, but none says when to pick it over alternatives or what happens on error.

  • Protocol readiness20% of the grade

    Runs over stdio only. No live handshake: protocol version unknown. No tool declares structured output.

  • Supportability30% of the grade

    Last push 7 months ago. MIT license. Last release 7 months ago.

  • SecurityNot counted

    Not measured. We do not test other people's servers.

Tool scores
ToolScoreSchemaFlags
search_cards0Not verifiedNo input schema
get_card0Not verifiedNo input schema
get_rulings0Not verifiedNo input schema
check_legality0Not verifiedNo input schema
search_by_mechanic0Not verifiedNo input schema
get_prices0Not verifiedNo input schema
analyze_deck0Not verifiedNo input schema
lookup_rule0Not verifiedNo input schema
get_glossary0Not verifiedNo input schema
get_keyword0Not verifiedNo input schema
analyze_commander0Not verifiedNo input schema
find_combos0Not verifiedNo input schema
find_synergies0Not verifiedNo input schema
get_format_staples0Not verifiedNo input schema

Rubric 2026-12.5 · graded December 4, 2026How we grade

Tools

14 tools

Public tool metadata for what this MCP can expose to an agent.

search_cardsSearch cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text.

Search cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text.

No parameter schema in public metadata yet.

get_cardGet complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching.

Get complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching.

No parameter schema in public metadata yet.

get_rulingsGet official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications).

Get official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications).

No parameter schema in public metadata yet.

check_legalityCheck format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more.

Check format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more.

No parameter schema in public metadata yet.

search_by_mechanicFind cards with a specific keyword or mechanic (Flying, Trample, Cascade, etc.). Optionally includes the keyword's rules definition.

Find cards with a specific keyword or mechanic (Flying, Trample, Cascade, etc.). Optionally includes the keyword's rules definition.

No parameter schema in public metadata yet.

get_pricesLook up current market prices for one or more cards (up to 50). Returns USD, USD Foil, EUR, and MTGO tix prices from Scryfall.

Look up current market prices for one or more cards (up to 50). Returns USD, USD Foil, EUR, and MTGO tix prices from Scryfall.

No parameter schema in public metadata yet.

analyze_deckAnalyze a deck list (plain text or MTGO XML). Returns mana curve, color distribution, type breakdown, mana base analysis, and format legality check.

Analyze a deck list (plain text or MTGO XML). Returns mana curve, color distribution, type breakdown, mana base analysis, and format legality check.

No parameter schema in public metadata yet.

lookup_ruleLook up Comprehensive Rules by section number (e.g., "702.1") or search by text. Returns rule text with subsections and parent context.

Look up Comprehensive Rules by section number (e.g., "702.1") or search by text. Returns rule text with subsections and parent context.

No parameter schema in public metadata yet.

get_glossaryLook up game terminology in the official glossary ("permanent", "spell", "stack", "priority", etc.).

Look up game terminology in the official glossary ("permanent", "spell", "stack", "priority", etc.).

No parameter schema in public metadata yet.

get_keywordGet the official rules definition for keyword abilities (Flying, Deathtouch, Equip, etc.).

Get the official rules definition for keyword abilities (Flying, Deathtouch, Equip, etc.).

No parameter schema in public metadata yet.

analyze_commanderAnalyze a legendary creature as a Commander: strategies, archetypes, recommended card categories for deckbuilding.

Analyze a legendary creature as a Commander: strategies, archetypes, recommended card categories for deckbuilding.

No parameter schema in public metadata yet.

find_combosFind known infinite combos from Commander Spellbook. Search by card name(s) or color identity. Returns steps, prerequisites, and results.

Find known infinite combos from Commander Spellbook. Search by card name(s) or color identity. Returns steps, prerequisites, and results.

No parameter schema in public metadata yet.

find_synergiesFind synergy categories (tokens, sacrifice, counters, etc.) and sample cards that work well with a specific card.

Find synergy categories (tokens, sacrifice, counters, etc.) and sample cards that work well with a specific card.

No parameter schema in public metadata yet.

get_format_staplesGet staple cards and popular archetypes for any format. Optionally filter by archetype.

Get staple cards and popular archetypes for any format. Optionally filter by archetype.

No parameter schema in public metadata yet.

Readme

mtg-oracle

npm version npm downloads License: MIT Node.js MCP gregario/mtg-oracle MCP server

Magic: The Gathering MCP server. Card search, rules lookup, deck analysis, and Commander intelligence.

Provides 14 tools for AI assistants to answer questions about Magic cards, game rules, combos, synergies, and format meta via the Model Context Protocol.


View the full README on GitHub

Details

Repository
github.com/gregario/mtg-oracle
Category
Game Development
Package
mtg-oracle
Transport
STDIO
Registry
MCP registry, active

More from gregario

All 3

Similar to Mtg Oracle

More Game Development