pricecharting-api-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pricecharting-api-mcpWhat's the current price of Charizard EX from Pokemon 151?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PriceCharting API
An SDK and REST API wrapper for PriceCharting providing structured access to pricing data across all supported categories: Pokemon, Lorcana, Magic: The Gathering, YuGiOh, Funko Pops, LEGO, Comics, and more.
Disclaimer: This SDK and REST API wrapper is an unofficial tool created for educational purposes only. It is not affiliated with, maintained, or endorsed by PriceCharting. Use of these tools may violate PriceCharting's terms of service.
Installation
npm install @deansasek/pricecharting-apiRelated MCP server: Scryfall MCP Server
SDK
The SDK provides a typed, class-based interface for programmatic access.
import { PriceChartingClient } from '@deansasek/pricecharting-api/sdk';
const client = new PriceChartingClient({ requestDelay: 500 });
// Search for products
const results = await client.search('charizard', { category: 'pokemon-cards' });
// Get full product pricing data
const product = await client.getProductPrice('pokemon-scarlet-&-violet-151', 'charizard-ex-199');
// Get product metadata
const meta = await client.getProductMeta('pokemon-scarlet-&-violet-151', 'charizard-ex-199');
// Get available categories
const categories = await client.getCategories();
// Get groups/sets within a category
const groups = await client.getGroupList('pokemon-cards');SDK Methods
Method | Description |
| Search for products by name |
| Get autocomplete suggestions |
| List all available categories |
| List groups/sets within a category |
| Full product data with prices, chart history, and population |
| Get product data from a URL |
| Product metadata only (no pricing) |
SDK Example: Product Analysis
import { PriceChartingClient } from '@deansasek/pricecharting-api/sdk';
const client = new PriceChartingClient();
async function analyzeProduct(gameSlug: string, productSlug: string) {
const result = await client.getProductPrice(gameSlug, productSlug);
if (!result.success) {
console.error('Failed to fetch product:', result.error);
return;
}
console.log(`Product: ${result.cardName}`);
console.log(`Category: ${result.category}`);
console.log(`Grades available: ${result.grades.length}`);
// Print grade prices
for (const grade of result.grades) {
console.log(` ${grade.grade}: ${grade.price}`);
}
return result;
}
analyzeProduct('pokemon-scarlet-&-violet-151', 'charizard-ex-199');REST API (Flat Functions)
Flat function exports for direct API access, identical to SDK methods.
import { search, getProduct, autocomplete } from '@deansasek/pricecharting-api';search(query, options?)
Search for products by name.
const results = await search('charizard', { category: 'pokemon-cards' });autocomplete(query, category?)
Get autocomplete suggestions.
const suggestions = await autocomplete('char', 'pokemon-cards');getCategories()
Get all available categories.
const categories = await getCategories();getGroupList(category?)
Get all groups/sets within a category.
const groups = await getGroupList('pokemon-cards');getProductPrice(gameSlug, productSlug)
Get full product data including pricing.
const product = await getProductPrice('pokemon-scarlet-&-violet-151', 'charizard-ex-199');getProductByUrl(url)
Get product data from a URL.
const product = await getProductByUrl('https://www.pricecharting.com/game/pokemon-scarlet-&-violet-151/charizard-ex-199');getProductMeta(gameSlug, productSlug)
Get product metadata only.
const meta = await getProductMeta('pokemon-scarlet-&-violet-151', 'charizard-ex-199');Other Functions
Function | Description |
| Search for products |
| Autocomplete suggestions |
| List all categories |
| List groups/sets |
| Full product pricing |
| Product from URL |
| Metadata only |
| Convenience wrapper |
REST API Server
HTTP server for network access.
Start the server
npm run dev # Development with tsx
npm run build && npm start # ProductionHTTP Endpoints
Method | Path | Description |
GET |
| Health check |
GET |
| Search for products |
GET |
| Get autocomplete suggestions |
GET |
| Get full product pricing |
GET |
| Get product by URL |
GET |
| Get product metadata only |
GET |
| List all categories |
GET |
| List groups/sets within a category |
Example Requests
# Search for Charizard cards
curl "http://localhost:3000/search?q=charizard&category=pokemon-cards"
# Get product pricing
curl "http://localhost:3000/products/pokemon-scarlet-%26-violet-151/charizard-ex-199"
# Get autocomplete suggestions
curl "http://localhost:3000/autocomplete?q=char&category=pokemon-cards"
# List Pokemon sets/groups
curl "http://localhost:3000/groups/pokemon-cards"API Response Format
All endpoints return a consistent response structure:
// Success
{
"success": true,
"timestamp": "2026-08-07T00:00:00.000Z",
// ... additional data
}
// Error
{
"success": false,
"timestamp": "2026-08-07T00:00:00.000Z",
"error": "Error message"
}Categories
PriceCharting supports multiple categories:
Category | Slug | Description |
Pokemon |
| Pokemon TCG cards |
Lorcana |
| Disney Lorcana cards |
Magic |
| Magic: The Gathering |
YuGiOh |
| YuGiOh cards |
Funko Pops |
| Funko Pop! figures |
LEGO |
| LEGO sets |
Comics |
| Comics |
MCP Server (Claude Code Integration)
The MCP server enables Claude Code to interact with PriceCharting data directly.
Installation
Claude Code automatically detects .mcp.json:
{
"mcpServers": {
"pricecharting-api-mcp": {
"command": "node",
"args": ["dist/mcp/server.js"],
"cwd": "/path/to/pricecharting"
}
}
}Available MCP Tools
Tool | Description |
| Search for products by name |
| Get autocomplete suggestions |
| Get full product pricing data |
| Get product pricing from a URL |
| Get product metadata only |
| List all available categories |
| List groups/sets within a category |
MCP Usage Examples
User: Search for Charizard cards on PriceCharting
Claude uses: pricecharting_search with query="charizard", category="pokemon-cards"
User: Get pricing for Charizard ex from Scarlet & Violet 151
Claude uses: pricecharting_product_price with gameSlug="pokemon-scarlet-&-violet-151", productSlug="charizard-ex-199"
User: What categories are available on PriceCharting?
Claude uses: pricecharting_categories
User: Show me all Pokemon sets/groups
Claude uses: pricecharting_groups with category="pokemon-cards"Development
npm run build # Compile TypeScript
npm run clean # Remove dist folder
npm run dev # Run server with tsx
npm start # Run compiled serverEnvironment
Node.js 18+ recommended (uses native fetch)
TypeScript with strict mode
ES Modules (
type: "module")Uses JSDOM for HTML parsing (no browser/Playwright needed)
License
This project is dedicated to the public domain under the Unlicense.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables product search functionality via MCP, allowing Claude to search products by keyword with filters, list categories, and retrieve product details.Last updated3
- AlicenseAqualityCmaintenanceEnables Claude to search and retrieve Magic: The Gathering card details, prices, set information, and random cards from Scryfall's database through natural language.Last updated41MIT
- Alicense-qualityCmaintenanceEnables Claude to search eBay listings, analyze price distributions, find deals, and generate market research overviews via the Model Context Protocol.Last updatedMIT
- Alicense-qualityBmaintenanceConnects Claude to Disney Lorcana card data to enrich collections, search cards, find song synergies, and analyze decks.Last updated2MIT
Related MCP Connectors
Search Rakuten Ichiba products and compare prices via Claude. Zero setup, no API key needed.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Amazon brand, seller, niche & buy-box intelligence inside your own Claude or ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deansasek/pricecharting-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server