French Grocery

v0.1.1
io.github.maxime-desmarchelier/fr-grocery-mcp Checked 4 days ago Published 1 month ago

Search, compare and manage E.Leclerc Drive and Super U grocery carts without ordering.

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

list_stores Available retailers

Lists the plugged-in retailers and their capabilities (product page, store selection, minimum order, booked slot). With check: true, also checks that each session responds and shows the active store.

ParameterTypeDescription
checkbooleanquery each site (read-only)

search_products Search products

Searches the retailer's catalogue. For each product: id, label (brand and size included), price, price per kg/l/piece, availability, typed promotions (immediate, multibuy, loyalty) and best net offer.

ParameterTypeDescription
query *stringshort search term (in French), e.g. "spaghetti", "boeuf haché 5%"
store *stringretailer (see list_stores)
limitintegermaximum number of products

get_product Product details

Reads a product page: ingredient list (allergens in capitals, possible traces), allergen statement if the site provides it, and origin. Ingredients are null for a raw product (fruit, fresh meat).

ParameterTypeDescription
product_id *stringretailer product identifier (id field of search_products)
store *stringretailer (see list_stores)

get_cart Read the cart

Reads the retailer's actual cart: lines (id, label, quantity, line total, unit price) and total.

ParameterTypeDescription
store *stringretailer (see list_stores)

get_order_conditions Order conditions

Reads, for one retailer or all of them (store omitted), the selected store, the booked slot, the next pickup and delivery slots (structured dates) and the minimum order. Books nothing.

ParameterTypeDescription
storestringretailer; omitted = all of them, one after the other

add_to_cart Add to cart

Adds units of a product on top of those already present, then reads the cart back to confirm.

ParameterTypeDescription
product_id *stringretailer product identifier (id field of search_products)
store *stringretailer (see list_stores)
quantityintegersale units to add

set_quantity Set a quantity

Sets a product's quantity in the cart (replaces the current one; 0 removes the product), then reads the cart back.

ParameterTypeDescription
product_id *stringretailer product identifier (id field of search_products)
quantity *integerdesired final quantity
store *stringretailer (see list_stores)

remove_from_cart Remove from cart

Removes a product from the cart entirely, then reads the cart back.

ParameterTypeDescription
product_id *stringretailer product identifier (id field of search_products)
store *stringretailer (see list_stores)

find_stores Find a store

The retailer's stores around a postcode or town, nearest first (if the retailer supports it, see list_stores).

ParameterTypeDescription
query *stringpostcode or town, e.g. "75011"
store *stringretailer (see list_stores)

set_store Select the store

Selects the retailer's active store among the find_stores results and remembers it. The site session must be on this store: on "session expired", open it on the site.

ParameterTypeDescription
store *stringretailer (see list_stores)
store_id *stringid field of find_stores

compare_carts Compare carts

Reads each retailer's cart: total, lines, minimum order and missing amount, next slots. Sorted from cheapest to most expensive.

ParameterTypeDescription
modestringtargeted fulfilment mode