unofficial scraper + rest api + mcp server for pricecharting.com
works for games, consoles, and hardware
pip install -r requirements.txtcaching works out of the box with a local SQLite database (cache.db). no config needed.
- default cache TTL: 1 hour (3600s)
- search results cached for 5 minutes
- all API responses include
cached: truewhen served from cache
for a persistent remote cache, create a .env:
cp .env.example .env
# fill in your Turso DB URL and token from https://docs.turso.techset DISABLE_CACHE=1 in your environment to fetch fresh data every request.
uvicorn api:app --host 0.0.0.0 --port 8000GET /game/{slug}— prices + recent sales for games, consoles, or hardware- response includes
cached: truewhen served from cache
- response includes
GET /search?q=...— search by title
add a stdio server in lm studio settings:
- command:
/path/to/repo/run_mcp.sh - args: (empty)
search_products(query)— search games, consoles, or hardware by titleget_product_prices(slug)— current prices + volumeget_product_sales(slug, condition, limit=5)— recent sales for one condition