mcp_canadiantire
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., "@mcp_canadiantire search for camping chairs"
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.
mcp-canadiantire
A Model Context Protocol server for Canadian Tire (canadiantire.ca). It exposes the store's catalogue — product search, product detail, store-level stock and a store finder — to MCP clients such as Claude and Cursor.
Unofficial. This project is not affiliated with, endorsed by, or sponsored by Canadian Tire Corporation. It reads publicly available endpoints of canadiantire.ca for personal, noncommercial use. Respect Canadian Tire's terms of service and use responsibly.
Tools
Tool | Description |
| Product search / listings by keyword. Returns products (SKU, name, brand, model, price + sale price, rating, in-store & online stock, URL, image), total count, facets and sort options. Follows category redirects automatically. |
| Full product card by SKU: name, brand, model, description, features, images, rating/reviews, warranty, categories, specifications, and per-variant price + in-store stock with shelf/aisle location, online stock and fulfillment options. |
| In-store stock of a SKU across nearby stores, sorted in-stock first then nearest. Per store: name, address, phone, coordinates, distance, stock quantity, shelf/aisle location, pickup availability. Plus online stock. |
| Find stores nearest to a postal code or coordinates (distance-sorted with |
ct_search
Param | Type | Default | Notes |
| string | — | Search keyword (required). |
| string |
| Store id for store-specific stock/pricing. |
|
|
| Response language. |
|
|
| Sort order. |
| int |
| 1-indexed page. |
| int (1–100) |
| Results per page. |
ct_product
Param | Type | Default | Notes |
| string | — | Product code (required), e.g. |
| string | — | Postal code, e.g. |
| string |
| Store id for store-specific price/stock/shelf. Override default with |
|
|
| Response language. |
ct_store_availability
Param | Type | Default | Notes |
| string | — | Product code (required). |
| string | — | Postal code; nearby stores are taken around it (overrides |
| string |
| Reference store; nearby stores are taken around it. |
|
|
| Response language. |
| int (1–25) |
| Max number of stores to check. |
Default store: product/availability tools default to store
676(Edmonton Windermere, AB). SetCT_DEFAULT_STORE, or passstoreId/postalCode, to use your local store. Usect_storeswith a postal code to find the right store id.
ct_stores
Param | Type | Default | Notes |
| string | — | Canadian postal code, e.g. |
| number | — | Alternative to |
|
|
| Response language. |
| int (1–50) |
| Max stores to return. |
The store API geosorts by coordinates only (no postal-code search), so a postal code is first geocoded via
api.zippopotam.us(free, no key).distanceKmis returned by Canadian Tire.
Related MCP server: DigiKey MCP Server
How it talks to Canadian Tire
canadiantire.ca/api/* is gated by an Azure API Management subscription key — the
ocp-apim-subscription-key header. With that key, requests succeed over a plain Node
fetch: no cookies, no Akamai _abck, and no TLS (JA3) fingerprinting to work around
(unlike some other retailers). So this server talks to the API directly with fetch —
no curl subprocess required.
The key is a public client key embedded in the site's JavaScript. If Canadian Tire rotates
it (calls start returning 401), set a new one via the CT_SUBSCRIPTION_KEY env var —
re-scrape it from the ocp-apim-subscription-key request header of any search XHR on
canadiantire.ca.
Build & run
npm install
npm run build
npm start # runs the MCP server on stdioQuick smoke test of the search layer:
node --input-type=module -e 'import {search} from "./dist/search.js"; console.log(await search({query:"drill", pageSize:3}))'Inspect with the MCP Inspector:
npm run inspectConnecting a client
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json),
pointing at the built entrypoint:
{
"mcpServers": {
"canadiantire": {
"command": "node",
"args": ["/absolute/path/to/mcp_canadiantire/dist/index.js"],
"env": {
"CT_DEFAULT_STORE": "676",
"CT_SUBSCRIPTION_KEY": "<only if the bundled key stops working>"
}
}
}
}Both env vars are optional:
CT_DEFAULT_STORE— default store id for the product/availability tools (defaults to676, Edmonton Windermere, AB).CT_SUBSCRIPTION_KEY— overrides the bundled Azure APIM subscription key. See below.
About the subscription key
Every canadiantire.ca/api/* request needs an ocp-apim-subscription-key header. This is
a public client key embedded in the site's own JavaScript — not a personal secret — and
this server ships with a working value baked in, so it works out of the box with no setup.
If Canadian Tire rotates the key (requests suddenly start returning HTTP 401), grab a
fresh one and pass it via CT_SUBSCRIPTION_KEY:
Open https://www.canadiantire.ca and run any search.
In the browser dev tools Network tab, find a request to
/api/v1/search/v2/search.Copy the value of its
ocp-apim-subscription-keyrequest header.Set it as
CT_SUBSCRIPTION_KEY(env var or the client configenvblock above).
Project layout
src/
index.ts MCP server + tool registration (stdio)
ct.ts fetch transport for canadiantire.ca (APIM key + headers)
search.ts ct_search implementation + response mapping
product.ts ct_product + ct_store_availability (productFamily + PriceAvailability APIs)
stores.ts ct_stores (store finder + postal-code geocode → nearest)License
PolyForm Noncommercial License 1.0.0 — free to use, modify and share for noncommercial purposes. Commercial use requires a separate license from the author.
Available Tools
4 toolsct_productGet Canadian Tire product by SKUA
Fetch the full product card for a Canadian Tire SKU (product code): name, brand, model, description, features, images, rating/reviews, warranty, categories, specifications, and per-variant price (current + original/sale), in-store stock with shelf/aisle location, online stock, and fulfillment options (pickup in store, ship to home, express delivery) for a given store.
Inputs: sku (required), postalCode, storeId, lang.
ct_searchSearch Canadian TireA
Search Canadian Tire (canadiantire.ca) for products by keyword. Returns matching products with SKU, name, brand, model, price (and sale/original price), rating, in-store and online stock, URL and image, plus the total result count, available filters (facets) and sort options. Use page to paginate. When a keyword maps to a category page, categoryRedirectUrl is set.
Inputs: query (required), store, lang, sort, +2 more.
ct_store_availabilityCheck Canadian Tire store availability for a SKUA
Check in-store stock of a Canadian Tire SKU across nearby stores. Returns, per store: store name, address, phone, coordinates, distance, in-store stock quantity, shelf/aisle location, and pickup availability — sorted in-stock first, then nearest. Also reports online (Corporate) stock. Use to answer 'which store has this in stock near me'.
Inputs: sku (required), postalCode, storeId, lang, +1 more.
ct_storesCanadian Tire store finderA
Find Canadian Tire stores nearest to a postal code or coordinates, sorted by distance (with distanceKm). Each store: id, name, address, town, province, postal code, phone, coordinates, URL, services, and fulfillment eligibility (free pickup / curbside / express delivery). Use to find a store id for ct_product / ct_store_availability.
Inputs: postalCode, latitude, longitude, lang, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: ct_product fetches full product details for a specific SKU at a store, ct_search queries products by keyword, ct_store_availability checks stock across stores for a SKU, and ct_stores finds nearby stores. No overlap in functionality.
All tool names follow a consistent 'ct_' prefix followed by a descriptive noun or noun phrase: product, search, store_availability, stores. The naming pattern is uniform and predictable.
With 4 tools, the server is well-scoped for a retail product and store information domain. Each tool serves a necessary function without redundancy or gap, covering search, details, stock, and store localization.
The tool set provides a complete surface for typical Canadian Tire interactions: product search, full product card retrieval, store stock lookup, and store finder. No obvious missing operations like category browsing or list management, which are likely out of scope.
Maintenance
Related MCP Connectors
Canadian retail prices and store stock: Canadian Tire, Home Depot CA, Best Buy CA, LCBO, SAQ, more.
Walmart search, product pages and customer reviews on walmart.com and walmart.ca, as JSON.
Verify Canadian deals, find the same product cheaper across .ca retailers, track CAD price history.
Search and look up products across thousands of online stores, normalized into one schema.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Real Canadian Superstore to extract order history, browse products, and export purchase data. Supports authentication via bearer token and provides comprehensive order management and product discovery capabilities.MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching and retrieving product information from DigiKey's API, including part lookup, keyword search, product details, and pricing.-
- AlicenseAqualityDmaintenanceEnables product search, product detail, online availability, and store finder for RONA's catalogue via MCP tools.4PolyForm Noncommercial 1.0.0
- AlicenseAqualityCmaintenanceEnables searching products, retrieving product details, listing stores, checking stock availability, and comparing prices across Czech DIY retailers.5MIT