The Scryfall MCP Server is a tool for interacting with the Scryfall API to access Magic: The Gathering card information:
Search for cards: Perform text-based searches to find matching cards
Retrieve card details: Get specific card information by Scryfall UUID or exact English name
Fetch random card: Obtain a random card from the Scryfall database
Access card rulings: View official rulings for a card by its Scryfall or Oracle ID
Get pricing information: Retrieve current price details (USD, USD foil, EUR, TIX) for cards by ID or exact name
Provides tools for accessing the Scryfall API to look up Magic: The Gathering card details, perform card searches, retrieve official rulings, and get current pricing information across different marketplaces.
Scryfall MCP Server
A Model Context Protocol (MCP) server for interacting with the Scryfall API. It provides tools to look up Magic: The Gathering card details, card rulings, and price information.

Features
search_cards
Perform a text-based search on Scryfall. Returns a list of matching cards.get_card_by_id
Retrieve a card directly via its Scryfall UUID.get_card_by_name
Retrieve a card by exact English name.random_card
Get a random card from the entire Scryfall database.get_rulings
Retrieve official rulings for a card, which may clarify card interactions or rules.get_prices_by_id
Retrieve current pricing information (USD, USD foil, EUR, TIX) for a given card by Scryfall ID.get_prices_by_name
Retrieve current pricing information (USD, USD foil, EUR, TIX) for a given card by exact name.
Related MCP server: MTG Deck Manager MCP Servers
Usage
The server can be run in two modes:
Standard stdio mode (default)
Server-Sent Events (SSE) mode with HTTP endpoints
Using NPX
If you have Node.js installed locally:
Connecting to the Server
Stdio Mode
Your application or environment (like Claude Desktop) can communicate directly via stdio with the server.
SSE Mode
When running in SSE mode (with --sse), you can connect using the MCP CLI:
The server will be available at:
SSE endpoint:
http://localhost:3000/sseMessage endpoint:
http://localhost:3000/messages
Integration in claude_desktop_config.json
Example snippet for stdio mode:
Or with npx:
Building from Docker
Then you can run in stdio mode:
Or in SSE mode:
License
Licensed under the MIT License.