原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Pokémon TCG API

作者:pokemontcgapi版本 0.1.10i★ –i在你的电脑上运行
注册名称com.pokemontcgapi/mcp

安装

概览

作者提供的说明(英文原文)

English, Japanese and Chinese Pokémon cards: search, sets, illustrators, prices, photo lookup.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 设计、图片与音频
  • 你需要填写:PTCG_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: PTCG_API_KEY, PTCG_BASE_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "pokemontcgapi": {
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/mcp"
      ],
      "env": {
        "PTCG_API_KEY": "your-value",
        "PTCG_BASE_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add pokemontcgapi --env PTCG_API_KEY=your-value --env PTCG_BASE_URL=your-value -- npx -y @pokemontcgapi/mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pokemontcgapi": {
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/mcp"
      ],
      "env": {
        "PTCG_API_KEY": "your-value",
        "PTCG_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pokemontcgapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/mcp"
      ],
      "env": {
        "PTCG_API_KEY": "your-value",
        "PTCG_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • PTCG_API_KEY 机密 必填 env
    API key for pokemontcgapi.com, needed by every tool but ptcg_get_reference. POST /v1/accounts/free returns one without a dashboard or a card.
  • PTCG_BASE_URL env
    Override the API base URL. Defaults to https://api.pokemontcgapi.com.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 pokemontcgapi.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“设计、图片与音频”中的其他服务器比较i

  • 星标数多于此分类中其他 2199 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2199 个服务器的 81% 更新
  • 基础检查结果等于或优于此分类中其他 2199 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Pokémon TCG API 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:PTCG_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.10)于7天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

在你的电脑上运行★ 16,165MIT5个月前更新
安装

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

在你的电脑上运行★ 2,284MIT2个月前更新
安装

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

在云端运行★ 2,15213个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@pokemontcgapi/mcp

An MCP server for the Pokémon TCG API at pokemontcgapi.com. It gives an agent thirteen tools over the whole catalogue: international, Japanese and Simplified Chinese print lines, card names in eight locales, illustrators, images, and prices that carry their source, basis, grade and sample size. The current counts are live at /v1/status and broken down on coverage.json.

Unofficial. Not produced, endorsed, supported by or affiliated with Nintendo, Creatures Inc., GAME FREAK inc. or The Pokémon Company International. Pokémon and all related marks are trademarks of their respective owners.

Get a key

Generate the Idempotency-Key once per signup and keep it with the request body:

IDEM=$(uuidgen)
curl -s -X POST "https://api.pokemontcgapi.com/v1/accounts/free" \

-H "Content-Type: application/json" \ -H "Idempotency-Key: $IDEM" \ -d '{"email":"you@example.com"}'

Lost the response? Repeat the exact same request (same Idempotency-Key, same body byte for byte, same network: same public IPv4 or the same IPv6 /64) within 24 hours and the response comes back, if stored, secret included; it is the original response, so a key rotated or revoked since then is not revived. A new Idempotency-Key for the same email returns 409 ACCOUNT_EXISTS; the same key with a different body returns 409 IDEMPOTENCY_CONFLICT.

We store only a hash of the key; the signup response is kept for 24 hours so the same request can be replayed. Save data.key.secret now.

If replay is unavailable, sign in and rotate the key, or use /v1/accounts/recover with an already verified email to get a new secret.

The key comes back in data.key.secret. Confirming the address we email raises the trial from 80 to 800 credits, and the trial ends 30 days after signup. Paid plans start at 29 EUR a month: pricing.

Install

Claude Code:

claude mcp add pokemontcgapi --env PTCG_API_KEY=your-key -- npx -y @pokemontcgapi/mcp

Claude Desktop — claude_desktop_config.json:

{

"mcpServers": { "pokemontcgapi": { "command": "npx", "args": ["-y", "@pokemontcgapi/mcp"], "env": { "PTCG_API_KEY": "your-key" } } } }

Cursor — .cursor/mcp.json:

{

"mcpServers": { "pokemontcgapi": { "command": "npx", "args": ["-y", "@pokemontcgapi/mcp"], "env": { "PTCG_API_KEY": "${env:PTCG_API_KEY}" } } } }

VS Code — .vscode/mcp.json. Note the top-level key is servers, not mcpServers, and inputs keeps the key out of the committed file:

{

"inputs": [ { "id": "ptcg-key", "type": "promptString", "description": "pokemontcgapi key", "password": true } ], "servers": { "pokemontcgapi": { "command": "npx", "args": ["-y", "@pokemontcgapi/mcp"], "env": { "PTCG_API_KEY": "${input:ptcg-key}" } } } }

Environment: PTCG_API_KEY, needed by twelve of the thirteen tools, and PTCG_BASE_URL (defaults to https://api.pokemontcgapi.com). Node ≥ 20. The exception is ptcg_get_reference, which reads a public route. ptcg_get_catalogue_status is not an exception: it starts on the public /v1/status and then reads one set per print region, which needs the key. Without it the server starts and lists its tools, then those twelve calls come back asking for it.

The tools

Thirteen tools, not one per endpoint. tools/list sits in the model's context on every turn, so the whole surface is about 13 KB, and each tool is shaped like a question rather than like a route — the model does not have to chain four calls to answer one thing.

ToolAnswers
ptcg_search_cards"Charizard cards from Japanese sets", by name, set, region, rarity, artist or release window
ptcg_get_cardsUp to 100 ids in one call; base1-4 and bs-4 both resolve
ptcg_get_card_pricesEvery current observation for a card, with printing, grade, as_of and sample_n
ptcg_list_sets"Every Japanese set released in 2024"
ptcg_get_referenceThe exact strings for types, supertypes and rarities, so filters are not guessed
ptcg_list_artistsIllustrators and how many cards each drew
ptcg_get_catalogue_statusWhat the catalogue does and does not contain, measured live
ptcg_search_sealedBooster boxes, packs, ETBs, tins, blisters and collections by name, set, kind or language, with the languages each exists in and its euro index. 1 credit per 50 rows
ptcg_get_sealed_pricesEvery current observation for one sealed product, with the language the box is printed in and its as_of. 3 credits
ptcg_measure_centeringPhoto of one face to ratios, uncertainty and geometry. 25 credits; needs-review without ceilings is expected
ptcg_grade_centeringCentering-only ceilings from known face/axis ratios. 1 credit
ptcg_get_centering_standardsPSA/BGS/CGC/SGC thresholds, source status and URLs. 1 credit
ptcg_identify_card_from_image"Which card is this a photo of?" — ranked candidates, and an explicit refusal when reprints share the artwork. 25 credits a call, and included from the Growth plan up

Every tool is annotated readOnlyHint: true and destructiveHint: false. Nothing here writes. ptcg_identify_card_from_image and the three centering tools are marked idempotentHint: false: each invocation consumes credits. Do not retry paid work automatically.

Centering is included on Growth and higher; Developer is excluded. A verified Free trial includes 5 measure and 5 confirm calls, independently. Grade and standards have no separate trial call counter. Measure accepts base64 image bytes, explicit front/back face, optional standard/small card_size and corrected corners (TL, TR, BR, BL in EXIF-oriented pixels reduced to longest edge <=2560 px). It returns ratios, uncertainty and editable geometry; needs-review with null ceilings is expected. After correcting corners with another measure, a person checks or moves cut and print lines in the app. Grade ceilings arrive after that app calls confirm, or from known ratios through grade.

There is deliberately no confirm tool. An assistant cannot assert that a person reviewed the lines. Only the app collecting that person's explicit acceptance may send confirmed_by: person. Always display ceiling from centering alone, not a prediction of the final grade. Never label a result verified or certified. Keep source status, incomplete flags and uncertainty visible. See the two-step guide.

Commercial refusals put next_step.handoff on the first line of the tool result, followed by the API message and complete details. Show that sentence and its URL to the account owner verbatim and do not retry. The owner completes checkout, email verification or the contact step. CARD_ALLOWANCE_EXCEEDED is one of them: the period has retrieved its distinct-card allowance (1,000 for the trial, 30,000 a month on Developer); cards already retrieved keep answering, new ones need the next period or Growth.

Importing a card catalogue

For a complete card import, use the REST API directly: GET /v1/cards?limit=250&orderBy=id, then follow links.next verbatim. The flat list fills pages across set boundaries and uses fewer requests than a separate card loop for every set. Add include=translations for names at the plain catalogue cost. Priced includes have separate tariffs. For a single print region, add q=set.region:JP or q=set.region:CN; lang only selects a name translation. Use /v1/sets/{code}/cards when you need a particular set and /v1/sets?region=JP to browse set metadata.

The quickstart contains both paging loops and dated measurements. The migration guide explains how to capture a change feed watermark before importing and maintain the replica afterwards. The MCP search tool is intended for bounded interactive searches; its region argument is sent to the API as set.region:JP (or CN, WEST), so a Japanese search reads Japanese rows only. Use REST for a complete import.

What this API does not have

The last tool exists because of this section, and it returns these facts from a live call rather than leaving a model to infer them:

  • No Korean cards. Zero KR sets and zero ko translations. The print region and the locale are modelled in the schema and carry no data, so filtering on them returns an empty result, not an error.
  • Card game text is English, and uneven. attacks, abilities, weaknesses, resistances, subtypes, retreat_cost, rules and flavor_text carry rows since 3 September 2026, on the 20,725 Western printings. Measured on 16 September 2026 against 57,450 cards: attacks on 29.9% of the whole catalogue and 82.9% of the Western part, subtypes 35.0%, weaknesses 28.0%, flavor_text 17.9%, abilities 7.0%, rules 5.1%. Japanese and Chinese printings carry none, so a null attacks means we do not hold it, never that the card has no attack.
  • No format legalities. The card object carries no legalities field, and level is empty. If the question is about deck legality, this API cannot answer it.

All three are measured, dated in the source, and repeated verbatim in the tool descriptions, so an agent is told before it calls rather than after.

Reading prices correctly

There is no printing filter. First Edition, Unlimited, holofoil, reverse holofoil and graded rows all come back together, so read printing, condition and grading on each row rather than taking the first number. basis separates GUIDE (published upstream) from DERIVED (computed by us); PTCG_INDEX is our own composite in EUR and carries sample_n. Every observation has an as_of date and is delayed by at least a day — never quote a price without it.

What the plan withholds is named rather than hidden: graded and non_english_locales for a trial key, graded on Developer, nothing from Growth up. The API says so in meta.withheld on the prices route, in the X-Plan-Withheld header when prices ride on a card, and in a top-level withheld field on the batch. So a card with no graded rows may be the plan speaking, not the catalogue.

For ptcg_get_cards, the API's missing field is authoritative when present, including its suggested_id values. The tool keeps its existing missing array of strings and adds missing_details, an array of { id, suggested_id? }; the text also shows each suggestion. If the API omits missing, the tool falls back to comparing requested ids with returned id and legacy_id, ignoring case and repeated ids. This supports older API versions without another request, but cannot discover their unreported canonical-set collisions or suggestions. The current API omits missing when every id resolves, so that fallback then returns an empty array. ptcg_get_card_prices reads a card with its prices, so the exclusions arrive in that header.

Sealed products

/v1/sealed carries booster boxes, booster packs, elite trainer boxes, tins, blisters and collections across the international, Japanese and Simplified Chinese lines. Each product carries languages, the languages it physically exists in; the Simplified Chinese line, 273 products added on 30 October 20

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx