Search for products and compare prices at Coles and Woolworths supermarkets in Australia.
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.
https://github.com/user-attachments/assets/0af3b07a-578a-4112-acfe-e7a7eee31161
git clone https://github.com/hung-ngm/coles-woolworths-mcp-server.git
cd coles-woolies-mcp
Install the prerequisites
Configure your MCP client to use this server (see Integrating with MCP Clients)
uv
package manageruv is a fast Python package installer and resolver. To install:
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uv
to install dependencies:# Install dependencies
uv pip install fastmcp requests python-dotenv
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.
To run the Coles and Woolworths MCP server directly using uv
:
uv run main.py
By default, the server runs with stdio transport for MCP client integration.
To use the Coles and Woolworths MCP server with Claude Desktop:
claude_desktop_config.json
)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.
To integrate with Cursor IDE:
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"
]
}
}
}
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 supermarketsYou 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.
An MCP server for the Context7 project, providing HTTP streaming and search endpoints for library information without local installation.
An MCP server that connects to Perplexity's Sonar API, enabling real-time web-wide research in conversational AI.
Convert city names and locations into latitude and longitude coordinates using the free OpenStreetMap Nominatim API. No API key is required.
Interact with the Haloscan SEO API for search engine optimization tasks.
An MCP server for expert discovery, registration, and context injection, utilizing vector and graph databases.
Perform conversational searches with the Perplexica AI-powered answer engine.
An MCP server for web and similarity search, designed for Claude Desktop. It integrates with various external embedding and API services.
Search and analyze classical Japanese literature using the Genji API, with advanced normalization features.
Search engine for AI agents (search + extract) powered by Tavily
Check the availability of domain names across over 50 popular TLDs using DNS and WHOIS verification.