search_cards
Pack: scryfall · Endpoint: https://gateway.pipeworx.io/scryfall/mcp
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, oracle text, sets, rarities, and prices.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Scryfall search query, e.g. ‘c:red type:dragon’, ‘set:neo rarity:mythic’. Uses Scryfall’s full-text query syntax. |
order | string | no | Sort order, e.g. ‘name’, ‘released’, ‘usd’, ‘edhrec’. |
unique | string | no | Rollup mode (default ‘cards’). |
Example call
curl -X POST https://gateway.pipeworx.io/scryfall/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_cards","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"scryfall": {
"url": "https://gateway.pipeworx.io/scryfall/mcp"
}
}
}
See Getting Started for client-specific install steps.