Yu-gi-oh! Assistant - Multipurpose MCP
Provides access to official Konami Yu-Gi-Oh! resources, including rulebook and tournament policy content with page citations, Konami recipe decks and banlists, legality checks, official KDE decklist PDF generation, and Neuron-style deck images.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yu-gi-oh! Assistant - Multipurpose MCP Ghost Belle chained to Fallen of Albaz — what resolves?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yu-Gi-Oh! Assistant
A tournament-grade judge, deck builder and market analyst any AI agent can call over MCP.
English · Tiếng Việt · Technical reference · Credits
Most card-game assistants paraphrase card text. This one reads the Lua script the
game engine actually runs, and can execute it: ygo_judge_card parses
c<passcode>.lua from ProjectIgnis,
and ygo_judge_scenario runs a real duel on ocgcore-wasm to settle the question.
It ships as a standard MCP server on stdio (Claude Code, Claude Desktop, Codex,
OpenCode, Cursor, VS Code, Windsurf, Gemini CLI, Cline, Zed) plus a ygo CLI for
shell-only agents.
Everything runs locally. Network calls are read-only public APIs, cached under
data/; the full source list with licences is in docs/CREDITS.md.
Status: beta (0.10.x), under active development. Bugs are expected and the tool surface will change. Check for updates before you rely on it:
npx -y yugioh-assistant-mcp@latest --version,ygo doctor, and the releases page. Pin@0.10.0when you need a fixed version.
Built with AI. The code, tests and documentation in this repository were written almost entirely by AI agents, with human supervision, review and hands-on testing by the maintainer. AI output is not guaranteed to be correct. Treat every answer, ruling and price this tool produces as a lead to verify, not as a final authority: check the cited source, the banlist page and the market listing before acting on it.
Related work. This project was developed with reference to many related open-source projects — Yu-Gi-Oh! MCP servers, deck builders, price trackers, ruling tools and MCP infrastructure — to compare approaches and conventions. Only the dependencies and data sources listed in docs/CREDITS.md are included; no code was copied from an unlisted project.
Install
Requires Node 24+ (ocgcore-wasm needs JSPI). Python 3 is only needed for PDF, image and DOCX tools.
Package page: https://www.npmjs.com/package/yugioh-assistant-mcp · Source: https://github.com/SPdream99/yugioh-assistant-mcp.
# 1. one-time data bootstrap: card database, rulebook, judge corpus, Konami deck form
npx -y yugioh-assistant-mcp fetch-data
# 2. wire the server into every AI client detected on this machine
npx -y yugioh-assistant-mcp setupFrom source:
git clone <your-fork-url> yugioh-assistant-mcp
cd yugioh-assistant-mcp
npm install && npm run build
node dist/cli/index.js setupsetup writes one entry per client and backs up every file it edits
(.ygo-<timestamp>.bak). Preview first or target specific clients:
ygo install --client claude-code,cursor --dry-run
ygo status
ygo uninstall{
"mcpServers": {
"yugioh-assistant-mcp": {
"command": "node",
"args": ["C:\\path\\to\\yugioh-assistant-mcp\\dist\\index.js"]
}
}
}The installer also handles VS Code (servers), Codex (config.toml), OpenCode
(mcp.servers) and Zed (context_servers).
Related MCP server: ygo-ai
What you can ask
Area | Example |
Rulings | "Card A chained to Card B — what resolves?" |
Rulebook | "Quote the Damage Step rules with the printed page." |
Deck building | "A legal list for an archetype, OCG, 60 cards." |
Deck analysis | "How often does this list reach a real board?" |
Community | "Show me decks for an archetype; what beats another deck?" |
Market | "Most expensive card that people actually search for." |
Printing prices | "Is the Secret Rare cheaper than the Ultra? What about KR?" |
Paperwork | "Turn this .ydk into a printable KDE decklist." |
Proxies | "Print this deck as real-size proxies on A4." |
Custom cards | "Create this fan-made card and test whether it is too strong." |
Tools
Deck intelligence — Parse, validate, build and tune 40–60 card lists against a live banlist.
Tool | What it does |
| Parse a |
| Check size, banlist and zone legality for a deck in one format. |
| Convert a deck to YDK text, a |
| Live community, tournament and Konami recipe decks with page links and ydke. |
| Structured published combos (starting cards + steps) by archetype or card. |
| Published counter cards, chokepoints and explanations for a deck type. |
| Compare two lists section by section: shared core, only-A, only-B, copy differences. |
| Match cards to a stat filter and trace searchers already in your deck. |
| Build a legal 40–60 card list for TCG, OCG, AE, Genesys or Master Duel. |
| Grade staple and hand-trap ratios, then suggest swaps for the format. |
| Play opening hands through turn 1 on the real engine: board rate, Extra Deck rate, brick rate. |
| Turn the live tier list into a field plan and a role-based side deck. |
| Price a deck across markets and show the cheapest combination. |
Card database — Search the live card pool by stats, type, race, attribute or archetype.
Tool | What it does |
| Look a card up by name or passcode, with Yugipedia cross-references. |
| One call for everything about a card: database, wiki, script provenance, rulings. |
| Filter the card pool by ATK, DEF, type, race, attribute, level or archetype. |
Rulings and simulation — Read the actual ocgcore Lua script instead of guessing from card text.
Tool | What it does |
| Read the ocgcore Lua script and report HOPT, costs, targeting and timing. |
| Parse the Lua structure of ANY card script with an AST (luaparse), not just official ones: effects, condition/cost/target/operation, summon procedures (Fusion/Synchro/Xyz/Link/Pendulum), Effect API calls, constants and simulator-profile warnings. |
| Deep script analysis: effect kinds, cost/target/operation pipeline, risks and corpus-wide patterns. |
| Adjudicate how two named cards interact, citing the rulebook. |
| Official Konami rulebook: verbatim text with real page citations, plus curated timing guides. |
| Official judge corpus: Tournament Policy, Penalties, Fast Effect Timing, Judge FAQ, with page citations. |
| Yugipedia: cards, sets, products, archetypes, plus Gallery/Rulings/Errata/Tips/Trivia/Appearances tabs. |
| Run a real duel scenario on ocgcore-wasm and check the judge's expectation against engine evidence. |
| Generate a temporary Lua script for cards without one, verify it in the engine, and auto-replace it when the official script appears. |
| Check a ruling claim against the engine and return SUPPORTED / CONTRADICTED. |
| Detect summon, activation and material locks across a deck and flag conflicts. |
| Replay the golden scenario suite and report which behaviour changed. |
| Seeded games on the real engine: AI vs passive baseline, or deck A vs deck B with the AI on both sides. |
| Export policy-vs-policy decisions as JSONL training data. |
| Walk a board state through a chain and report every legal window. |
| Run a REAL duel with ocgcore-wasm (ProjectIgnis EDOPro core compiled to WebAssembly): the engine executes the Lua card scripts, handles chain/cost/target/timing and returns the message timeline (draw, summon, chain, LP update, win). |
Meta and banlists — Monthly tier data, month-over-month deltas and daily tournament shifts.
Tool | What it does |
| Refresh staples and banlists from live APIs for every supported format. |
| Monthly tier list, play rates and staple trends per format. |
| Diff two months of meta data: rising decks, falling decks, banlist impact. |
| Daily results, emergency banlist flags and micro-meta shifts. |
Market and news — Three markets, one query — rank the whole pool, measure movement, and explain it with news.
Tool | What it does |
| TCGPlayer, Yuyu-tei and TCGCorner prices side by side. |
| Rank the whole pool by price, demand or measured movement, then explain why with news and banlist evidence. |
| Per-printing prices by set code, rarity and language — null when no source lists that printing. |
| Latest reveals and banlist news from the YGOrganization feed. |
| Price history and spread for a single card. |
| What the market is buying right now. |
Tournament paperwork — Konami-legal decklists, Neuron-style deck images and real-size proxy sheets.
Tool | What it does |
| Fill Konami's official KDE decklist form directly. |
| Print proxies at real card size (59 x 86 mm), 9 per A4 page, with crop marks. |
| Render the deck as a 10-per-row Konami Neuron PNG. |
Custom cards and archetype studio — Temp IDs, generated Lua, grid artwork, spec documents and database exports.
Tool | What it does |
| Register an unreleased or fan-made card: temp ID, Lua compiled from the card text, SVG mockup. |
| Check a custom card on the engine: script errors, how often it is used, win rate with vs without it. |
| Move a temp ID to its official passcode across registry, Lua and saved YDK files. |
| Compose a single grid prompt that covers many card artworks. |
| Slice a grid image into square artworks and embed them into the card SVGs. |
| Produce a structured archetype specification document. |
| Read an archetype spec back and validate its structure. |
| Export the archetype to SQLite plus ocgcore Lua scripts. |
| Generate per-card art prompts from a spec. |
| Slice an art grid into card-ready image files. |
| Run spec, scripts, art and export end to end. |
Full parameter reference: docs/TOOLS.md.
Data sources
Source | Used for | Coverage |
YGOPRODeck | cards, printings, banlists, decks, staples | global |
TCGCSV / TCGplayer | per-printing EN prices | EN |
Yuyu-tei | JP OCG listings | JP |
TCGCorner | AE listings | AE |
Cardmarket (via YGOPRODeck) | EUR benchmark | EU |
Master Duel Meta | Master Duel decks, combos, counters | MD |
Konami Card Database | official deck recipes, card pages | official |
Format Library | GOAT / Edison / Fiber decks | retro |
Yugipedia | 12-language names, rulings, tips, trivia | CC BY-SA 3.0 |
YGOrganization | reveals and banlist news | news |
YugiohMeta / YGO Omega | TCG/OCG and Genesys tier lists | meta |
ProjectIgnis | Lua scripts + ocgcore engine | engine |
Language coverage is explicit. EN, JP and AE have live price feeds. KR,
DE/FR/IT/SP/PT and SC/TC do not — those tools return price: null with a note,
never a substituted US price or a guess from rarity.
Reliability
Every outbound call goes through one HTTP client: per-host queue, 250 ms spacing for TCGCSV, retry with backoff on 429/5xx,
Retry-Aftersupport.Offline mode:
ygo call <tool> --offlineorYGO_OFFLINE=1fails fast with an explicit reason; tools reportavailable: falseinstead of hanging.Freshness evidence: live answers carry a timestamp, a 0–100 score, a badge and a SHA-256 hash over the payload, so a stale cache is visible.
No telemetry, no accounts, no server. Deck data never leaves the machine.
Path guard: file-writing tools refuse to write outside the project or a recognised simulator install.
CLI
Command | Purpose |
| wire the server into AI clients |
| MCP over stdio ( |
| inspect and invoke tools without MCP |
| runtime, build, corpora, clients ( |
| cache sizes and ages; |
| download cards.cdb, rulebook, judge corpus, Konami deck form |
| regenerate tool tables ( |
| local data report / prune old artifacts |
Architecture
src/tools/index.ts MCP surface — one entry per tool, zod schema = docs
src/core/ engines
card-scripts/ Lua AST, judge, ocgcore runtime, scenarios
card-database/ card pool, dossier, search, combos
deck-parser/ ydk/ydke, legality
meta-deck-builder/ templates, live meta, matchup, staples
pricing/ index, history, printing prices, markets
deck-community/ YGOPRODeck / MDM / Konami / Format Library
news-rulings/ rulebook, policy corpus, YGOrganization, citations
custom-cards/ registry, Lua generator, renderer
deck-export/ KDE PDF + Neuron-style PNG (Python)
src/cli/ installer, shell interface, docs generator
skills/ agent-facing SKILL.mdDeep dive (data flow, algorithms, failure modes): docs/TECHNICAL.md.
Development
npm run build # tsc → dist/
npm test # end-to-end suites (network required)
npm run test:http # retry/backoff/rate-limit contract (offline)
npm run test:fixtures # parser tests against synthetic responses (offline)
npm run test:compare # deck comparison unit tests
npm run test:pack # pack → install in a temp dir → MCP handshake
npm run docs # regenerate tool tables
npm run doctor # environment checkAdding a tool: append to TOOLS in src/tools/index.ts,
give it a category in src/cli/tooling.ts, then
npm run build && npm run docs. The README table, both tool references and
ygo tools all regenerate from that one array.
Takedown & consent
This is a non-commercial fan project, not affiliated with Konami Digital Entertainment, Shueisha, TV Tokyo or Studio Dice. If you are a rights holder and believe this repository, its documentation or the published npm package infringes your rights, open an issue or a private security advisory — the maintainer will remove the repository and the npm package promptly, no legal action required. See NOTICE for the third-party material and the licence boundaries.
Project
Security policy — private reporting, scope, data handling.
Third-party notice — downloaded Konami form, ProjectIgnis procedures, synthetic fixtures, trademarks.
Changelog — what changed in 0.10.0.
License & credits
Code: AGPL-3.0-only. You may use, modify and redistribute it under the AGPL; derivative works distributed or offered over a network must keep the same licence. The licence permits commercial use by others — this project itself is run as a non-commercial fan utility and is not affiliated with Konami Digital Entertainment, Shueisha, TV Tokyo or Studio Dice. Yu-Gi-Oh! and all related marks belong to their respective owners.
The Konami deck-list form (data/templates/KDE_DeckList.pdf) is not bundled;
ygo fetch-data downloads it from Konami on demand, or you can point
YGO_KDE_TEMPLATE at your own copy. Full terms: docs/LEGAL.md.
Sources and open-source libraries: docs/CREDITS.md.
Available Tools
56 toolsygo_ai_benchmarkA
Benchmark the heuristic duel AI over N seeded games on the real engine, alternating who goes first. aiSide 'alternate'/'A'/'B' = AI vs the passive default responder; aiSide 'both' = deck A vs deck B matchup with the AI piloting both decks (use this to test a custom card or deck change). Returns win rates, average game length and LP remaining. The AI is a policy, not a trained model — treat the number as a sanity check.
Inputs: deckA (required), deckB (required), seed, games, +7 more.
ygo_analyze_luaB
Parse the Lua structure of ANY card script with an AST (luaparse), not just official ones: effects, condition/cost/target/operation, summon procedures (Fusion/Synchro/Xyz/Link/Pendulum), Effect API calls, constants and simulator-profile warnings.
Inputs: deep, luaCode, luaPath, passcode, +1 more.
ygo_build_full_pipelineA
Run the whole archetype pipeline in one call: read DOCX -> validate -> compile SQLite DB -> generate Lua scripts -> export ART_PROMPTS.md -> (optional) slice the grid straight into the game folder.
Inputs: docxPath (required), gameRootDir (required), gridImagePath, simulatorProfile.
ygo_build_meta_deckA
USE THIS whenever the user asks you to build, produce or suggest a decklist. Build a tournament-legal deck (40-60 Main, up to 15 Extra, 15 Side) that respects the banlist of the chosen format (TCG, OCG, AE, Genesys, Master Duel), with strategy, staples and a legal list. Every generated list is re-validated (banlist, sizes, Extra Deck placement) before it is returned. If the archetype has no template the tool returns available:false plus availableArchetypes — it never substitutes another deck. Never output a decklist from memory; every card must come from this tool's response.
Inputs: archetype (required), format, goSecond, targetCount.
ygo_card_dossierA
USE THIS FIRST for a full card profile (database record + wiki + script provenance + optional rulings/prices). One call for everything about a card: official database record (stats, text), wiki record (names in 12 languages, Yu-Gi-Oh! Card Database ID, which tabs exist, page URL), script provenance (official/custom/generated/missing), and optional rulings summary and cached prices. Reports per-source status so a partial answer is explicit. Do not answer from memory; call this tool first.
Inputs: name, passcode, includePrices, includeRulings.
ygo_card_printing_pricesA
USE THIS for any question about "which printing is cheaper", "how much is the Secret Rare", "KR version price", or comparing rarities of the same card. Returns a per-printing table (set code, set name, rarity, language) where each row has a price ONLY if a source actually lists that printing; otherwise price is null. Covers EN (TCGplayer per-product), JP (Yuyu-tei) and AE (TCGCorner); KR, DE/FR/IT/SP/PT and SC/TC have no public per-printing feed and are returned as price:null with a note. Never infer a price from rarity — call this instead. Do not answer from memory; call this tool first.
Inputs: cardName (required), maxSets, includeLive.
ygo_check_legalityA
USE THIS for every "is this legal / how many copies can I run / is X banned" question. Checks Main/Extra/Side sizes, banlist copy limits for the requested format (forbidden / limited / semi-limited), and that Fusion/Synchro/Xyz/Link monsters are only in the Extra Deck. Works from a .ydk path, raw .ydk text, a ydke:// link, or a DeckData object. Never state a banlist status from memory. Do not answer from memory; call this tool first.
Inputs: deck, input, format.
ygo_check_locksA
Detect summon/activation/material locks in the cards of a deck and flag contradictions. Reads the Lua scripts and reports which card locks you into (or out of) which Summon type, plus conflicts such as a Special Summon lock next to an Extra Deck lock.
Inputs: input, maxCards, passcodes.
ygo_check_pricesA
Multi-market price lookup: TCGPlayer (US TCG), Yuyu-tei (JP OCG) and TCGCorner (AE Asian-English). Yuyu-tei is queried with the resolved Japanese card name; when nothing matches, the quote is a search link with price 0 — never a guessed number. This returns one aggregate per card: for per-rarity or per-language printings use ygo_card_printing_prices.
Inputs: cardName (required), passcode.
ygo_compare_decksA
USE THIS for "what do these two lists share", "core vs tech", or comparing a community deck with your own. Compares two decks section by section (Main/Extra/Side) and returns shared cards, cards only in A or B, and copy-count differences with an overlap percentage. Accepts .ydk paths, raw .ydk text, ydke:// links or DeckData. Do not answer from memory; call this tool first.
Inputs: deckA (required), deckB (required).
ygo_compare_monthly_metaA
Compare meta movement between two months (e.g. 2026-10 vs 2026-11): rising stars, falling decks and banlist impact.
Inputs: monthA (required), monthB (required), format.
ygo_consistency_labA
Measure what a deck's opening hands actually do. Deals seeded hands through the real ocgcore engine, plays the full first turn with the heuristic AI (the opponent passes) and reports two distinct numbers: anyActionRate (at least one legal action — a very low bar) and engineBoardRate (reached the Extra Deck or kept a monster on the field). Also returns summon/Extra Deck rates, average board size and the most common openers. A measurement, not a win-rate prediction.
Inputs: main, seed, extra, input, +3 more.
ygo_create_archetype_docxC
Create the Master Specification DOCX (Archetype Design Bible) as a Single Source of Truth, with the six-column spec table (ID, Name/Type, Stats, Text, ...).
Inputs: lore (required), cards (required), setcode (required), playstyle (required), +4 more.
ygo_create_custom_cardA
Register a newly revealed or fan-made card: assign a temporary ID (990000000+), compile its effect text (PSCT: condition: cost; resolution, once-per-turn clauses, material line) into a ProjectIgnis Lua script, and render an SVG mockup. Returns compileReport: which effects were understood, clauses left as TODO (not simulated), confidence, and a card-designer review (missing once-per-turn, generic tutors, out-of-range numbers). Write the text in official PSCT wording for best results; pass effectsLua to supply a hand-written script instead.
Inputs: desc (required), name (required), type (required), atk, +10 more.
ygo_deck_costA
Price a whole deck across TCGPlayer / Yuyu-tei / TCGCorner, show the cheapest market per card and the potential saving versus the most expensive market. Prices a bounded number of unique cards and marks the result partial rather than inventing numbers (no FX or shipping applied).
Inputs: cards, input, maxCards, timeBudgetMs.
ygo_ensure_scriptA
Manage Lua scripts for cards that have no official one. from-news reads a reveal article (e.g. YGOrganization), extracts the card name, artwork URLs, text and stats, assigns a temporary ID and generates the script; resolve generates from the cards.cdb text when the card is already in the database. Every generated script is verified by loading it into ocgcore and is automatically replaced by the official ProjectIgnis script as soon as one exists. Returns provenance (manual/custom/official/generated), confidence, recognised patterns, engine errors and the replacedGenerated flag.
Inputs: topic (required), url, tempId, cardName, +4 more.
ygo_export_database_and_scriptsA
Compile the Master DOCX into a SQLite database (.cdb for EDOPro or Databases/gm.db for YGO Omega) and generate every Lua script c.lua for the chosen profile.
Inputs: docxPath (required), outputDbPath, outputScriptsDir, simulatorProfile.
ygo_export_deckA
Export a deck as .ydk text, a canonical ydke:// link, or both.
Inputs: deck (required), format.
ygo_export_selfplayA
Play policy-vs-policy games on the real engine and export every decision as JSONL (request type, legal option codes, chosen action, result). This is the training-data generator for behavioural cloning / reinforcement learning.
Inputs: deckA (required), deckB (required), seed, games, +4 more.
ygo_find_combosA
USE THIS for "how does this deck combo / what is the line" questions that need real combo data. Returns structured combos (starting cards + ordered steps) from Master Duel Meta's public combo API, filtered by archetype or by a specific card, each with a source URL. For a combo derived from a list you already hold, pass the deck to ygo_find_synergy_and_combos instead — this tool reports published combos, it does not invent them. Do not answer from memory; call this tool first.
Inputs: card, limit, archetype.
ygo_find_community_decksA
USE THIS when the user wants real decklists that other people published ("show me decks for an archetype", "what are people building", "a tournament list", "official Konami recipe"). Pulls live community/tournament decks from YGOPRODeck, Master Duel Meta and Konami's official card database (Neuron), and returns each deck's canonical page URL plus a ready-to-use ydke:// link. Every deck plugs straight into ygo_check_legality, ygo_deck_cost, ygo_consistency_lab or ygo_optimize_deck — do not retype the list by hand. Never invent a community deck or a deck URL. Do not answer from memory; call this tool first.
Inputs: to, from, sort, limit, +14 more.
ygo_find_countersA
USE THIS for "how do I beat this deck / what counters it / which card stops this combo". Returns published counter strategies from Master Duel Meta (counter cards with impact, chokepoints, and the author's explanation), filtered by archetype or by a card that appears as a counter. Each entry carries a source URL. This is community evidence, not a ruling — verify card behaviour with ygo_judge_card. Do not answer from memory; call this tool first.
Inputs: card, limit, archetype.
ygo_find_synergy_and_combosA
USE THIS for "find a card that does X" or "how do I search it" questions. Find monsters/cards by concrete stats (e.g. 1850 ATK Spellcaster), match them against your deck's existing searchers, and output the combo line. Do not invent search targets from memory. Do not answer from memory; call this tool first.
Inputs: filter (required), deck, desiredPayoff.
ygo_generate_art_promptsA
Extract every artwork description from the Master DOCX into ART_PROMPTS.md, with per-card prompts and Master Grid prompts (2x2, 3x3, 4x4).
Inputs: docxPath (required), gridLayout, outputMdPath.
ygo_generate_batch_art_promptB
Build one grid image prompt (2x2, 3x3) covering all custom cards, saving tokens and image-model calls.
Inputs: cards (required), style.
ygo_generate_proxy_pdfA
Print-ready proxy sheet: cards at the real OCG/TCG size (59 x 86 mm, fits standard sleeves), 9 per A4 page, centred, with crop marks and a 50 mm scale bar. Uses official card art when available and a clean text proxy (name, stats, full effect) for custom cards or missing images. Takes a deck (ydke://, .ydk, text list) and/or an explicit card list. For personal playtesting only. Tell the user to print at Actual size / 100%.
Inputs: cards, gapMm, input, style, +4 more.
ygo_generate_tournament_decklist_pdfA
Turn a deck (YDK, YDKE, .ydk file or text list) into an official Konami KDE Deck Registration Sheet PDF with the full category tables. Handles Unicode names (Vietnamese, Japanese, etc.) correctly.
Inputs: input (required), format, country, deckName, +7 more.
ygo_get_cardA
USE THIS for every individual card fact: name, passcode, ATK/DEF, Level, attribute, type, effect text or banlist status. Look up one card by name or passcode. Do not answer from memory; call this tool first.
Inputs: id, name.
ygo_get_card_price_trendsA
Full card detail: stats, text, printings, aggregated multi-market prices (TCGPlayer, Yuyu-tei OCG, Cardmarket AE) and Yugipedia links. Per-printing prices are only present when the source reports set_price; a 0 means 'no price for that printing', not 'free'. For any ranking or 'most expensive / rising' question use ygo_market_query instead.
Inputs: cardNameOrId (required).
ygo_get_daily_metaB
Check the meta and banlist day by day (YYYY-MM-DD): emergency banlist notices, errata and tournament news from that day.
Inputs: date, format, forceRefresh.
ygo_get_monthly_metaA
USE THIS for any "what is the meta / tier list / share %" question. Live tier list straight from the YugiohMeta API (/api/v1/deck-types/rankings) for TCG and OCG, with share %, total tops, player counts, live staples and freshness evidence. AE/Genesys/Master Duel have no live source. Do not quote a tier list from memory. Do not answer from memory; call this tool first.
Inputs: year, month, format, forceRefresh.
ygo_get_newsA
Fetch new card reveals, banlist news and tournament coverage from the YGOrganization RSS feed.
Inputs: limit.
ygo_get_policyC
Official Konami judge corpus: Tournament Policy (KDE-US), Tournament Infractions & Penalties, Speed Duel/Remote Duel addenda, Fast Effect Timing, Advanced Rules, PSCT series, Judge Program and Judge FAQ. Verbatim text with document, version and page citations.
Inputs: topic (required), page, query, refresh, +1 more.
ygo_get_rulebookA
Official Konami rulebook (PDF from yugioh-card.com/en/rulebook/): verbatim text with printed page citations. Topics: status, official, search, section, page. The timing/damage_step/segoc/mechanics topics are curated summaries, not official text.
Inputs: topic (required), page, term, query, +1 more.
ygo_get_trending_cardsC
High-demand meta staples with live prices (TCGPlayer/Yuyu-tei/TCGCorner) and live weekly views (YGOPRODeck). Trends derive from live weekly views; tournament share is an editorial estimate. No hardcoded data.
Inputs: limit, format.
ygo_golden_suiteA
Run the golden regression suite: every stored scenario is replayed on ocgcore and compared with its expected outcome. Use after a ProjectIgnis script update or an engine bump to see exactly which behaviour changed.
Inputs: file, only.
ygo_judge_cardA
USE THIS for every ruling question about a specific card. Full mechanics adjudication from the ProjectIgnis Lua source: HOPT/SOPT, cost vs effect, targeting, miss timing, Damage Step, negate activation vs negate effect. Accepts a passcode or a card name, reports the script provenance (official/custom/generated/missing) and attaches rulebook + PSCT citations. Do not assert a ruling from memory. Do not answer from memory; call this tool first.
Inputs: cardName, passcode.
ygo_judge_interactionA
Official ruling on the interaction between two specific cards, grounded in the ocgcore engine and the Konami rulebook.
Inputs: cardA (required), cardB (required), question (required).
ygo_judge_scenarioA
Run a REAL duel scenario on ocgcore-wasm, then check the judge's expectations against the engine and conclude. Returns verdict (CONFIRMED/REFUTED/INCONCLUSIVE), the actual chain link by link, the action transcript, engine evidence per expectation, final field/LP, and rulebook/policy citations. Presets cover the common negate and protection cases.
Inputs: deck, board, preset, maxSteps, +3 more.
ygo_market_queryA
USE THIS for market questions that are NOT about one named card: "which card is the most expensive", "what is rising", "what is hot under $5", "why did this card's price move". It ranks and filters the entire card pool by price, demand and measured movement, then correlates the result with YGOrganization news, banlist status, release windows and the live meta. For "expensive but actually sellable", use sortBy: "liquidity_adjusted" (price × demand on log scales) instead of raw price. Ranking is US-based (TCGPlayer/Cardmarket via YGOPRODeck) because Yuyu-tei and TCGCorner have no bulk price feed; set includeMarkets to attach their live quotes for the top results (explain does it by default). Use ygo_check_prices only for a single card's shop-by-shop quotes. Never answer "most expensive / rising" from memory: call this and quote priceBasis, confidence and the data caveats. Do not answer from memory; call this tool first.
Inputs: card, race, type, limit, +18 more.
ygo_matchup_plannerA
Turn the live tier list into a field plan: expected frequency by tops, the top decks to prepare for, and a role-based 15-card side skeleton from the format's staple pool. Counter choices are labelled as role heuristics, not proven counters.
Inputs: format, deckName, sideSize.
ygo_migrate_temp_cardA
Replace a temporary ID with the official Konami passcode once it is announced, rewriting the registry, the script and every saved .ydk.
Inputs: tempId (required), officialId (required), ydkFilesToUpdate.
ygo_optimize_deckA
USE THIS when the user asks to upgrade, fix or grade an existing deck. Grade the staple / hand-trap / board-breaker ratio and propose upgrades under the current banlist and meta. Do not propose replacement cards from memory; start from this tool's output. Do not answer from memory; call this tool first.
Inputs: deck (required), format.
ygo_parse_deckA
USE THIS FIRST when the user supplies a .ydk path, raw .ydk text or a ydke:// link. Parse the deck into card data and validate it; never transcribe the list by hand. Do not answer from memory; call this tool first.
Inputs: name, format, ydkeUrl, filePath, +1 more.
ygo_read_and_validate_docxB
Parse and validate the Master Specification DOCX: data integrity, duplicate IDs, Omega int32 ID range, Setcode and the str1..str16 choice strings.
Inputs: docxPath (required), targetSimulator.
ygo_render_deck_imageA
USE THIS after building or editing a deck when the user wants to see it. Render the deck (Main, Extra, Side) as a PNG in Konami Neuron / tournament decklist layout: 10 cards per row, Monster -> Spell -> Trap, banned cards flagged. The picture is attached to this tool's result as an image block and the absolute outputPath is returned — present it to the user and, if the host has a file-preview or open-file capability, open that path in a tab. Do not describe the image from memory; the rendered file is the source.
Inputs: input (required), lang, title, outputPath.
ygo_run_duelB
Run a REAL duel with ocgcore-wasm (ProjectIgnis EDOPro core compiled to WebAssembly): the engine executes the Lua card scripts, handles chain/cost/target/timing and returns the message timeline (draw, summon, chain, LP update, win).
Inputs: ai, deck, seed, deckA, +10 more.
ygo_script_insightsA
Deep card-script analysis. card mode explains every effect: kind (ignition/trigger/quick/continuous/flip/summon), trigger event, whether the condition/cost/target/operation pipeline is complete, what it costs, whether it targets, reset duration, hard/soft/duel once-per-turn, plus structural risks (missing LoadScript, invalid constants, target without operation, skeleton code) and complexity metrics. corpus mode aggregates a whole folder of scripts: effect-kind distribution, most common trigger events and categories, count-limit mix, recurring risks and the worst offenders.
Inputs: dir, mode, limit, luaCode, +3 more.
ygo_search_cardsA
USE THIS whenever the task is card discovery (ATK, DEF, type, race, attribute, level, archetype, effect text) or a price-ranked list ("most expensive Dragon", "Spellcasters under $5"). Search the live card pool; do not list candidate cards from memory. Do not answer from memory; call this tool first.
Inputs: atk, def, desc, name, +11 more.
ygo_simulate_duel_scenarioA
Analyse a duel scenario in text form: chain order, legality of each activation, cost/target/timing checks, Lua script cross-reference and a judge-style verdict. Heuristic only — use ygo_judge_scenario or ygo_run_duel for real engine execution.
Inputs: scenario (required), deckA, deckB, handA, +7 more.
ygo_slice_art_gridB
Detect the grid, remove gutters and slice an AI contact sheet into square .jpg card arts (1024x1024, JPEG quality 95) directly into the game's Arts/ folder.
Inputs: imagePath (required), cols, rows, cardIds, +2 more.
ygo_slice_batch_artC
Slice the grid image into individual square artworks and embed each one into its matching SVG card.
Inputs: manifest (required), gridImagePath (required), outputDir.
ygo_sync_metaB
Sync live meta data (staples, TCG/OCG banlists, usage metrics) from the YGOPRODeck API.
Inputs: forceRefresh.
ygo_test_custom_cardA
Test a custom/unreleased card on the real engine like a card designer would: (1) script health — the generated Lua loads and resolves without core errors; (2) usage — how often the AI actually summons/activates it over seeded games; (3) impact — deck win rate with the card swapped in vs without, same opponent, seeds and AI, alternating who goes first, with a 95% interval. Without a deck it uses a neutral vanilla shell, which checks that the card works, not its real-deck power.
Inputs: code (required), deck, seed, games, +3 more.
ygo_verify_rulingA
USE THIS before asserting any ruling you cannot point at engine evidence for. Verify a ruling CLAIM against the engine. Give a sentence ('Card A negates Card B') and the tool picks a matching scenario (or runs the one you pass), executes it on ocgcore and returns SUPPORTED / CONTRADICTED / INCONCLUSIVE with the observation that decided it. This is how a judge conclusion becomes checkable. Do not answer from memory; call this tool first.
Inputs: claim (required), scenario, scenarioId.
ygo_wikiB
Yugipedia lookup: cards (names in 12 languages, passcode, Yu-Gi-Oh! Card Database ID, archetype, which tabs exist), tabs (Gallery / Rulings / Errata / Artworks / Tips / Trivia / Appearances / Names / Lores), pages (sets, products, archetypes) and search. Resolves by name, passcode or database ID.
Inputs: topic (required), tab, input, query, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 56 tools
The tool set has substantial overlap across card lookup, pricing, meta, ruling, script-analysis, and deck workflows. Descriptions often include explicit routing guidance such as 'USE THIS FIRST' or 'use X instead,' which helps, but there are still many near-neighbor tools an agent could misselect.
All tools use a consistent ygo_ prefix and lowercase snake_case, with no mixed casing styles. However, the suffix pattern is not uniformly verb_noun: several tools are noun-first (ygo_card_dossier, ygo_deck_cost, ygo_wiki) or use conjunctions (ygo_read_and_validate_docx).
At 56 tools, the surface is far beyond a well-scoped set and is difficult to hold in context or route reliably. Even for a multipurpose assistant, the number of overlapping pricing, meta, ruling, deck, art, and pipeline tools is excessive.
The surface is unusually broad: card data, rulings, deck building, pricing, meta, custom-card scripting, simulation, PDFs, and art generation are all covered. Minor lifecycle gaps remain, such as explicit editing/deleting of custom cards or decks, but most workflows have a workable tool.
Maintenance
Related MCP Connectors
Deterministic AEO/GEO checks and a source-cited rulebook for AI search, for your agent.
Live competitive-game predictions, meta data and decision tools for AI agents.
A living memory and world-building layer for your AI: cards, worlds, personas and agent dispatch.
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying Yu-Gi-Oh! TCG card data, such as card information, sets, and prices, through natural language.65 npm1MIT
- AlicenseNot gradedqualityCmaintenanceProvides Yu-Gi-Oh! card data, banlist, deck management, OCG rules engine, duel simulation, replay analysis, and YGOPro2 bridge for AI agents via MCP.7BSD Zero Clause
- AlicenseNot gradedqualityCmaintenanceEnables settling Yu-Gi-Oh! ruling questions by letting Claude build boards, play both players through EDOPro's actual rules engine, and cross-check Konami's official FAQ entries and Q&As. Also exports scenarios as replayable EDOPro puzzle files.AGPL 3.0
- AlicenseAqualityCmaintenanceEnables an AI assistant to search real card data, check legality and points, validate or save decks, pull rulings, and review tournament meta for TCG Advanced and Genesys. It exposes tools for card search, archetype lookup, deck validation, meta snapshots, and optional turn-1 line search.12MIT