tesco-grocery-mcp
Provides tools for interacting with Tesco's grocery APIs, enabling product search, basket management, and delivery slot booking on Tesco.com.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
tesco-grocery-mcp
An MCP server that wraps Tesco's grocery APIs, letting AI assistants like Claude search products, manage your basket, and book delivery slots.
Tools
Authentication
Tool | Description |
| Set bearer token and customer UUID from your browser session |
Search & Browse
Tool | Description |
| Search for grocery products (supports batched multi-query) |
| Get detailed info for a specific product |
| Find products on promotion or Clubcard price |
| Find alternatives for unavailable products |
| Get the department/aisle/shelf taxonomy tree |
| Get your favourite products |
| Get previous orders |
Basket
Tool | Description |
| View current basket contents |
| Add products or change quantities |
| Remove products from basket |
Delivery Slots
Tool | Description |
| View available delivery slots for a date range |
| See which weeks have delivery slots |
| Check if you have a slot booked |
| Book or unbook a delivery slot |
Related MCP server: Rohlik MCP Server
Prerequisites
Node.js >= 18
A Tesco.com account with an active grocery session
Installation
Via npx (recommended)
No installation needed — just configure your MCP client (see below).
Global install
npm install -g tesco-grocery-mcpFrom source
git clone https://github.com/GavinAttard/tesco-grocery-mcp.git
cd tesco-grocery-mcp
npm install
npm run buildConfiguration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"tesco-grocery": {
"command": "npx",
"args": ["-y", "tesco-grocery-mcp"]
}
}
}Claude Code
claude mcp add tesco-grocery -- npx -y tesco-grocery-mcpOther MCP clients
Run the server on stdio:
npx -y tesco-grocery-mcpOr if installed globally:
tesco-groceryAuthentication
The server requires a bearer token from an active Tesco.com session:
Log in to tesco.com/groceries in your browser
Open DevTools (F12) → Network tab
Find any request to
xapi.tesco.comand copy theAuthorizationheader value andx-customer-uuidheader value OR copy values from the oAUTH.ACCESSTOKEN and UUID cookiesUse the
set_auth_tokentool to provide these credentials
Credentials are persisted locally so you only need to do this when your session expires.
See .env.example for the credential format.
Shopping Skill
The skills/SKILL.md file contains an optimised execution guide that teaches AI assistants how to efficiently handle a full weekly grocery shop — from searching to basket management to delivery slot booking. You can use it as a system prompt or reference for your own workflows.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search live store shelves, verify delivery windows, and run instant AI agent checkouts.
Control your Tesla from your AI assistant - climate, charging, access, and security.
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
Enable AI assistants to interact seamlessly with Feeef e-commerce stores, products, and orders usi…
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search grocery products, manage shopping carts, retrieve account and order details, check delivery slots, and get personalized meal and frequent-item suggestions across multiple Rohlik Group platforms.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to shop groceries across Rohlik Group platforms by searching products, managing carts, and accessing account, order, delivery, and discount information.-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search grocery products, manage shopping carts, access account and order information, and get personalized shopping suggestions across multiple Rohlik Group grocery platforms.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search grocery products, manage shopping carts, view orders and delivery information, and get personalized meal and deal suggestions across multiple European grocery delivery services.MIT