About Uk Grocery CLI
Uk Grocery CLI is an MCP server published by abracadabra50 in the Search category: cLI, MCP and Skills for the world's supermarkets. Search, compare, basket and checkout across 9 providers in 6 countries — UK, Netherlands, Belgium, Spain, US, Canada. Built for AI agents. Conduid read 22 tools from its source: grocery_basket_add, grocery_basket_add_batch, grocery_basket_clear, grocery_basket_remove, grocery_basket_update, grocery_basket_view and 16 more. It is published to npm as open-supermarkets and starts with npx.
The repository has 144 stars and 39 forks, is licensed MIT, and its last commit was on 4 Nov 2026. The latest release is v3.0.0 (11 Aug 2026): One CLI, MCP server and skill layer for supermarket search and shopping across 9 providers in 6 countries. It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include automation, groceries, meal-planning, ocado, sainsburys and shopping.
Install
claude mcp add uk-grocery-cli -- npx -y open-supermarketsnpx -y open-supermarketsgit clone https://github.com/abracadabra50/open-supermarketsTools (22)
grocery_basket_addAdd a product to the shopping basket at a supermarket.| Parameter | Type | Description |
|---|---|---|
| amend | any | |
| product_id * | string | Product ID from search results |
| provider | any | |
| quantity | number | Quantity to add (default: 1) |
grocery_basket_add_batchAdd MANY products to the basket in one call. Use after grocery_search_batch. Adds run sequentially and each result reports success individually, so a single bad id does not lose the rest.| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| provider | any |
grocery_basket_clearClear all items from the shopping basket. This cannot be undone.| Parameter | Type | Description |
|---|---|---|
| amend | any | |
| provider | any |
grocery_basket_removeRemove a product from the shopping basket.| Parameter | Type | Description |
|---|---|---|
| amend | any | |
| product_id * | string | Product or item ID to remove |
| provider | any |
grocery_basket_updateUpdate the quantity of an item already in the basket.| Parameter | Type | Description |
|---|---|---|
| amend | any | |
| item_id * | string | Item ID in the basket |
| provider | any | |
| quantity * | number | New quantity |
grocery_basket_viewView the current shopping basket contents and total cost at a supermarket.| Parameter | Type | Description |
|---|---|---|
| provider | any |
grocery_book_slotBook a delivery slot.| Parameter | Type | Description |
|---|---|---|
| provider | any | |
| slot_id * | string | Slot ID from grocery_slots results |
grocery_browseBrowse products in a category. Pass a category path from grocery_categories (e.g. Ocado: "/categories/fresh/12345"). Currently supported by Ocado.| Parameter | Type | Description |
|---|---|---|
| category_path * | string | Category path from grocery_categories |
| limit | number | Maximum results to return (default: 50) |
| provider | any |
grocery_categoriesList browse categories at a supermarket (shape is provider-dependent). Supported by Sainsbury's and Ocado.| Parameter | Type | Description |
|---|---|---|
| provider | any |
grocery_checkoutComplete the order and checkout. Use dry_run=true to preview without placing the order.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Preview without placing order (default: true) |
| provider | any |
grocery_compareCompare a product across all supermarkets to find the best price. Searches Sainsbury's, Ocado, and Tesco simultaneously.| Parameter | Type | Description |
|---|---|---|
| limit | number | Results per provider (default: 5) |
| query * | string | Product to compare (e.g., "semi-skimmed milk") |
grocery_favouritesList favourite / frequently-bought products for a supermarket account. Supported by Sainsbury's and Ocado.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results to return (default: 50) |
| provider | any |
grocery_favourites_searchSearch within favourite / frequently-bought products. Supported by Sainsbury's and Ocado.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results to return (default: 24) |
| provider | any | |
| query * | string | Search term (e.g., "milk", "yogurt", "bananas") |
grocery_loginLogin to a supermarket account (sainsburys, ocado, tesco). Launches a browser for authentication. tesco-hu has no scripted login: import a browser session with the CLI instead.| Parameter | Type | Description |
|---|---|---|
| email * | string | Account email address |
| password * | string | Account password |
| provider | any |
grocery_ordersView order history for a supermarket.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max orders to return (default: 10) |
| provider | any |
grocery_providersList all available supermarket providers and their login status.grocery_searchSearch a supermarket catalogue. Returns product names, prices, stock status, and IDs.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum results to return (default: 10, maximum: 100) |
| provider | any | |
| query * | string | Search term (e.g., "milk", "organic eggs", "chicken breast") |
grocery_search_batchSearch MANY products in one call. Strongly preferred over repeated grocery_search when planning meals or building a shop — thirty ingredients is one call instead of thirty. Returns lean candidates (id, name, price, size, unit price, stock) for YOU to choose between; it does not pick for you.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Candidates per query (default: 5, maximum: 100) |
| provider | any | |
| queries * | array | Product queries, e.g. ["semi skimmed milk","free range eggs"] |
grocery_slotsList available delivery slots. May use browser automation and take 10-15 seconds.| Parameter | Type | Description |
|---|---|---|
| provider | any |
grocery_statusCheck which supermarket accounts are currently logged in.ocado_regularsList Ocado recurring-shopping ("Regulars") definitions on the account.tesco_staplesTesco only: View or manage repeat-purchase staples detected from order history. Can auto-add staples to basket.| Parameter | Type | Description |
|---|---|---|
| action | string | view = show staples, update = refresh from order history, add_to_basket = add all staples to basket |
Security checks
- ✓README presentThe repository's README runs to about 1.9K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 42 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.9K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README