MCP Server Studio

Pokémon TCG API MCP server

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

Registry name: com.pokemontcgapi/mcp

Publisher
pokemontcgapi.com
Runs
Runs locally
Package
npm
Version
0.1.14
Category
Developer tools
Updated
2026-11-25

Source code on GitHub

Set up Pokémon TCG API (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/[email protected]"
      ],
      "env": {
        "PTCG_API_KEY": "<PTCG_API_KEY>",
        "PTCG_BASE_URL": "<PTCG_BASE_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e PTCG_API_KEY='<PTCG_API_KEY>' -e PTCG_BASE_URL='<PTCG_BASE_URL>' -- npx -y @pokemontcgapi/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/[email protected]"
      ],
      "env": {
        "PTCG_API_KEY": "<PTCG_API_KEY>",
        "PTCG_BASE_URL": "<PTCG_BASE_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/[email protected]"
      ],
      "env": {
        "PTCG_API_KEY": "<PTCG_API_KEY>",
        "PTCG_BASE_URL": "<PTCG_BASE_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@pokemontcgapi/[email protected]"
      ],
      "env": {
        "PTCG_API_KEY": "<PTCG_API_KEY>",
        "PTCG_BASE_URL": "<PTCG_BASE_URL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
PTCG_API_KEYYesAPI 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_URLNoOverride the API base URL. Defaults to https://api.pokemontcgapi.com.

More developer tools MCP servers