coles-woolworths
Exposes api data
Tools
get_coles_products
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.
get_woolworths_products
Search for products at Woolworths. Args: query: The product search query. limit: Maximum number of products to return.
README
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.
<a href="https://glama.ai/mcp/servers/@hung-ngm/coles-woolworths-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@hung-ngm/coles-woolworths-mcp-server/badge" alt="coles-woolworths MCP server" /> </a>
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
- Clone this repository
git clone https://github.com/hung-ngm/coles-woolworths-mcp-server.git
- Navigate to the project directory
cd coles-woolies-mcp
-
Install 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 | sh
Windows:
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-dotenv
Configuration
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.py
By 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.)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.