mtg-oracle MCP Server
Magic: The Gathering MCP server — cards, rules, combos, and Commander intelligence
mtg-oracle scores 54 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 14 tools. Filed under Uncategorized. GitHub shows 6 stars. Package registries report about 76 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
54 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 54 comes from
22 + 5 + 3 + 10 + 4 + 10 = 54. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "gregario-mtg-oracle": { "command": "npx", "args": [ "-y", "mtg-oracle@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools14Tool docs quality grade B
All capabilitiesAnalyze a legendary creature as a Commander: strategies, archetypes, recommended card categories for deckbuilding.
analyze_decktoolAnalyze a deck list (plain text or MTGO XML). Returns mana curve, color distribution, type breakdown, mana base analysis, and format legality check.
check_legalitytoolCheck format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more.
find_combostoolFind known infinite combos from Commander Spellbook. Search by card name(s) or color identity. Returns steps, prerequisites, and results.
find_synergiestoolFind synergy categories (tokens, sacrifice, counters, etc.) and sample cards that work well with a specific card.
get_cardtoolGet complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching.
Get staple cards and popular archetypes for any format. Optionally filter by archetype.
get_glossarytoolLook up game terminology in the official glossary ("permanent", "spell", "stack", "priority", etc.).
get_keywordtoolGet the official rules definition for keyword abilities (Flying, Deathtouch, Equip, etc.).
get_pricestoolLook up current market prices for one or more cards (up to 50). Returns USD, USD Foil, EUR, and MTGO tix prices from Scryfall.
get_rulingstoolGet official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications).
lookup_ruletoolLook up Comprehensive Rules by section number (e.g., "702.1") or search by text. Returns rule text with subsections and parent context.
About
mtg-oracle
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.
Not just another Scryfall wrapper. mtg-oracle downloads card data, comprehensive rules, and combo databases locally into SQLite for fast offline queries, and ships with curated MTG knowledge (archetypes, format primers, commander strategies, mana base guidelines) that makes LLMs genuinely competent at Magic.
Installation
npm install -g mtg-oracle
Or run directly with npx:
npx mtg-oracle
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"mtg-oracle": {
"command": "npx",
"args": ["-y", "mtg-oracle"]
}
}
}
Or if installed globally:
{
"mcpServers": {
"mtg-oracle": {
"command": "mtg-oracle"
}
}
}
Claude Code Configuration
claude mcp add mtg-oracle -- npx -y mtg-oracle
Data
On first run, mtg-oracle downloads card data from Scryfall and rules data from Academy Ruins. Data is stored in ~/.mtg-oracle/ and updated automatically on subsequent runs. No card data is bundled in the npm package.
Tools
Card Tools
| Tool | Description |
|---|---|
search_cards | Search cards by name, type, color, mana cost, rarity, set, format, or keyword. Full-text search across names, type lines, and oracle text. |
get_card | Get complete details for a specific card: oracle text, mana cost, type, P/T, rulings, and legality. Fuzzy name matching. |
get_rulings | Get official Wizards of the Coast rulings for a card (interactions, edge cases, clarifications). |
check_legality | Check format legality for one or more cards (up to 50). Covers Commander, Modern, Standard, Legacy, Vintage, and more. |
search_by_mechanic | Find cards with a specific keyword or mechanic (Flying, Trample, Cascade, etc.). Optionally includes the keyword's rules definition. |
get_prices | Look up current market prices for one or more cards (up to 50). Returns USD, USD Foil, EUR, and MTGO tix prices from Scryfall. |
Deck Tools
| Tool | Description |
|---|---|
analyze_deck | Analyze a deck list (plain text or MTGO XML). Returns mana curve, color distribution, type breakdown, mana base analysis, and format legality check. |
Rules Tools
| Tool | Description |
|---|---|
lookup_rule | Look up Comprehensive Rules by section number (e.g., "702.1") or search by text. Returns rule text with subsections and parent context. |
get_glossary | Look up game terminology in the official glossary ("permanent", "spell", "stack", "priority", etc.). |
get_keyword | Get the official rules definition for keyword abilities (Flying, Deathtouch, Equip, etc.). |
Commander Tools
| Tool | Description |
|---|---|
analyze_commander | Analyze a legendary creature as a Commander: strategies, archetypes, recommended card categories for deckbuilding. |
find_combos | Find known infinite combos from Commander Spellbook. Search by card name(s) or color identity. Returns steps, prerequisites, and results. |
find_synergies | Find synergy categories (tokens, sacrifice, counters, etc.) and sample cards that work well with a specific card. |
get_format_staples | Get staple cards and popular archetypes for any format. Optionally filter by archetype. |
Development
# Install dependencies
npm install
# Run tests
npm test
# Build
npm run build
# Run locally
npm start
Attribution
- Card data provided by Scryfall. This project is not produced by or endorsed by Scryfall.
- Combo data from Commander Spellbook.
- Rules data from Academy Ruins.
Legal
This is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards of the Coast. Portions of the materials used are property of Wizards of the Coast. All rights reserved.
License
MIT
Frequently asked questions
What is mtg-oracle MCP Server?
Magic: The Gathering MCP server — cards, rules, combos, and Commander intelligence
How do I install mtg-oracle MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mtg-oracle MCP Server runs locally from the npm package mtg-oracle with the command npx -y mtg-oracle@0.1.0.
Is mtg-oracle MCP Server free and open source?
Yes. mtg-oracle MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mtg-oracle MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mtg-oracle MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mtg-oracle MCP Server provide?
mtg-oracle MCP Server provides 14 tools, including analyze_commander, analyze_deck, check_legality, and find_combos. See the full tool list for descriptions and parameters.
How is mtg-oracle MCP Server's trust score calculated?
mtg-oracle MCP Server scores 54 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.