saq-mcp
A Model Context Protocol server for SAQ.com that enables searching wines and spirits, tracking new arrivals, monitoring restocks, and filtering alerts by geographic area from any MCP-compatible client.
README
saq-mcp
A Model Context Protocol server for SAQ.com (Société des alcools du Québec).
Search wines and spirits, track new arrivals, monitor restocks, and filter alerts by geographic area — all from Claude or any MCP-compatible client.
Features
| Tool | Description |
|---|---|
search_products |
Full-text search with filters: category, country, region, grape, price, availability |
get_product |
Product details by SKU (country, region, grape, ABV, sugar, taste profile, rating, store count) |
get_new_arrivals |
Products sorted by arrival date, optionally filtered by category |
get_coming_soon |
Products with "Available shortly" or "Lottery soon" status |
check_store_availability |
Which stores currently carry a product |
watch_product |
Add a SKU to the restock watchlist |
unwatch_product |
Remove from watchlist |
watch_all |
Monitor the entire SAQ catalog (~35k products) for any restock |
unwatch_all |
Disable catalog-wide monitoring |
check_restocks |
Manually trigger a restock check for all watched products |
list_watched |
Show watchlist status and last snapshot |
set_location_filter |
Restrict restock alerts to stores within a radius of a city or coordinates |
clear_location_filter |
Remove geographic filter |
How it works
SAQ's website runs on Adobe Commerce with the Live Search catalog service. On first run, a headless Chromium browser intercepts an outgoing request to catalog-service.adobe.io to extract the public API key, which is then cached locally. All subsequent calls go directly to the GraphQL endpoint — no browser overhead.
Restock detection compares each product's store_availability_list (a full list of store IDs returned inline by the search API) against a saved snapshot. A restock fires when new store IDs appear or availability status improves (e.g. Sold out → In store).
Requirements
- Node.js 20+
- macOS (for the launchd agent; the MCP server itself is cross-platform)
Installation
git clone https://github.com/MonoPaul/saq-mcp.git
cd saq-mcp
npm install
npx playwright install chromium # one-time: downloads headless browser
npm run build
Add to Claude Code
Add to ~/.claude.json under mcpServers:
{
"mcpServers": {
"saq": {
"command": "node",
"args": ["/path/to/saq-mcp/dist/index.js"]
}
}
}
Schedule daily restock checks (macOS)
bash install.sh
This fills in the com.saq-mcp.watcher.plist.template with your local paths, writes it to ~/Library/LaunchAgents/, and loads it with launchctl. The watcher runs daily at 05:30 and sends a macOS notification for any restock detected.
You can also run it manually at any time:
node dist/watcher.js --notify
Geographic filtering
Restock alerts can be scoped to stores within a configurable radius:
# In Claude:
set_location_filter city="Montréal" radius_km=30
The city is geocoded using SAQ's own store directory (no external geocoding API). The filter applies to both individually watched products and the full catalog scan.
Data stored locally
All runtime data lives in ~/.saq-mcp/:
| File | Contents |
|---|---|
credentials.json |
Cached API key (extracted once from the SAQ website) |
watchlist.json |
Watched SKUs, store snapshots, location filter |
catalog-snapshot.json |
Full catalog snapshot for watch-all mode |
stores.json |
SAQ store directory with coordinates (refreshed weekly) |
restock.log |
Append-only log of every watcher run |
None of these files are committed to git.
License
MIT
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.