Coles and Woolworths MCP Server
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., "@Coles and Woolworths MCP Server compare the price of Cadbury Dairy Milk chocolate at Coles and Woolworths"
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.
Coles and Woolworths MCP Server
An experimental Model Context Protocol (MCP) server implementation that allows AI assistants to search for product information from Australia's major supermarkets: Coles and Woolworths. This server exposes product search functionality through the MCP protocol, making it easy for AI assistants to retrieve product pricing and details.
Demo
Use with Claude Desktop
https://github.com/user-attachments/assets/0af3b07a-578a-4112-acfe-e7a7eee31161
Related MCP server: Woolworths MCP Server
Features
Product Search: Search for products at both Coles and Woolworths supermarkets
Price Comparison: Get pricing information from both retailers in a consistent format
Store Selection: Search specific Coles stores using store IDs
Result Limiting: Control how many products are returned in search results
Quick Start for Claude Desktop, Cursor, and other clients
Clone this repository
git clone https://github.com/hung-ngm/coles-woolworths-mcp-server.gitNavigate to the project directory
cd coles-woolies-mcpInstall the prerequisites
Configure your MCP client to use this server (see Integrating with MCP Clients)
Installation
Prerequisites
Python 3.8 or higher
The
uvpackage manager
Installing uv
uv is a fast Python package installer and resolver. To install:
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Setup
Clone the repository and navigate to the project directory
Use
uvto install dependencies:
# Install dependencies
uv pip install fastmcp requests python-dotenvConfiguration
The server uses the following environment variables:
COLES_API_KEY: API key for accessing the Coles API (required for Coles product searches)
You can set these variables in a .env file in the project directory.
Running the Server
To run the Coles and Woolworths MCP server directly using uv:
uv run main.pyBy default, the server runs with stdio transport for MCP client integration.
Integrating with MCP Clients
Claude Desktop Configuration
To use the Coles and Woolworths MCP server with Claude Desktop:
Locate your Claude Desktop configuration file (usually
claude_desktop_config.json)Add the following configuration to the
mcpServerssection:
{
"mcpServers": {
"coles-woolies-mcp": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"requests",
"--with",
"python-dotenv",
"fastmcp",
"run",
"/full/path/to/coles-woolies-mcp/main.py"
]
}
}
}Replace /full/path/to/coles-woolies-mcp/main.py with the absolute path to your main.py file.
Restart Claude Desktop for the changes to take effect
Cursor IDE Configuration
To integrate with Cursor IDE:
Open your Cursor configuration file
Add the following to the
mcpServerssection:
{
"mcpServers": {
"coles-woolies-mcp": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"requests",
"--with",
"python-dotenv",
"fastmcp",
"run",
"/full/path/to/coles-woolies-mcp/main.py"
]
}
}
}Available Tools
The Coles and Woolworths MCP server exposes the following tools:
get_coles_products: Search for products at Coles supermarkets with optional store selectionget_woolworths_products: Search for products at Woolworths supermarkets
Example Usage in Claude
You can use the tools in Claude like this:
Could you check the price of Cadbury chocolate at both Coles and Woolworths?Claude will then use the appropriate tools to search for the products and return the results.
Requirements
Python 3.8 or higher
fastmcp package
requests package
python-dotenv package
MCP-compatible client (Claude Desktop, Cursor, etc.)
Available Tools
2 toolsget_coles_productsC
Search for products at Coles.
Args:
query: The product search query.
store_id: The Coles store ID to search in.
limit: Maximum number of products to return.
Inputs: query (required), limit, store_id.
get_woolworths_productsC
Search for products at Woolworths.
Args:
query: The product search query.
limit: Maximum number of products to return.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools are partitioned cleanly by retailer (Coles vs Woolworths), so an agent can pick the right one from the user's request with no ambiguity. There is no functional overlap between them.
Both follow the same get_<retailer>_products snake_case pattern, which is predictable. The minor deviation is at the parameter level: Coles requires a store_id while Woolworths does not, breaking the symmetry an agent might expect.
Two tools is thin for a server covering two retailers — essentially one operation duplicated. It is defensible for a narrowly scoped product-search server, but sits at the borderline of usefulness.
Only search is exposed: no product detail/price lookup, no store lookup or listing, and no way to resolve the store_id that get_coles_products mandates. That missing store-discovery step is a dead end that will cause agent failures on the Coles path.
Related MCP Connectors
Search Coles, Woolworths and ALDI at once: prices, unit prices, specials, cheapest store per item.
Free, read-only price comparison for products sold in Australia. Search products, browse categories, open a product with every seller's current price (eBay Australia, Amazon, JB Hi-Fi and more), and compare two products head to head. No login or API key. Answers come from Lianex's cached catalogue, so they are fast and never place an order or change anything. Docs: https://lianex.ai/developers
Product search for AI shopping agents: prices and buy links from big retailers. No key needed.
Live prices, specials and unit prices from Coles, Woolworths, ALDI Australia and Woolworths NZ.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides grocery price and nutritional information search capabilities, allowing AI agents to search for food products, compare prices, and analyze nutritional content across different grocery stores.1-
- AlicenseAqualityDmaintenanceEnables interaction with Woolworths Australia's online shopping platform through browser automation and API integration. Supports product search, browsing specials, managing shopping cart, and accessing product details through natural language.1218GPL 3.0
- AlicenseAqualityDmaintenanceEnables AI assistants to track global food prices, search products by barcode or name, and compare costs across 27 countries. It provides tools for real-time price scraping and data aggregation from major international supermarket chains.84MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and comparing products from Woolworths and Coles supermarkets.MIT