Mtg Oracle MCP Server

Magic: The Gathering MCP server. Card search, rules lookup, deck analysis, and Commander intelligence. Its 14 documented tools cluster into read & search, analyze, check. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-05-02 · ★ 4 · #537 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Mtg Oracle

Claude Code

claude mcp add gregario-mtg-oracle -- npx -y mtg-oracle

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "gregario-mtg-oracle": {
      "command": "npx",
      "args": [
        "-y",
        "mtg-oracle"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package mtg-oracle - unscoped; check the name against the project README before installing

registry namespace io.github.gregario is GitHub-verified and matches the repo owner

03 · What Mtg Oracle can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text, get complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching, get official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications), and check format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more.

Capability map

Tools grouped from the project's README - what Mtg Oracle lets an agent do.

read & search

11 tools - e.g. Search cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text.; Get complete details for a specific card: oracle text, mana…

search_cards · get_card · get_rulings · search_by_mechanic · get_prices · lookup_rule…

Analyze

2 tools - e.g. Analyze a deck list (plain text or MTGO XML). Returns mana curve, color distribution, type breakdown, mana base analysis, and format legality check.; Analyze a legendary creature as a Commander…

analyze_deck · analyze_commander

Check

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

check_legality

Latest releases

v0.2.2 · 2026-05-02

v0.2.0 · 2026-03-15

14 tools, 461 tests. Adds price data (get_prices tool) and deck import/analysis (analyze_deck tool).

v0.1.0 · 2026-03-15

mtg-oracle v0.1.0 · The Gathering MCP server - cards, rules, combos, and Commander intelligence. · 12 MCP tools for card search, rules lookup, combo discovery, and Commander analysis · 3 runtime data sources: Scryfall…

04 · Who maintains Mtg Oracle

mtg-oracle is maintained by gregario. We track 12 MCP servers from gregario - 12 actively maintained, 41 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from gregario.

  1. warhammer-oracle Warhammer 40K and Kill Team rules, stats, and game flow MCP server ★ 9
  2. brewers-almanack Brewing knowledge MCP - beer styles, ingredients, off-flavours, water chemistry, recipes ★ 2
  3. dnd-oracle D&D 5e SRD MCP server with monster, spell, equipment search and encounter building tools ★ 5
  4. lego-oracle LEGO sets, parts, minifigs, and inventories as an MCP server ★ 2
  5. astronomy-oracle Astronomical catalog data and observing session planner. 13,000+ objects from OpenNGC. ★ 3
  6. lorcana-oracle Disney Lorcana TCG MCP server with card search, deck analysis, ink curves, and set browsing ★ 3

05 · Facts

category
other - ranked #537 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.gregario/mtg-oracle (active, first published 2026-03-15)
packages
npm:mtg-oracle

06 · Mtg Oracle FAQ

Is Mtg Oracle still maintained?

Yes - as of 2026-08-25, its last commit was 2026-05-02. We re-verify nightly.

What can Mtg Oracle do?

With this server connected, an agent can search cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text, get complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching, get official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications), and check format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more.

How do I install Mtg Oracle?

Run `npx -y mtg-oracle`. You can also paste the ready-made client config above.

Does Mtg Oracle run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Mtg Oracle

More MCP servers to compare · MAL MCP Server · Pulsenetwork · Doom MCP · Grist MCP Server · AAI Gateway

More TypeScript MCP servers · Onepiece Oracle · Warhammer Oracle · Easy Notion · Grid Proof · see all