Skip to main content
Glama

cardmarket-mcp

AI authorship disclosure: this project was written entirely by an autonomous AI agent (mtg-builder-1, part of an experimental agent fleet). It has been tested with unit tests and live Scryfall calls only; the Cardmarket/TCGplayer paths have not been exercised against live accounts by the author — please report issues.

A read-only, bring-your-own-key MCP server for Magic: The Gathering pricing on Cardmarket and TCGplayer, with a free no-key tier powered by Scryfall.

  • BYO key: you supply your own API credentials as environment variables. They are used only to sign requests from your machine to the marketplace; this project never stores, logs or transmits them anywhere else. There is no hosted backend.

  • Read-only: no tool creates, edits or deletes listings. reprice_suggest returns suggestions only.

  • No scraping: official APIs only.

Tools

Tool

Needs

What it does

scryfall_search_cards

nothing

Scryfall-syntax search, prices + Cardmarket/TCGplayer ids

scryfall_card_prices

nothing

Fuzzy name lookup, optionally all printings, USD/EUR/TIX prices

cardmarket_product_search

Cardmarket keys

Find product ids

cardmarket_price_guide

Cardmarket keys

SELL/LOW/AVG/TREND (+foil, 1/7/30d avg)

cardmarket_compare_sellers

Cardmarket keys

Cheapest offers w/ seller, country, condition, language; price distribution

cardmarket_seller_stock

Cardmarket keys

A seller's public stock

tcgplayer_product_search

TCGplayer keys

Catalog search

tcgplayer_price_guide

TCGplayer keys

Market/low/mid/high per product

reprice_suggest

none (manual) or keys

Suggested price for one listing: strategies competitive, undercut_lowest, match_trend, premium; floor price; hold-band

Related MCP server: tcgplayer-api-mcp

Install / configure

Requires Node 18+.

{
  "mcpServers": {
    "cardmarket": {
      "command": "npx",
      "args": ["-y", "github:wminno/cardmarket-mcp"],
      "env": {
        "CARDMARKET_APP_TOKEN": "...",
        "CARDMARKET_APP_SECRET": "...",
        "CARDMARKET_ACCESS_TOKEN": "...",
        "CARDMARKET_ACCESS_TOKEN_SECRET": "...",
        "TCGPLAYER_CLIENT_ID": "...",
        "TCGPLAYER_CLIENT_SECRET": "..."
      }
    }
  }
}

All env vars are optional; omit the ones for services you don't use (Scryfall tools need none). Get Cardmarket credentials from your Cardmarket account → API page (a "dedicated app" gives you all four values). Note: TCGplayer has restricted issuing new API keys; that path only works if you already have access.

Remote (streamable-HTTP) mode

node src/index.js --http (PORT env, default 8080) runs a stateless server at POST /mcp, with /health and /.well-known/mcp/server-card.json. In this mode no server-side credentials are used: callers pass their own keys as request headers, used for that single request and never stored or logged: x-cardmarket-app-token, x-cardmarket-app-secret, x-cardmarket-access-token, x-cardmarket-access-token-secret, x-tcgplayer-client-id, x-tcgplayer-client-secret. The Scryfall tools and reprice_suggest (manual mode) need none. Note a hosted instance necessarily sees your headers in transit — if that matters to you, run the stdio version locally.

  • Scryfall data: used via the public API per Scryfall's guidelines (User-Agent set, rate-limited, attribution returned in every response). Prices are informational only, not for resale. Not affiliated with Scryfall.

  • Cardmarket and TCGplayer data is retrieved with your credentials under your agreement with those services; follow their API terms. Not affiliated with either.

  • Magic: The Gathering is © Wizards of the Coast. This is unofficial fan tooling.

  • Repricing output is a heuristic, not financial advice.

Develop

npm install && npm test · MIT licensed.

Available Tools

9 tools
cardmarket_compare_sellersCompare Cardmarket sellers & prices (BYO key)A
Read-only

Lists current offers for a Cardmarket product (cheapest first) with seller, country, condition, language, foil, quantity, plus price distribution stats. Optionally filter by min condition (MT,NM,EX,GD,LP,PL,PO), language id, foil, seller type. Requires your own Cardmarket credentials. Read-only.

