open-supermarkets

v3.0.0
open-supermarkets Checked 6 hours ago Published 3 months ago

CLI, MCP and Skills for the world's supermarkets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

grocery_login

Login to a UK supermarket account. Required before using other tools for that provider. Launches a browser for authentication.

ParameterTypeDescription
email *stringAccount email address
password *stringAccount password
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_status

Check which supermarket accounts are currently logged in.

grocery_compare

Compare a product across all supermarkets to find the best price. Searches Sainsbury's, Ocado, and Tesco simultaneously.

ParameterTypeDescription
query *stringProduct to compare (e.g., "semi-skimmed milk")
limitnumberResults per provider (default: 5)

grocery_search_batch

Search 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.

ParameterTypeDescription
queries *arrayProduct queries, e.g. ["semi skimmed milk","free range eggs"]
limitnumberCandidates per query (default: 5)
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_basket_add_batch

Add 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.

ParameterTypeDescription
items *array
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_favourites

List favourite / frequently-bought products for a supermarket account. Supported by Sainsbury's and Ocado.

ParameterTypeDescription
limitnumberMaximum results to return (default: 50)
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_categories

List browse categories at a supermarket (shape is provider-dependent). Supported by Sainsbury's and Ocado.

ParameterTypeDescription
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_browse

Browse products in a category. Pass a category path from grocery_categories (e.g. Ocado: "/categories/fresh/12345"). Currently supported by Ocado.

ParameterTypeDescription
category_path *stringCategory path from grocery_categories
limitnumberMaximum results to return (default: 50)
providerstringSupermarket provider: sainsburys, ocado, or tesco

ocado_regulars

List Ocado recurring-shopping ("Regulars") definitions on the account.

grocery_basket_view

View the current shopping basket contents and total cost at a supermarket.

ParameterTypeDescription
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_basket_add

Add a product to the shopping basket at a supermarket.

ParameterTypeDescription
product_id *stringProduct ID from search results
providerstringSupermarket provider: sainsburys, ocado, or tesco
quantitynumberQuantity to add (default: 1)

grocery_basket_remove

Remove a product from the shopping basket.

ParameterTypeDescription
product_id *stringProduct or item ID to remove
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_basket_update

Update the quantity of an item already in the basket.

ParameterTypeDescription
item_id *stringItem ID in the basket
quantity *numberNew quantity
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_basket_clear

Clear all items from the shopping basket. This cannot be undone.

ParameterTypeDescription
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_slots

List available delivery slots. May use browser automation and take 10-15 seconds.

ParameterTypeDescription
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_book_slot

Book a delivery slot.

ParameterTypeDescription
slot_id *stringSlot ID from grocery_slots results
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_checkout

Complete the order and checkout. Use dry_run=true to preview without placing the order.

ParameterTypeDescription
dry_runbooleanPreview without placing order (default: true)
providerstringSupermarket provider: sainsburys, ocado, or tesco

grocery_orders

View order history for a supermarket.

ParameterTypeDescription
limitnumberMax orders to return (default: 10)
providerstringSupermarket provider: sainsburys, ocado, or tesco

tesco_staples

Tesco only: View or manage repeat-purchase staples detected from order history. Can auto-add staples to basket.

ParameterTypeDescription
actionstringview = show staples, update = refresh from order history, add_to_basket = add all staples to basket

grocery_providers

List all available supermarket providers and their login status.