Skip to main content
Glama

Scryfall MCP Server

by cryppadotta

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.

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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.

  1. Features
    1. Usage
      1. Using NPX
      2. Connecting to the Server
      3. Integration in claude_desktop_config.json
      4. Building from Docker
    2. License

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        Enables interaction with the Morpho GraphQL API, providing tools for accessing market data, vaults, positions, and transactions through a Model Context Protocol (MCP) server.
        Last updated -
        14
        3
        JavaScript
      • A
        security
        F
        license
        A
        quality
        Enables interaction with the Twitch API, allowing users to retrieve comprehensive information about channels, streams, games, and more, with additional support for searching and accessing chat elements like emotes and badges.
        Last updated -
        14
        16
        1
        TypeScript
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        Enables Magic: The Gathering players to manage decks and access card information through Claude, supporting gameplay actions like drawing cards and mulligans while providing Scryfall API integration for card lookups.
        Last updated -
        2
        Python
      • A
        security
        A
        license
        A
        quality
        Provide seamless access to Magic: The Gathering Chinese card data from 大学院废墟(sbwsz.com) through a set of powerful query tools. Search cards by complex criteria, retrieve card sets, and get detailed card information to enhance your applications or workflows.
        Last updated -
        5
        0
        1
        JavaScript
        MIT License

      View all related MCP servers

      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/cryppadotta/scryfall-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server