mcp-scryfall
Click on "Install 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., "@mcp-scryfalllook up the card 'Black Lotus'"
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.
mcp-scryfall
MCP server for live Magic: The Gathering card lookup via the Scryfall API. Hand-rolled with the MCP TypeScript SDK, not a wrapper around an existing package.
LLMs confidently misremember card names, costs, and rules text. This grounds every card reference against live Scryfall data. I use it daily for deckbuilding.
Tools
Tool | What it does |
| Exact-name lookup (optional set code). Full card object. |
| Fuzzy-name lookup. Handles typos and partial names. |
| Scryfall query-syntax search. Returns compact summaries by default (pass |
| A random card, optionally filtered by a query. |
| Lists Scryfall bulk-data endpoints for offline corpus building. |
Related MCP server: Scryfall MCP Server
Install
git clone https://github.com/haksanlulz/mcp-scryfall
cd mcp-scryfall
npm installRuns directly with tsx; no build step.
Use it from an MCP client
Add it to your client's MCP config (e.g. Claude Desktop's claude_desktop_config.json):
{
"mcpServers": {
"scryfall": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/mcp-scryfall/index.ts"],
"env": { "SCRYFALL_CONTACT": "you@example.com" }
}
}
}SCRYFALL_CONTACT is optional; it is added to the User-Agent per Scryfall's API guidelines.
Example
card_search with q = "c:rb cmc<=2 t:creature o:haste" returns compact rows plus paging metadata:
{
"total_cards": 42,
"has_more": true,
"page": 1,
"data": [
{ "name": "Ash Zealot", "mana_cost": "{R}{R}", "type_line": "Creature — Goblin Berserker", "cmc": 2, "set": "rtr" }
]
}Pass full: true to get the raw Scryfall objects instead.
Develop
npm test # MCP-layer tests over an in-memory transport (fetch mocked, no network)
npm run smoke # hit the live Scryfall API once per tool
npm run typecheckAPI etiquette
Follows Scryfall's guidelines: a 100 ms delay between requests, a descriptive User-Agent, and Accept: application/json.
License
MIT © Abishai James. Card data © Scryfall; this project is unofficial and not affiliated with Scryfall or Wizards of the Coast.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/haksanlulz/mcp-scryfall'
If you have feedback or need assistance with the MCP directory API, please join our Discord server