gr-scraper-mcp
Tracks live board game inventory on thegamerules.com by scraping the catalogue, diffing against the last snapshot, and reporting additions/removals. Integrates with a Telegram bot for commands and notifications.
README
gr-scraper-mcp
MCP server that tracks live board game inventory on thegamerules.com. On each run it scrapes the full catalogue, diffs it against the last stored snapshot, and reports what was added and what was removed. Deployed on Render, backed by Upstash Redis, with a Telegram bot interface.
How it works
- Puppeteer launches a headless Chromium browser and visits the product listing pages
- Images, fonts, stylesheets, and tracking scripts are blocked to speed up rendering
- The scraper waits for
.nameelements to appear, then collects all game titles - The live list is compared against the snapshot stored in Redis
- Added and removed games are returned, and the snapshot is updated
MCP tool
| Tool | Description |
|---|---|
check_game_changes |
Scrape live games, diff against stored snapshot, update storage. Returns added, removed, total, stored_before. |
Telegram bot
| Command | Action |
|---|---|
/check |
Trigger a scrape and reply with what changed |
/status |
Show stored game count without scraping |
| Any other message | Treated as a /check request |
If TELEGRAM_CHAT_ID is set, the bot also pushes a notification whenever the MCP tool is called from Claude.
Environment variables
| Variable | Required | Description |
|---|---|---|
UPSTASH_REDIS_REST_URL |
✅ | Upstash Redis REST endpoint |
UPSTASH_REDIS_REST_TOKEN |
✅ | Upstash Redis REST token |
TELEGRAM_BOT_TOKEN |
✅ | Token from @BotFather |
TELEGRAM_CHAT_ID |
Optional | Chat ID for push notifications |
Setup
See DEPLOY.md for full step-by-step deployment instructions.
Local development
cp .env.example .env # fill in your credentials
npm install
npm start # requires Chromium at /usr/bin/chromium
# or set PUPPETEER_EXECUTABLE_PATH
Stack
- Runtime: Node.js 20
- MCP:
@modelcontextprotocol/sdkover HTTP (Streamable HTTP transport) - Browser: Puppeteer Core + system Chromium
- Storage: Upstash Redis
- Bot:
node-telegram-bot-api(webhook mode) - Deployment: Render (Docker, web service)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.