Superstore MCP Server
Used as a fallback browser automation method for web scraping when bearer token authentication is not available
Click on "Deploy 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., "@Superstore MCP Serverexport my last 30 days of orders to CSV"
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.
Superstore MCP Server
An MCP server for Real Canadian Superstore that extracts orders and product data with authentication.
Features
Order Management: Full order history with item details, dates, prices, images
DirectAuth: Fast bearer token authentication (no browser needed)
Data Export: Export orders to CSV or JSON for analysis
Product Discovery: Browse categories and search products
Web Content: Fetch and parse web pages
Related MCP server: hazi-hinam
Installation
Quick Install to Cursor
Note: Make sure Cursor is running before clicking the install button.
Manual Installation
# Run directly with npx
npx -y superstore-mcp@latest
# Or clone from GitHub
git clone https://github.com/ai-protocols/superstore-mcp.git
cd superstore-mcp
npm install
npm run buildConfiguration
Add to your mcp.json:
{
"superstore-mcp": {
"command": "npx",
"args": ["-y", "superstore-mcp@latest"],
"env": {
"SUPERSTORE_BEARER_TOKEN": "your-token-here"
}
}
}Getting Your Bearer Token
Log in to https://www.realcanadiansuperstore.ca
Open DevTools (F12) → Application → Cookies → www.realcanadiansuperstore.ca
Find
AccessTokencookie and copy its value (starts witheyJ)Paste into
SUPERSTORE_BEARER_TOKEN
Tokens expire after ~1 hour. Refresh by copying a new token from your browser.
Available Tools
Authentication
login - Authenticate session
{}logout - End session
{}check_auth_status - Check authentication state
{}Orders
get_orders - Get order history
{
"limit": 10,
"offset": 0
}get_order_details - Get full order with items
{
"order_id": "531900014110869"
}get_recent_orders - Filter orders by date
{
"days": 90
}export_orders_csv - Export to CSV
{
"include_items": true,
"filepath": "./orders.csv"
}export_orders_json - Export to JSON
{
"include_items": true,
"filepath": "./orders.json"
}Products
get_categories - Get all categories
{}get_products - Get products from categories
{
"category_ids": ["28251"],
"max_pages_per_category": 1
}get_category - Get single category
{
"category_id": "28251"
}get_product - Search for product
{
"category_id": "28251",
"product_name": "bread"
}search_products - Search products (alias)
{
"category_id": "28251",
"product_name": "milk"
}get_product_details - Get product details from URL
{
"product_url": "https://www.realcanadiansuperstore.ca/..."
}get_product_details_by_name - Search and get details
{
"category_id": "28251",
"product_name": "butter"
}Web Utilities
fetch_txt - Fetch web page as text
{
"url": "https://www.realcanadiansuperstore.ca"
}parse_sitemap - Parse sitemap
{
"sitemap_url": "https://www.realcanadiansuperstore.ca/sitemap_index.xml"
}Example Usage
Export All Orders
// Login
await mcp.call("login", {});
// Export with full item details
await mcp.call("export_orders_csv", {
"include_items": true,
});Analyze Spending
// Get recent orders
const orders = await mcp.call("get_recent_orders", { "days": 90 });
// Get details for each
for (const order of orders.orders) {
const details = await mcp.call("get_order_details", {
"order_id": order.id,
});
console.log(`${order.id}: ${details.items.length} items`);
}Architecture
DirectAuth: Uses bearer token from browser (recommended)
API Integration: Calls
api.pcexpress.ca/pcx-bffwith proper headersFallback Mode: Puppeteer browser automation if no bearer token provided
HTML Parsing: JSDOM for product pages
Documentation
License
MIT
Disclaimer
Unofficial tool. Not affiliated with Loblaw Companies or Real Canadian Superstore. Use responsibly.
Repository: https://github.com/ai-protocols/superstore-mcp\ Version: 2.0.0
This server cannot be deployed
Maintenance
Related MCP Connectors
Canadian grocery flyer deals and recipes by item, store, postal code, cuisine, or diet. No auth.
Grocery meal planning, budgets, and flyer deals for Canadian households. Auth required.
Extracts normalized product catalogs, live prices, variants, and availability from online stores.
Extracts normalized product catalogs, live prices, variants, and availability from online stores.
Related MCP Servers
- AlicenseAqualityBmaintenanceVoila.ca groceries MCP for card management, product search and order history analysis13MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search the catalog, manage a cart and usual orders, find delivery slots, and handle favorites, shopping lists, past orders, and item remarks through the store's API, with login and payment left to the user on the website.MIT
- AlicenseNot gradedqualityBmaintenanceEnables an LLM to search grocery products, compare nutrition data, manage a PC Express cart, check loyalty points and order history, and generate a checkout handoff link across Loblaws banners such as Real Canadian Superstore, No Frills, and T&T. It never places orders or submits payment.MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to securely access a personal Dutch supermarket account, including digital receipts with itemized prices, discounts and VAT, loyalty points balance, and active shopping lists, plus search for nearby stores and products in the grocery catalog.18MIT