coles-woolworths-mcp-server
Documentation
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
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
1. Clone this repository
git clone https://github.com/hung-ngm/coles-woolworths-mcp-server.git2. Navigate to the project directory
cd coles-woolies-mcp3. Install the prerequisites
4. Configure your MCP client to use this server (see Integrating with MCP Clients)
Installation
Prerequisites
1. Python 3.8 or higher
2. The `uv` package 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
1. Clone the repository and navigate to the project directory
2. Use `uv` to 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:
1. Locate your Claude Desktop configuration file (usually `claude_desktop_config.json`)
2. Add the following configuration to the `mcpServers` section:
{
"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.
3. Restart Claude Desktop for the changes to take effect
Cursor IDE Configuration
To integrate with Cursor IDE:
1. Open your Cursor configuration file
2. Add the following to the `mcpServers` section:
{
"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 selection
- `get_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.)
Frequently asked questions
What is coles-woolworths-mcp-server?
coles-woolworths-mcp-server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install coles-woolworths-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is coles-woolworths-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/hung-ngm/coles-woolworths-mcp-server and has 15 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP