Scryfall MCP Server

Scryfall MCP Server

Enables interaction with the Scryfall API, allowing users to search for Magic: The Gathering card details, retrieve card rulings, and access pricing information using the Model Context Protocol.

cryppadotta

Ecommerce & Retail
Visit Server

Tools

random_card

Retrieve a random Magic card from Scryfall. Returns JSON data for that random card.

get_rulings

Retrieve official rulings for a specified card by Scryfall ID or Oracle ID. Returns an array of rulings. Each ruling has a 'published_at' date and a 'comment' field.

search_cards

Search for MTG cards by a text query, e.g. 'oracle text includes: draw cards'. Returns a list of matching cards (with basic fields: name, set, collector_number, ID). If no matches are found, returns an error message from Scryfall.

get_card_by_id

Retrieve a card by its Scryfall ID (a 36-char UUID). Returns the card data in JSON.

get_card_by_name

Retrieve a card by its exact English name, e.g. 'Black Lotus'. Returns the card data in JSON. If multiple cards share that exact name, Scryfall returns one (usually the most relevant printing).

get_prices_by_id

Retrieve price information for a card by its Scryfall ID. Returns JSON with usd, usd_foil, eur, tix, etc.

get_prices_by_name

Retrieve price information for a card by its exact name. Returns JSON with usd, usd_foil, eur, tix, etc.

README

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.

Scryfall MCP Server

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.

Usage

The server can be run in two modes:

  1. Standard stdio mode (default)
  2. Server-Sent Events (SSE) mode with HTTP endpoints

Using NPX

If you have Node.js installed locally:

# Stdio mode
npx scryfall-mcp-server

# SSE mode
npx scryfall-mcp-server --sse

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:

npx @wong2/mcp-cli --sse http://localhost:3000/sse

The server will be available at:

  • SSE endpoint: http://localhost:3000/sse
  • Message endpoint: http://localhost:3000/messages

Integration in claude_desktop_config.json

Example snippet for stdio mode:

{
  "mcpServers": {
    "scryfall": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp/scryfall"]
    }
  }
}

Or with npx:

{
  "mcpServers": {
    "scryfall": {
      "command": "npx",
      "args": ["scryfall-mcp-server"]
    }
  }
}

Building from Docker

docker build -t mcp/scryfall .

Then you can run in stdio mode:

docker run -i --rm mcp/scryfall

Or in SSE mode:

docker run -i --rm -p 3000:3000 mcp/scryfall --sse

License

Licensed under the MIT License.

Recommended Servers

TripleWhale MCP Server

TripleWhale MCP Server

An implementation of Model Context Protocol (MCP) that allows users to interact with TripleWhale's e-commerce analytics platform using natural language queries through Claude Desktop.

Official
Local
TypeScript
actors-mcp-server

actors-mcp-server

Use 3,000+ pre-built cloud tools from Apify, known as Actors, to extract data from websites, e-commerce, social media, search engines, maps, and more

Official
TypeScript
BigGo MCP Server

BigGo MCP Server

A Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.

Official
Python
Bitrefill Search and Shop

Bitrefill Search and Shop

This MCP wraps Bitrefill public API to allow agents to search for products and shop using cryptocurrencies like Bitcoin, Ethereum, Solana, and many more.

Official
TypeScript
Uber Eats MCP Server

Uber Eats MCP Server

A proof-of-concept server implementing the Model Context Protocol that enables LLM applications to interact with Uber Eats functionality.

Local
Python
MCP Server for Ticketmaster Events

MCP Server for Ticketmaster Events

Provides tools for discovering events at Madison Square Garden via the Ticketmaster API, returning structured data with event details like name, date, price, and ticket purchase links.

TypeScript
Webflow MCP Server

Webflow MCP Server

Enables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.

TypeScript
Rami Levy MCP Server

Rami Levy MCP Server

Enables interaction with the Rami Levy Online Grocery Store API, allowing users to perform product searches, add or remove items from their cart, and prepare for checkout, all while integrating with MCP-enabled LLMs.

TypeScript
WooCommerce MCP Server

WooCommerce MCP Server

WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.

JavaScript
MercadoLibre MCP Server

MercadoLibre MCP Server

Enables interaction with MercadoLibre's API for product search, reviews, descriptions, and seller reputation insights.

TypeScript