连接能力
jlgrimes ptcg mcp 为 AI Agent 提供什么
- Search cards by name, type, subtype, legality, and more
- View high-resolution card images
- Filter by various card attributes:
- Name (supports exact matching with `!` and wildcards with `*`)
- Subtypes (e.g., Basic, EX, GX, V, VMAX, etc.)
- Legalities (Standard, Expanded, Unlimited)
- Types (Water, Fire, Grass, etc.)
- Retreat cost
- HP
- National Pokedex numbers
- And more!
- "Show me standard-legal basic Pokemon with free retreat"
- "Find water-type Pokemon with more than 120 HP"
- "Search for cards with 'char\*' in their name"
- "Show me banned cards in Standard format"
- "Find EX Pokemon that evolve from Charmander"
- Regular search: `name:pikachu`
- Exact match: `!name:pikachu`
- Wildcard: `name:char*`
- Preserve hyphens: `name:chien-pao`
- Types: `types:water` or `-types:water` (exclude)
- Subtypes: `subtypes:basic`
- Legalities: `legalities.standard:legal`
- HP: `hp:[100 TO 200]`
- Retreat Cost: `convertedRetreatCost:0`
- `hp:[100 TO 200]` - HP between 100 and 200 (inclusive)
- `hp:{100 TO 200}` - HP between 100 and 200 (exclusive)
- `hp:[* TO 100]` - HP up to 100
- `hp:[100 TO *]` - HP 100 or higher
- Card name
- Set name
- High-resolution card image
- Card legalities
- Other card details as requested
- The MCP uses the Pokemon TCG API to fetch card data
- Images are displayed directly from the Pokemon TCG API's CDN
- All queries are case-insensitive
- Multiple filters can be combined in a single query
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
This Model Context Protocol (MCP) server allows Claude to search and display Pokemon Trading Card Game cards.
-
Update your Claude configuration file:
- Open
/Users/ABSOLUTE_PATH_HERE/Library/Application Support/Claude/claude_desktop_config.json - Add the following configuration (remove any existing MCP configurations):
{ "mcpServers": { "ptcg-mcp": { "command": "node", "args": ["ABSOLUTE_PATH_HERE/dist/index.js"] } } } - Open
-
Quit Claude:
- Open Task Manager
- Find and quit Claude completely
-
Restart Claude:
- The Pokemon TCG Card Search MCP will be automatically loaded
- You can now ask Claude questions about Pokemon cards
Once configured, you can ask Claude questions about Pokemon cards such as:
- "Show me standard-legal basic Pokemon with free retreat"
- "Find water-type Pokemon with more than 120 HP"
- "Search for Pikachu cards"
Claude will display the matching cards with their images and relevant information.
- Search cards by name, type, subtype, legality, and more
- View high-resolution card images
- Filter by various card attributes:
- Name (supports exact matching with
!and wildcards with*) - Subtypes (e.g., Basic, EX, GX, V, VMAX, etc.)
- Legalities (Standard, Expanded, Unlimited)
- Types (Water, Fire, Grass, etc.)
- Retreat cost
- HP
- National Pokedex numbers
- And more!
- Name (supports exact matching with
Here are some example queries you can try:
- "Show me standard-legal basic Pokemon with free retreat"
- "Find water-type Pokemon with more than 120 HP"
- "Search for cards with 'char*' in their name"
- "Show me banned cards in Standard format"
- "Find EX Pokemon that evolve from Charmander"
- Regular search:
name:pikachu - Exact match:
!name:pikachu - Wildcard:
name:char* - Preserve hyphens:
name:chien-pao
- Types:
types:wateror-types:water(exclude) - Subtypes:
subtypes:basic - Legalities:
legalities.standard:legal - HP:
hp:[100 TO 200] - Retreat Cost:
convertedRetreatCost:0
Use [ and ] for inclusive ranges, { and } for exclusive ranges:
hp:[100 TO 200]- HP between 100 and 200 (inclusive)hp:{100 TO 200}- HP between 100 and 200 (exclusive)hp:[* TO 100]- HP up to 100hp:[100 TO *]- HP 100 or higher
The MCP returns card information including:
- Card name
- Set name
- High-resolution card image
- Card legalities
- Other card details as requested
- The MCP uses the Pokemon TCG API to fetch card data
- Images are displayed directly from the Pokemon TCG API's CDN
- All queries are case-insensitive
- Multiple filters can be combined in a single query
社区
收藏、评分与讨论
正在载入社区数据…