Scryfall

live Games

Scryfall MCP — Magic: The Gathering card database.

4 tools
0ms auth
free tier 50 calls/day

Tools

search_cards

Search Magic: The Gathering (MTG) cards using Scryfall's powerful query syntax (e.g. "c:red type:dragon", "set:neo rarity:mythic", "o:flying cmc<=3"). Returns matching MTG cards with names, types, ora

No parameters required.

Try it
get_card

Look up a single Magic: The Gathering (MTG) card by name (fuzzy matching). Returns full card details including mana cost, oracle text, colors, prices, legalities, and image.

No parameters required.

Try it
random_card

Get a random Magic: The Gathering (MTG) card, optionally filtered by a Scryfall query (e.g. "is:commander", "c:blue").

No parameters required.

Try it
list_sets

List all Magic: The Gathering (MTG) sets/expansions with codes, names, types, release dates, and card counts.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/scryfall/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/scryfall/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_cards","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_cards", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("scryfall mcp — magic: the gathering card database");