You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
51 tools, 17 prompts, and 18 resources that give AI assistants deep access to Magic: The Gathering -- card data, combos, draft analytics, Commander metagame, deck building, rules engine, and more. Works with Claude Code, Claude Desktop, or any MCP client.
15
+
69 tools, 19 prompts, and 21 resources that give AI assistants deep access to Magic: The Gathering -- card data, combos, draft analytics, Commander metagame, competitive constructed, sideboard strategy, deck building, rules engine, and more. Works with Claude Code, Claude Desktop, or any MCP client.
16
16
17
-
> Built on data from [Scryfall](https://scryfall.com), [Commander Spellbook](https://commanderspellbook.com), [17Lands](https://www.17lands.com), and [EDHREC](https://edhrec.com). See [Data Sources & Attribution](#data-sources--attribution) for details and usage terms.
17
+
> Built on data from [Scryfall](https://scryfall.com), [Commander Spellbook](https://commanderspellbook.com), [17Lands](https://www.17lands.com), [EDHREC](https://edhrec.com), [Moxfield](https://www.moxfield.com), [Spicerack](https://spicerack.gg), and [MTGGoldfish](https://www.mtggoldfish.com). See [Data Sources & Attribution](#data-sources--attribution) for details and usage terms.
18
18
19
19
## Table of Contents
20
20
21
21
-[What You Can Do](#what-you-can-do) — example prompts and real tool output
22
22
-[Install](#install) — hosted, Claude Code, Claude Desktop, PyPI, development
23
23
-[Configuration](#configuration) — environment variables and feature flags
24
-
-[Tools](#tools) — all 51 tools across 10 domains
24
+
-[Tools](#tools) — all 69 tools across 13 domains
25
25
-[Architecture](#architecture) — FastMCP 3.x mount system
Services are pure async API clients. Providers register MCP tools. Workflows compose across services with partial failure tolerance. See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the full picture.
@@ -317,12 +359,13 @@ Services are pure async API clients. Providers register MCP tools. Workflows com
317
359
|||
318
360
|---|---|
319
361
| Runtime | Python 3.12+, uv |
320
-
| MCP | FastMCP 3.1.x |
362
+
| MCP | FastMCP 3.2.x |
321
363
| HTTP | httpx (async) |
322
364
| Validation | Pydantic v2 |
323
365
| Logging | structlog |
324
366
| Tooling | mise, ruff, ty (Astral) |
325
367
| Testing | pytest, respx, pytest-asyncio |
368
+
| HTML parsing | selectolax |
326
369
327
370
## Development
328
371
@@ -347,7 +390,7 @@ mise run fix # Auto-fix lint and format issues
> Show me the stock Boros Energy decklist for Modern.
552
+
553
+
**Tips:** The `explore_format` prompt chains metagame exploration with archetype details automatically.
554
+
555
+
---
556
+
557
+
### Build a Sideboard
558
+
559
+
You have a mainboard and need a sideboard plan.
560
+
561
+
**Tools involved:**
562
+
-`suggest_sideboard`
563
+
-`sideboard_guide`
564
+
-`sideboard_matrix`
565
+
566
+
**Prompts:**
567
+
568
+
> Suggest a sideboard for this Modern deck:
569
+
>
570
+
> 4 Lightning Bolt
571
+
> 4 Monastery Swiftspear
572
+
> ... (paste full mainboard)
573
+
574
+
For a specific matchup plan:
575
+
576
+
> Give me a sideboard guide for my deck against Azorius Control.
577
+
578
+
For the full matrix:
579
+
580
+
> Generate a sideboard matrix for my deck across the top Modern matchups.
581
+
582
+
**What you get:**`suggest_sideboard` provides 15 categorized cards (graveyard hate, removal, counterspells, etc.) with format staple markers. `sideboard_guide` gives an in/out plan with reasoning per card. `sideboard_matrix` shows a grid with each sideboard card vs. each matchup as IN/OUT/FLEX.
583
+
584
+
**Tips:** The `build_constructed_deck` prompt walks through the full flow from metagame analysis to sideboard construction. Archetype names use fuzzy matching -- "boros energy" and "Boros Energy" both work.
585
+
586
+
---
587
+
588
+
### Find Tournament Results
589
+
590
+
You want to see what won recent events.
591
+
592
+
**Tools involved:**
593
+
-`spicerack_recent_tournaments`
594
+
-`spicerack_tournament_results`
595
+
-`spicerack_format_decklists`
596
+
597
+
**Prompts:**
598
+
599
+
> What Legacy tournaments happened in the last two weeks?
600
+
601
+
> Show me the top 8 standings from that tournament.
602
+
603
+
> Show me the top-finishing decklists in Modern from the last two weeks.
604
+
605
+
**What you get:** Tournament listings with dates and player counts, full standings with Swiss and bracket records, and links to top-finishing decklists on Moxfield.
606
+
607
+
---
608
+
609
+
### Search for Decks on Moxfield
610
+
611
+
You want to find decklists for inspiration.
612
+
613
+
**Tools involved:**
614
+
-`moxfield_search_decks`
615
+
-`moxfield_user_decks`
616
+
-`moxfield_decklist`
617
+
618
+
**Prompts:**
619
+
620
+
> Search Moxfield for Modern decks.
621
+
622
+
> Show me all public decks by user "aspiringspike".
623
+
624
+
> Fetch the decklist from this Moxfield URL: https://www.moxfield.com/decks/abc123
625
+
626
+
**What you get:** Paginated deck search results with format, author, colors, and dates. User deck listings. Full decklists organized by board (mainboard, sideboard, commanders).
627
+
628
+
---
629
+
515
630
## What's Next
516
631
517
-
This cookbook covers the most common workflows. For the full list of all 51 tools, 17 prompts, and 18 resource templates, see [TOOL_DESIGN.md](TOOL_DESIGN.md).
632
+
This cookbook covers the most common workflows. For the full list of all 69 tools, 19 prompts, and 21 resource templates, see [TOOL_DESIGN.md](TOOL_DESIGN.md).
0 commit comments