Inputs: idProduct (required), foil, limit, userType, +2 more.

cardmarket_price_guideCardmarket price guide (BYO key)A
Read-only

Get the Cardmarket price guide (SELL, LOW, LOWEX, AVG, TREND, foil variants, 1/7/30-day averages) for a product id. Requires your own Cardmarket credentials. Read-only.

Inputs: idProduct (required).

cardmarket_seller_stockA seller's stock on Cardmarket (BYO key)B
Read-only

Read-only view of a given Cardmarket seller's public stock (username or user id), optionally filtered by game and a name search, so you can compare their prices against market. Requires your own Cardmarket credentials.

Inputs: user (required), start, idGame, maxResults.

reprice_suggestRepricing suggestion (advice only)A
Read-only

Suggests a new price for ONE of your listings. SUGGESTION ONLY — this server never creates, edits or deletes listings. Provide your current price plus either (a) marketplace='cardmarket' with idProduct (fetches live data with your creds), or (b) marketplace='manual' with your own reference numbers. Strategies: competitive (default), undercut_lowest, match_trend, premium.

Inputs: currentPrice (required), id, foil, trend, +8 more.

scryfall_card_pricesCard price lookup (free, Scryfall)A
Read-only

FREE tier. Fuzzy-name card lookup returning all printings' prices (usd, usd_foil, eur, eur_foil, tix) from Scryfall bulk-derived data, updated daily. No credentials.

Inputs: name (required), set, all_printings.

scryfall_search_cardsSearch MTG cards (free, Scryfall)A
Read-only

FREE tier. Search Magic cards with Scryfall syntax (e.g. 'o:flying t:dragon'). Returns ids, set info, and USD/EUR/TIX prices, plus Cardmarket/TCGplayer product ids for use with the paid-API tools. Requires no credentials.

Inputs: query (required), limit, unique.

tcgplayer_price_guideTCGplayer market prices (BYO key)A
Read-only

Market/low/mid/high/direct-low prices per subtype (Normal/Foil) for up to 50 TCGplayer product ids. Requires your own TCGplayer keys. Read-only.

Inputs: productIds (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 9 tools

    Disambiguation3/5

    Each tool is nominally tied to a provider (TCGplayer, Scryfall, Cardmarket) which helps, but there is real overlap: scryfall_search_cards and scryfall_card_prices both do fuzzy-name lookups returning prices, and cardmarket_price_guide vs. scryfall_card_prices vs. cardmarket_compare_sellers all surface price data with only subtle distinctions. The descriptions do most of the disambiguating work, so an agent can recover, but boundaries are not self-evident from names alone.

    Naming Consistency3/5

    There is a recognizable provider-prefixed scheme, but the word order flips: provider_noun_verb (cardmarket_product_search, tcgplayer_price_guide) vs. provider_verb_noun (scryfall_search_cards, cardmarket_compare_sellers). reprice_suggest breaks the provider-prefix convention entirely. Readable, but not a predictable single pattern.

    Tool Count5/5

    Nine tools is well within a sensible range and each corresponds to a distinct capability across three data providers plus a pricing strategy tool. Nothing feels padded or redundant at the count level.

    Completeness3/5

    Read-side coverage is decent (search, price guide, offers, seller stock) across three marketplaces, but the surface is a dead end for action: reprice_suggest is explicitly suggestion-only and there is no way to apply it, no listing CRUD, and no bulk/historical price retrieval beyond the TCGplayer 50-id batch. Agents can research pricing but cannot complete an end-to-end listing workflow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to TCGplayer trading card data, including search, product details, pricing, and market information, enabling natural language queries for card analysis.
      1
      -
    • F
      license
      A
      quality
      D
      maintenance
      Provides AI assistants with real-time access to Magic: The Gathering card data, prices, rulings, search, and synergy discovery via the Scryfall API.
      5
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to look up trading-card market values across Pokémon, Magic, sports and other TCG catalogs, including raw prices by condition, graded ladders, price history, trending movers and set checklists. It also calculates grading ROI — gem premiums, net profit after fees, expected value and break-even gem rates — so collectors can decide whether a card is worth submitting.
      -