
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

A Model Context Protocol server that gives MCP clients Magic: The Gathering card search, rules lookup, pricing, set discovery, and deckbuilding capabilities backed by Scryfall.
Scryfall MCP Server is cataloged as an MCP server attributed to bmurdock. A Model Context Protocol server that gives MCP clients Magic: The Gathering card search, rules lookup, pricing, set discovery, and deckbuilding capabilities backed by Scryfall. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Scryfall MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Scryfall API calls are globally serialized by a shared rate limiter, with 100 ms default pacing for general endpoints and at least 500 ms for Scryfall's 2/sec card endpoints.
The show_card_search widget returns structured content for the model and renders a read-only widget that uses Scryfall image URLs.
README.md · 702c9c8635d3 · Fetched 2026-11-13 13:24:21 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Scryfall-backed MCP server for Magic: The Gathering search, rules lookup, pricing, set discovery, and deckbuilding workflows.
The project currently supports:
stdio as the primary transport for local MCP clientssrc/http.tssearch_cards: Run Scryfall card searches with paging, sorting, and optional price filtering.get_card: Fetch one card by name, set/collector number, or Scryfall ID.get_card_prices: Return price data with optional format context and alternatives.random_card: Get a random card with optional filters.search_sets: Search and filter Magic sets.query_rules: Search the local comprehensive rules file with context.build_scryfall_query: Convert natural language into an explainable Scryfall query.search_format_staples: Search format-legal candidates using disclosed price and ordering heuristics, not tournament metagame data.search_alternatives: Find candidates using disclosed price, type, and mana-value heuristics; results are not verified functional replacements or upgrades.find_synergistic_cards: Find synergy pieces for a card, theme, or archetype.batch_card_analysis: Analyze multiple cards for legality, prices, synergy, or composition.validate_brawl_commander: Check Brawl and Standard Brawl commander legality.analyze_deck_composition: Evaluate deck lists for curve, colors, and structural issues.suggest_mana_base: Recommend land counts and fixing packages from color requirements.show_card_search: Render a ChatGPT Apps widget for visual Scryfall card search results.card-database://bulk: Cached Oracle bulk snapshot.set-database://all: Cached set list snapshot.ui://widget/card-search.html: ChatGPT Apps widget template for show_card_search.analyze_cardbuild_deckRecommended for Claude Desktop, Codex, MCP Inspector, and most local MCP clients.
npm run dev
npm start
Available as a separate entrypoint for local or explicitly controlled environments.
npm run dev:http
npm run start:http
For local MCP testing:
npm run dev:http:local
npm run smoke:http
The smoke test checks /health, performs MCP initialize, sends notifications/initialized, and verifies tools/list.
It also makes representative validate_brawl_commander and search_cards tool calls so the local HTTP endpoint is checked beyond discovery.
HTTP requests retain a default 1 MiB body limit (HTTP_MAX_BODY_BYTES). Before SDK
or tool validation, the HTTP entrypoint also rejects request JSON containing more
than 10,000 array elements and object keys in total. This applies across the whole
request, including batches; SDK 1.32.2 additionally caps batches at 100 messages.
The structural guard is iterative and applies to this project's low-level Server
handlers; it does not rely on the opt-in McpServer.maxToolInputElements option.
Current HTTP behavior:
127.0.0.1 by defaultPOST|GET|DELETE on /mcpGET /healthOrigin headers by default unless HTTP_ALLOWED_ORIGINS is setHTTP_AUTH_TOKEN and HTTP_TRUST_PROXY_TLS=true when HTTP_HOST is not loopback; the latter is an operator assertion that a trusted HTTPS proxy or tunnel protects the plaintext listenerHTTP_MAX_SESSIONS (default 100)The HTTP entrypoint is useful today, but it is still documented conservatively. It is not presented here as a public-hosting story.
The HTTP MCP endpoint can be connected to ChatGPT Developer Mode as a local app prototype. Start the server on loopback:
npm run dev:http:local
Expose that local endpoint with an HTTPS tunnel:
ngrok http 3000
Then connect the tunneled https://.../mcp URL in ChatGPT Developer Mode. Refresh the app after changing tool descriptors, widget resources, or metadata so ChatGPT reloads the current MCP surface.
The current ChatGPT-facing widget is show_card_search, which returns concise structuredContent for the model and renders ui://widget/card-search.html in ChatGPT. The widget is read-only against Scryfall, uses Scryfall image URLs, and keeps its CSP resource allowlist limited to https://cards.scryfall.io.
^20.19.0, ^22.13.0, or >=24.0.0git clone https://github.com/bmurdock/scryfall-mcp.git
cd scryfall-mcp
npm install
cp .env.example .env
The documented npm run dev*, npm start, and npm run inspector commands preload .env. Explicit process environment variables take precedence over values in that file. MCP clients that launch dist/index.js directly should provide overrides through their own env configuration.
npm run lint
npm run type-check
npm test
npm run test:coverage
Lint rejects warnings. Tests capture application warning, error, and fatal logs;
failure-path tests declare expected diagnostics with expectLog from
tests/helpers/expected-logs.ts. Missing or unexpected diagnostics fail the test.
npm run build
npm run dev
npm run dev:http
npm start
npm run start:http
npm test
npm run test:watch
npm run test:ui
npm run test:coverage
npm run lint
npm run lint:fix
npm run type-check
npm run inspector
See .env.example for the canonical values. The main variables in active use are:
SCRYFALL_USER_AGENTRATE_LIMIT_MSRATE_LIMIT_QUEUE_MAXSCRYFALL_TIMEOUT_MSCACHE_MAX_SIZECACHE_MAX_MEMORY_MBLOG_LEVELNODE_ENVHEALTHCHECK_DEEPHTTP_HOSTHTTP_PORTHTTP_MCP_PATHHTTP_HEALTH_PATHHTTP_MAX_BODY_BYTESHTTP_SESSION_IDLE_MSHTTP_SESSION_CLEANUP_INTERVAL_MSHTTP_ALLOWED_ORIGINSHTTP_AUTH_TOKENHTTP_TRUST_PROXY_TLSHTTP_MAX_SESSIONSOperational notes:
query_rules accepts up to 2,000 characters and 32 distinct words. Flexible matching requires every term; scans yield periodically so request cancellation can interrupt them.OR branches. Search inputs support mana-symbol braces, split-card separators, and Unicode names.$, tix, or price; power and mana comparisons are not treated as prices. Query testing treats Scryfall's no-match HTTP 404 as an empty result eligible for broadening while retaining an explicit price_budget cap.€ price constraints and distinguish whole color words, negated colors, exact colors, and multicolor requests. Price explanations retain USD, EUR, or TIX units.7+ bucket./cards/search, /cards/named, /cards/random, and /cards/collection.Retry-After values, including when a 429 response has a non-JSON body.CACHE_MAX_MEMORY_MB controls whether large in-memory snapshots, including card-database://bulk, can be retained. Bulk resource rebuilds stream to a temp file first; oversized snapshots remain on disk for warm reads instead of being retained in the cache. Each MCP resource response still materializes the complete serialized bulk payload required by the resource protocol, so callers should allow memory proportional to that response size.get_card lookups use Scryfall's localized set/collector endpoint. Name and UUID lookups first resolve a printing, then request that printing in the selected language; unavailable translations return a lookup error.get_card_prices uses a separate six-hour cache, independent of the 24-hour card-detail cache.get_card_prices retains the base price and identifies unavailable comparison categories. A throttled comparison stops further comparison requests and includes available retry guidance.suggest_mana_base returns heuristic land counts and cycle categories; individual card legality and color compatibility still require verification. All allocated slots are included, with a generic fixing category when no specific cycle is available. Special land requirements are currently unsupported and nonempty special_requirements inputs return a validation error.HTTP_SESSION_IDLE_MS and are checked by HTTP_SESSION_CLEANUP_INTERVAL_MS.HTTP_TRUST_PROXY_TLS=true, which asserts that a trusted HTTPS proxy or tunnel protects the plaintext listener. Origin allowlists remain an additional browser policy, not an authentication mechanism.GET /health is a readiness check: it returns HTTP 503 when a required service is degraded, including while the Scryfall circuit breaker is open.Example local HTTP startup:
HTTP_HOST=127.0.0.1 HTTP_PORT=3000 npm run start:http
build_scryfall_query{
"natural_query": "blue counterspells under $20 for modern",
"optimize_for": "precision"
}
search_cards{
"query": "c:r t:instant mv=1",
"limit": 10,
"order": "name"
}
search_sets{
"type": "expansion",
"released_after": "2020-01-01"
}
find_synergistic_cards{
"focus_card": "Obeka, Splitter of Seconds",
"synergy_type": "theme",
"format": "commander",
"color_identity": "UBR",
"limit": 12
}
For commander-like workflows, pass color_identity when the focus is a theme rather than a resolvable card. When the focus resolves to a card, the tool infers that card's color identity and filters final results by requested legality, Arena availability, and color identity.
analyze_deck_composition{
"deck_list": "4 Lightning Bolt\n4 Monastery Swiftspear\n20 Mountain",
"format": "modern",
"strategy": "aggro"
}
Add the built stdio entrypoint to your Claude Desktop configuration.
macOS path: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows path: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"scryfall": {
"command": "node",
"args": ["/absolute/path/to/scryfall-mcp/dist/index.js"]
}
}
}
/sets dataset to avoid incorrect filtered cache reuse.ScryfallMCPServer.healthCheck() and the HTTP /health endpoint.npm run dev:http:local
npm run smoke:http
If the smoke command succeeds, capture the connector error text and the smoke output together; that separates local endpoint framing from connector-specific parsing.
Current source-of-truth docs:
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Scryfall MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/scryfall-mcp-bmurdock)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.