Scryfall MCP Server
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., "@Scryfall MCP Server Search for all red legendary creatures"
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.
Scryfall MCP Server
Un server MCP (Model Context Protocol) per cercare e recuperare informazioni sulle carte di Magic: The Gathering tramite l'API di Scryfall.
๐ฏ Caratteristiche
Ricerca carte: Cerca carte utilizzando la sintassi di ricerca di Scryfall
Recupero carte specifiche: Ottieni dettagli su carte specifiche per nome
Autocompletamento: Suggerimenti di nomi di carte basati su query parziali
Preset di campi: Set predefiniti di campi per casi d'uso comuni
Formati multipli: Supporto per output in formato JSON, CSV e tabella
Rate limiting automatico: Gestione automatica dei limiti di rate dell'API Scryfall
Related MCP server: scryfall-mcp-server
๐ Prerequisiti
Node.js (versione 18 o superiore)
npm o yarn
๐ Installazione
Clona o scarica questo repository
Installa le dipendenze:
npm installโ๏ธ Configurazione
Configurazione in Claude Desktop
Aggiungi la seguente configurazione al file di configurazione di Claude Desktop:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"scryfall": {
"command": "node",
"args": ["C:\\path_to\\MCP_scryfall\\index.js"]
}
}
}Importante: Sostituisci C:\\path_to\\MCP_scryfall\\ con il percorso assoluto dove hai clonato questo repository.
๐ง Strumenti Disponibili
1. search_cards
Cerca carte Magic: The Gathering utilizzando la sintassi di ricerca di Scryfall.
Parametri:
query(obbligatorio): Query di ricerca Scryfall (es. 'c:red t:legendary', 'set:dom', 'o:flying cmc<=3')fields(opzionale): Lista di campi da includere nei risultatipreset(opzionale): Usa un preset di campi predefinito ('basic', 'creatures', 'prices', 'commander', 'collection', 'comprehensive')order(opzionale): Ordinamento dei risultati ('name', 'set', 'released', 'rarity', 'color', 'usd', ecc.)unique(opzionale): Strategia per omettere carte simili ('cards', 'art', 'prints')format(opzionale): Formato di output ('json', 'csv', 'table')limit(opzionale): Numero massimo di carte da restituire
Esempio:
Cerca tutte le creature leggendarie rosse ordinate per nome2. get_card
Ottieni una carta specifica per nome esatto, opzionalmente da un set specifico.
Parametri:
name(obbligatorio): Nome esatto della cartaset(opzionale): Codice del set (es. 'dom', 'war')fields(opzionale): Lista di campi da includerepreset(opzionale): Usa un preset di campi predefinitoformat(opzionale): Formato di output ('json', 'table')
Esempio:
Mostrami i dettagli di "Lightning Bolt"3. autocomplete
Ottieni suggerimenti di autocompletamento per nomi di carte.
Parametri:
query(obbligatorio): Nome parziale della carta
Esempio:
Suggerisci nomi di carte che iniziano con "Black Lot"4. get_field_presets
Mostra informazioni sui preset di campi disponibili.
Esempio:
Quali preset di campi sono disponibili?๐ Preset di Campi
basic
name, set, rarity, type_line, mana_cost
creatures
name, set, type_line, mana_cost, power, toughness, rarity
prices
name, set, rarity, prices.usd, prices.usd_foil, prices.eur, prices.tix
commander
name, type_line, color_identity, cmc, rarity, edhrec_rank, prices.usd
collection
name, set_name, set, collector_number, rarity, artist, released_at
comprehensive
name, mana_cost, cmc, type_line, oracle_text, power, toughness, colors, color_identity, set, set_name, rarity, artist, prices.usd, legalities.standard, legalities.commander, scryfall_uri
๐ Sintassi di Ricerca Scryfall
Per Colore
c:red- Carte rossec:wr- Carte bianche e rossec>=bug- Almeno blu, nero e verdec:c- Carte incolori
Per Tipo
t:creature- Creaturet:instant- Istantaneit:legendary- Carte leggendariet:"legendary creature"- Creature leggendarie
Per Set
set:dom- Dominaria (usa il codice del set)set:war- War of the Spark
Per Raritร
r:mythic- Mitico raror:rare- Raror:uncommon- Non comuner:common- Comune
Per Testo
o:"draw a card"- Carte che contengono "draw a card"o:flying- Carte con volare
Per Costo di Mana
cmc=3- Costo di mana convertito esattamente 3cmc<=2- CMC 2 o menomv>=5- Valore di mana 5 o piรน
Per Forza/Costituzione
pow>=5- Forza 5 o maggioretou<=2- Costituzione 2 o menopow=tou- Forza uguale a costituzione
Per Formato
f:standard- Legale in Standardf:commander- Legale in Commanderf:modern- Legale in Modern
Combinazioni
c:blue t:creature cmc<=2 f:standard"Creature blu con CMC 2 o meno che sono legali in Standard"
๐ก Esempi di Utilizzo
Esempio 1: Cerca creature leggendarie rosse
Cerca carte con query "c:red t:legendary t:creature" usando il preset creatures in formato tabellaEsempio 2: Ottieni prezzi delle carte di un set
Cerca carte del set "mom" usando il preset prices in formato CSVEsempio 3: Trova contromagie in Standard
Cerca "o:counter o:target o:spell f:standard" con campi personalizzati: name, set, mana_cost, oracle_text, rarity, prices.usdEsempio 4: Informazioni su una carta specifica
Mostrami "Black Lotus" con il preset comprehensive๐ ๏ธ Sviluppo
Per eseguire il server in modalitร sviluppo:
npm start๐ Risorse
๐ Licenza
MIT
โ ๏ธ Note
Questo server utilizza l'API di Scryfall, che รจ fornita gratuitamente per uso non commerciale. Si prega di rivedere i Termini dell'API di Scryfall prima di utilizzare questo server commercialmente.
Il server implementa automaticamente il rate limiting (100ms tra le richieste) per rispettare le linee guida dell'API di Scryfall.
Available Tools
4 toolsautocompleteA
Get autocomplete suggestions for card names based on a partial query.
Inputs: query (required).
get_cardB
Get a specific card by exact name, optionally from a specific set.
Inputs: name (required), set, fields, format, +1 more.
get_field_presetsA
Get information about available field presets for card queries.
Inputs: no named parameters.
search_cardsB
Search for Magic: The Gathering cards using Scryfall search syntax. Returns cards matching the query with specified fields.
Inputs: query (required), limit, order, fields, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 4 tools
Each tool maps to a clearly distinct operation: full-text search, exact-card retrieval, prefix autocomplete, and preset metadata lookup. There is no realistic risk of an agent confusing search_cards with get_card or autocomplete since their input semantics differ (query syntax vs exact name vs partial name).
Three of four tools follow a verb_noun pattern (search_cards, get_card, get_field_presets), which is readable and predictable. 'autocomplete' breaks the pattern as a bare single-word name, a minor deviation but not confusing.
Four tools is a tight, well-scoped surface for a card-lookup server; each tool covers a distinct need (query, exact lookup, suggestion, metadata) and none feels redundant or missing for the stated purpose.
Core discovery workflow (autocomplete โ search โ exact get) is fully covered, with field presets supporting query construction. Minor gaps exist for adjacent operations like random card, set listing, or rulings, but these are peripheral to the stated card-search purpose.
Maintenance
Related MCP Connectors
Remote MCP server for saving, searching, syncing, and managing Teak cards.
Scryfall MCP โ Magic: The Gathering card database. Keyless. Scryfall requires a User-Agent andโฆ
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server for the GovContractScout US government contracts API: search, NAICS, match scoring.
Related MCP Servers
- AlicenseAqualityBmaintenanceA comprehensive Model Context Protocol server that integrates with the Scryfall API to provide Magic: The Gathering card data to AI assistants like Claude.141MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that searches and retrieves Magic: The Gathering card data from the Scryfall API.-
- AlicenseNot gradedqualityBmaintenanceUnified MCP server for Magic: The Gathering, combining Scryfall card search and pricing, EDHRec commander recommendations, Archidekt deck reading, and decklist validation into a single service.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for searching Flesh and Blood TCG cards, retrieving print variations, and browsing product catalogs via the CardVault API.MIT