Skip to main content

Model Context Protocol server for the CardShowData TCG pricing API

Project description

CardShowData MCP Server

Model Context Protocol server for the CardShowData TCG pricing API. Lets AI assistants (Claude Desktop, Claude Code, ChatGPT, Cursor, etc.) answer questions like "What's a Base Set Charizard worth?" or "Which Pokemon cards spiked this week?" with live pricing data.

Install

The recommended way is via uvx, which fetches and runs the latest published version with no setup:

uvx cardshowdata-mcp

You'll need a free API key — sign up at cardshowdata.com.

Configure in Claude Desktop / Claude Code

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "cardshowdata": {
      "command": "uvx",
      "args": ["cardshowdata-mcp"],
      "env": {
        "CSD_API_KEY": "your_api_key"
      }
    }
  }
}

Restart Claude Desktop. The 14 tools below become available immediately.

Tools

Tool What it does
search_cards Search cards by name, optional 2-letter TCG filter (pk, mt, lc, op, dg, ...)
get_card Full card detail by pretty_id (e.g. pk_bs_004) or csd_product_id UUID
get_pricing Latest per-variant pricing in USD cents
get_grading Graded prices (PSA, BGS, CGC, SGC, TAG, AGS, ACE) with high/median/low
get_pricing_history Daily price snapshots, per-variant time series
get_lifecycle Per-variant first/last seen, peak, decay half-life
get_pricing_changes Variants with significant price movement since a given timestamp
get_ebay_sales Recent eBay sold listings for a graded card
list_tcgs Every TCG with tcg_slug, tcg_code, product/set counts
list_sets Sets/expansions for a TCG with set codes
search_catalog Quick fuzzy product search across every TCG
refresh_population Trigger an on-demand grading population refresh (Pro+)
get_usage Caller's rate limits and current daily/monthly usage
explain_api_error Human-readable explanation for any of the 40 stable error codes

Configuration

Env var Default What it does
CSD_API_KEY (required) API key from your CardShowData dashboard
CSD_BASE_URL https://api.cardshowdata.com Override for staging or self-hosted

Notes

  • All prices are integer cents (market_price_cents, recommended_list_price_cents, etc.). Cardmarket entries are EUR; everything else is USD — distinguished by the currency field.
  • Pricing is per-variant. A Base Set Charizard's 1st-edition holofoil and unlimited holofoil have very different fair values; always inspect every entry in variants[].
  • Errors use a stable envelope ({error: {type, code, message, status, request_id, doc_url, details}}). Pass error.code to explain_api_error for handling guidance.

Develop locally

git clone https://github.com/cardshowdata/cardshowdata
cd cardshowdata/packages/mcp
uv sync
uv run pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cardshowdata_mcp-1.0.1.tar.gz (51.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cardshowdata_mcp-1.0.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file cardshowdata_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: cardshowdata_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 51.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for cardshowdata_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7609003446f97034f85187e7dd1a35aa86a70ced74d94d1c688085c797103805
MD5 818a3e4f3d013f49a6f1078fb6acfa77
BLAKE2b-256 4782838bd7450bad850fdf8461ff2d36a7004161ac57462a725b2ec989265f34

See more details on using hashes here.

File details

Details for the file cardshowdata_mcp-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cardshowdata_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35352230ba138006e3b4f75b65f0c75167bb5ee1a6efeaef8d9434d0c739114a
MD5 b69efbccca3f1092b61a34eab8a6243f
BLAKE2b-256 95e42f7f0a9495d84367e6e5e0d99a2752025b36d9c1de7b78d466eed4491655

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page