ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

TCG MCP

โดย seanlokรุ่น 0.4.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.seanlok/tcg-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Pokemon TCG MCP server: PSA grading, collection management, and multi-provider pricing.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เกม กีฬา อาหาร และการเรียน
  • ต้องใส่ค่าเหล่านี้: PSA_API_TOKEN, POKEMONTCG_API_KEY, PRICECHARTING_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "tcg": {
      "command": "uvx",
      "args": [
        "tcg-mcp"
      ],
      "env": {
        "PSA_API_TOKEN": "ใส่ค่าของคุณ",
        "POKEMONTCG_API_KEY": "ใส่ค่าของคุณ",
        "PRICECHARTING_TOKEN": "ใส่ค่าของคุณ",
        "TCG_DB_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add tcg --env PSA_API_TOKEN='ใส่ค่าของคุณ' --env POKEMONTCG_API_KEY='ใส่ค่าของคุณ' --env PRICECHARTING_TOKEN='ใส่ค่าของคุณ' --env TCG_DB_PATH='ใส่ค่าของคุณ' -- uvx tcg-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "tcg": {
      "command": "uvx",
      "args": [
        "tcg-mcp"
      ],
      "env": {
        "PSA_API_TOKEN": "ใส่ค่าของคุณ",
        "POKEMONTCG_API_KEY": "ใส่ค่าของคุณ",
        "PRICECHARTING_TOKEN": "ใส่ค่าของคุณ",
        "TCG_DB_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "tcg": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tcg-mcp"
      ],
      "env": {
        "PSA_API_TOKEN": "ใส่ค่าของคุณ",
        "POKEMONTCG_API_KEY": "ใส่ค่าของคุณ",
        "PRICECHARTING_TOKEN": "ใส่ค่าของคุณ",
        "TCG_DB_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • PSA_API_TOKEN ความลับ env
    PSA Public API bearer token. Get one at https://www.psacard.com/publicapi. If unset, PSA tools are disabled but other tools (Pokemon TCG API, collection, watchlist) still work.
  • POKEMONTCG_API_KEY ความลับ env
    Pokemon TCG API key (optional). Without it the provider still works at a lower rate limit. Free key: https://dev.pokemontcg.io/
  • PRICECHARTING_TOKEN ความลับ env
    PriceCharting API token (paid subscription required). Enables graded-card pricing.
  • TCG_DB_PATH env
    Where to put the local SQLite database. Default: ~/.tcg-mcp/tcg.db

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub seanlok ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เกม กีฬา อาหาร และการเรียนi

  • ดาวมากกว่า 0% ของอีก 1311 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 7% ของอีก 1311 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1311 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

TCG MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: PSA_API_TOKEN, POKEMONTCG_API_KEY, PRICECHARTING_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 6 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Christian Pure, ReversePort, Reelist

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Christian Pure

Read-only lookup of articles, prayers, Bible verses and courses. No account. Run by Christian Pure.

โดย christianpure.comเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ christianpure.com

ReversePort

Reverse engineer and port apps and games: Godot, Unity IL2CPP, .NET, binaries, with parity checks.

โดย laaielichterเริ่มต้น↓ 1.7K/สัปดาห์อัปเดต วันนี้

รันบนเครื่อง

Reelist

Your film diary: log and rate films, search what you've watched, keep a watchlist and see stats.

โดย reelist.appเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ reelist.app

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

tcg-mcp

A Pokemon TCG MCP server. Looks up graded cards (PSA today, CGC/BGS

stubbed), manages your owned collection in a local SQLite DB, queries

pricing providers (Pokemon TCG API + PriceCharting), tracks a watchlist

with target prices, and snapshots PSA pop counts so you can see trends

over time.

tcg-mcp is a Model Context Protocol server. Install it once, wire it into Claude Desktop / Claude Code / Cursor / any MCP client, and your assistant gains 25 tools for working with PSA cert data, your personal collection, and live market prices.


What it does — 25 tools, namespaced

**PSA grading (tcg_psa_*)** — cert lookup, front/back images, snapshot pop data over time, plus a workflow tool that looks up a cert and records it as owned in one call.

**CGC / BGS (tcg_cgc_*, tcg_bgs_*)** — stubs in v0.2; no public API exists for either grader. Listed for routing parity; will route cleanly if either grader publishes an API.

**Collection (tcg_collection_*)** — add raw or graded cards (or sealed products: ETBs, booster boxes, UPCs, tins), list with filters, update cost basis, soft-delete (mark sold) or hard-delete, attach a card to a pricing listing, get a cost-basis summary or a live market valuation that joins against the most recent pricing snapshots.

**Pricing (tcg_pricing_*) — search a provider, get a full price quote (top-level market/low/high plus per-variant breakdown for Pokemon TCG API, plus per-grade levels for PriceCharting), persist snapshots into the local DB, bulk-snapshot every attached card in one call with per-provider rate-limit awareness, and query historical snapshots** as a time series for trend analysis.

**Watchlist (tcg_watchlist_*)** — add target buy prices with thesis text, list by horizon (flip / hold / sealed), update, and close with a reason (bought / thesis_invalidated / manual).

Meta (`tcg_list_providers`) — discovery tool that shows which grading + pricing providers are enabled, what env var each needs, and what tools are in the namespace.

For the full tool list run tcg_list_providers after install or read the architecture doc.


Prerequisites

  1. Python 3.10 or newer (3.13 recommended).
  2. An MCP client — Claude Desktop, Claude Code, Cursor, Continue, etc.
  3. *(Optional, for PSA tools only)* A PSA Public API token — free, sign up at psacard.com/publicapi.

The server works without any tokens — Pokemon TCG API queries, collection, and watchlist tools all function on a fresh install with zero credentials.


Install

Option A — uvx (recommended, zero install)
# install uv if you don't have it

curl -LsSf https://astral.sh/uv/install.sh | sh

run the server (auto-installs the package on first use)

uvx tcg-mcp --help

Option B — pipx
pipx install tcg-mcp

tcg-mcp --help

Option C — pip
python3 -m pip install tcg-mcp
Option D — from source (for contributors)
git clone https://github.com/seanlok/tcg-mcp.git

cd tcg-mcp python3 -m venv .venv source .venv/bin/activate pip install -e ".[dev]" pytest # run the test suite


Configure

Copy .env.example to .env and fill in any tokens you have:

cp .env.example .env

$EDITOR .env

Or set the env vars however your client supports it (most clients let you specify env per MCP server in the config).

Env varRequired forNotes
PSA_API_TOKENPSA toolsGet one — free
POKEMONTCG_API_KEYHigher Pokemon TCG API rate limit (optional)Get one — free
PRICECHARTING_TOKENPriceCharting toolsPaid subscription required
TCG_DB_PATHLocal DB locationDefault ~/.tcg-mcp/tcg.db

Wire it into your MCP client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows), or ~/.config/Claude/claude_desktop_config.json (Linux):

{

"mcpServers": { "tcg-mcp": { "command": "uvx", "args": ["tcg-mcp"], "env": { "PSA_API_TOKEN": "your-token-here", "TCG_DB_PATH": "~/Documents/tcg-mcp.db" } } } }

Quit Claude Desktop fully (⌘Q on macOS — closing the window isn't enough) and relaunch.

Claude Code
claude mcp add tcg-mcp -- uvx tcg-mcp

Then export the tokens you have in the shell that runs claude.

Cursor / Continue / etc.

Same shape — point the client at:

command: uvx

args: ["tcg-mcp"] env: PSA_API_TOKEN=... # optional


Smoke-test it

After wiring up the client, ask it:

"Use tcg-mcp to list providers."

You should see pokemontcg enabled, plus psa enabled if your token is set, and stubs for the others.

Then try a real lookup:

"Search Pokemon TCG API for Charizard ex from Obsidian Flames."

"Add a 1999 Pokemon Base Set Charizard #4 (raw) to my collection — paid $250 on 2026-04-15."

"Add Charizard ex Surging Sparks to my watchlist with a target buy price of $180."

"What's my collection cost basis?"


Architecture, briefly

+----------------------+

| MCP client | Claude Desktop, Cursor, etc. +----------+-----------+ | stdio (JSON-RPC) +----------v-----------+ | server.py | FastMCP — tool registration, validation +----------+-----------+ | +-------+-------+----------------+ | | | +--v--+ +--v--+ +----v----+ | psa | ... |pricing| | storage | SQLite — collection, +--+--+ +--+----+ +----+----+ watchlist, pop trends, | httpx | httpx | pricing snapshots +--v---------------v----+ +----v----+ | PSA / Pokemon TCG | | tcg.db | | API / PriceCharting | +---------+ +-----------------------+

Provider abstractions (providers/base.py, pricing/base.py) make adding a new grader or pricing source a single-file change. See docs/adding-a-provider.md.


Local SQLite database

All your personal data — collection, watchlist, pricing snapshots, pop snapshots — lives in a single SQLite file. Default location is ~/.tcg-mcp/tcg.db. Point TCG_DB_PATH at any path you prefer.

The file format is plain SQLite, so you can inspect or back up the data directly:

sqlite3 ~/.tcg-mcp/tcg.db

.tables SELECT subject, grade, acquisition_price FROM owned_cards WHERE status='owned';

Schema is in src/tcg_mcp/storage/schema.sql. Migrations are forward-only and idempotent (safe to run on every startup).


Known limits

  • PSA images only exist for cards graded after October 2021. Older slabs return an empty image list — that's the upstream API, not a bug.
  • PSA's `Brand` field is the closest thing to a clean "set name" in their schema. We surface it as set_name; for finer-grained set parsing, reach into the raw payload.
  • CGC / BGS providers are stubs in v0.2. They're listed for discovery but raise NotSupportedError if called. Implementation depends on either grader publishing a public API or an explicit decision to support polite scraping.
  • Rate limits on the PSA free tier aren't publicly documented. If you see "PSA API rate limit exceeded", wait or upgrade your plan.
  • PriceCharting is paid-only. Without a PRICECHARTING_TOKEN the provider is registered as disabled and graded-card prices aren't available — but Pokemon TCG API still gives you raw market prices.

Roadmap

Standing constraint: every milestone below has a free path as the

default. Paid providers (GemRate, eBay Marketplace Insights, etc.) stay

optional add-ons that activate only when their key is configured.

  • ✅ v0.3 — shipped: tcg_pricing_snapshot_collection, tcg_pricing_get_history, rounded per-item valuation, clearer PSA 429 error message, CHANGELOG.md.
  • ✅ v0.4 — shipped: Catalog tools (tcg_catalog_*) backed by Pokemon TCG API, tcg_collection_set_completion with watchlist intersection, richer tcg_collection_search, smart-routed tcg_pricing_get_card.
  • v0.5 — CGC support (free path: polite scraping; optional paid GemRate).
  • v0.6 — BGS support (free path: polite scraping; optional paid GemRate).
  • v0.7 — eBay sold comps (free path: eBay Browse API + scraping; optional paid Marketplace Insights API).

See CHANGELOG.md for the full version history.


Contributing

Contributions welcome. To add a new grading or pricing provider, see docs/adding-a-provider.md. The contract is intentionally small: implement a Protocol method, register it conditionally based on credentials, write a mock-httpx test.

# Run tests + lint locally

pytest ruff check .


Disclaimers

This project is independent. It is not affiliated with PSA, CGC, Beckett, The Pokemon Company, Nintendo, TCGPlayer, Cardmarket, PriceCharting, or any other organization. Each external API call is subject to that provider's Terms of Service.


License

MIT — see LICENSE.


Sources / further reading

ถาม PopNx