Skip to main content
Glama

M8ven Score

M-Connect

An unofficial client for the Migros mobile API. It comes in two parts:

  • An MCP server so Claude (or any MCP client) can search the Migros catalogue, check offers and stores, and read your own Cumulus data.

  • A local web dashboard for the same thing, in your browser.

It is not affiliated with Migros. See Legal before using it.

What you can do

Without logging in: search products with prices and filters, scan barcodes, browse offers and promotions, find stores and check stock, look up recipes.

Signed in with your Migros account: see your Cumulus points, coupons, bons and stampcards, read your digital receipts and spending, and see which coupons match the products you buy most.

It is read-only by default. Anything that changes your account needs an explicit confirm=true.

Related MCP server: ica-hub

Install

python3 -m venv .venv && source .venv/bin/activate
pip install -e '.[web]'

Log in

The login uses your own Migros credentials. The app's OAuth client secret is not in this repo; it is read at runtime from your own copy of the app, so point MIGROS_APP_LIBRARY at the app binary:

export MIGROS_APP_LIBRARY=/path/to/Payload/migros.app/Frameworks/MigrosAppLibrary.framework/MigrosAppLibrary
migros-login

This opens your browser. Log in, and you land on a www.migros.ch page whose URL contains ?code=.... Copy that full URL and paste it back when asked. Tokens are saved to ~/.migros/tokens.json.

Run

MCP server (for Claude Desktop or Claude Code):

migros-mcp

Add it to Claude Desktop in ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "migros": {
      "command": "/absolute/path/.venv/bin/migros-mcp",
      "env": { "MIGROS_APP_LIBRARY": "/path/to/MigrosAppLibrary" }
    }
  }
}

Web dashboard:

migros-web          # http://127.0.0.1:8765

Config

All optional, set as environment variables.

Variable

Default

Meaning

MIGROS_APP_LIBRARY

none

path to the app binary (loads the OAuth secret for login)

MIGROS_FIREBASE_PLIST

none

path to the app's GoogleService-Info.plist (shopping-list items)

MIGROS_LANGUAGE

de

de, fr, it, en

MIGROS_ZIP

none

postcode to shop from (sets your region and prices)

MIGROS_IMPERSONATE

off

e.g. safari18_0, if the gateway blocks plain requests (needs pip install '.[impersonate]')

Notes

  • The production gateway sits behind Cloudflare. A normal client usually gets through; if you see a 403 maintenance page, set MIGROS_IMPERSONATE or run from a different network.

  • Editing your shopping list is not possible from here. The app guards that data with Firebase App Check (device attestation), which a script cannot produce.

Tests

make test

This is an independent, personal-use project. It is not affiliated with, authorised by, or endorsed by Migros.

  • It ships no Migros code, assets, keys, or data. You use your own login, and the OAuth secret and Firebase config are read from your own copy of the app.

  • Use it with your own account only, at human scale. Do not scrape, poll, or automate at a scale a person would not.

  • You are responsible for following Migros's terms and your local law.

  • Found a security issue in Migros's app or services? Report it to Migros, not here.

  • No warranty. It may break when Migros changes its API.

"Migros" and "Cumulus" are trademarks of their owners.

License

MIT. See LICENSE.

Available Tools

105 tools
activate_bonA

Activate a Cumulus bon. Changes account state; needs confirm=true.

Inputs: bon_id (required), confirm. Returns: result

activate_couponA

Activate a Cumulus coupon by EAN. Changes account state; needs confirm=true.

Inputs: ean (required), confirm. Returns: result

add_favouriteB

Add a product to favourites. Changes account state; needs confirm=true.

Inputs: product_id (required), confirm. Returns: result

add_order_to_shopping_listA

Add every product of a past order to your shopping list. Needs confirm=true.

Inputs: order_id (required), confirm. Returns: result

add_shopping_list_itemC

Add an item to a shopping list (Firestore write). Needs confirm=true.

Inputs: name (required), list_id (required), note, confirm, +1 more. Returns: result

apple_wallet_passB

Create an Apple Wallet pass for your Cumulus card (.pkpass). Needs confirm=true.

Inputs: confirm. Returns: result

apply_voucherB

Apply a voucher/promo code to the current basket. Changes checkout; needs confirm=true.

Inputs: code (required), confirm. Returns: result

authorize_orderB

Authorise an order's payment. Requires confirm=true.

Inputs: payload (required), confirm. Returns: result

autocompleteB

Search-as-you-type: suggested terms, matching categories and top products.

Inputs: term (required). Returns: result

brand_detailC

Brand page by slug, e.g. "m-budget", "migros-bio", "v-love".

Inputs: slug (required). Returns: result

brand_productsC

Products of a brand, priced and paginated.

Inputs: slug (required), sort, limit, offset, +1 more. Returns: result

cancel_orderA

Cancel an order. Destructive; needs confirm=true.

Inputs: order_id (required), confirm. Returns: result

category_breadcrumbC

Category for a slug path, e.g. "milchprodukte-eier-frische-ferti/milch-butter-eier".

Inputs: slug (required). Returns: result

category_productsC

Products in a category (ids come from autocomplete, product breadcrumbs or store_map).

Inputs: category_id (required), page, sort, limit, +1 more. Returns: result

checkout_contextB

Checkout context (v4): basket, slot, payment, totals. Requires login.

Inputs: no named parameters. Returns: result

checkout_cumulus_bonsA

Cumulus bons that can be redeemed in the current checkout. Requires login.

Inputs: no named parameters. Returns: result

checkout_delivery_addressesB

Delivery addresses available at checkout. Requires login.

Inputs: no named parameters. Returns: result

checkout_payment_optionsC

Available payment options. Requires login.

Inputs: no named parameters. Returns: result

checkout_summaryC

Verified checkout summary. Requires login.

Inputs: no named parameters. Returns: result

checkout_timeslotsB

Available checkout timeslots. Requires login.

Inputs: no named parameters. Returns: result

complete_shopping_list_itemC

Tick (or untick) a shopping-list item (Firestore write). Needs confirm=true.

Inputs: item_id (required), list_id (required), confirm, completed. Returns: result

content_pageC

A CMS content page by id.

Inputs: page_id (required). Returns: result

cooperativesB

The Migros cooperative serving a postcode or town, e.g. "8001" -> gmzh.

Inputs: zip_or_city (required). Returns: result

credits_balanceB

Your Migros account credit balance. Requires login.

Inputs: no named parameters. Returns: result

cumulus_bonC

A single Cumulus bon. Requires login.

Inputs: bon_id (required), full. Returns: result

cumulus_bonsC

Your Cumulus bons (cash vouchers). Requires login.

Inputs: full. Returns: result

cumulus_couponB

A single Cumulus coupon by unique id. Requires login.

Inputs: unique_id (required), full. Returns: result

cumulus_couponsB

Your Cumulus coupons (activated and available). Requires login.

Inputs: full, with_preview. Returns: result

cumulus_pointsB

Cumulus points and spend for the current and previous periods. Requires login.

Inputs: full. Returns: result

cumulus_profileB

Your Cumulus profile: card number, memberships, lifestage. Requires login.

Inputs: full. Returns: result

cumulus_walletC

Wallet overview: points, and coupon / voucher / stampcard counts. Requires login.

Inputs: full. Returns: result

cumulus_wrappedB

Your Cumulus 'year in review': top products, categories, shop, savings. Requires login.

Inputs: full. Returns: result

deactivate_couponA

Deactivate a Cumulus coupon by EAN. Changes account state; needs confirm=true.

Inputs: ean (required), confirm. Returns: result

delete_messagesB

Delete inbox messages. Needs confirm=true.

Inputs: message_ids (required), confirm. Returns: result

delivery_infoC

Delivery information and cut-off times. Requires login.

Inputs: no named parameters. Returns: result

display_panelsC

Retail-media display panels for a page id.

Inputs: page_id (required). Returns: result

favouritesB

Your favourite products, priced. Requires login.

Inputs: no named parameters. Returns: result

find_storesC

Find stores by town, postcode or name (or coordinates).

Inputs: limit, query, latitude, longitude. Returns: result

fulfilment_selectionC

Delivery context for a postcode (or the guessed location): cooperative, warehouse, slot.

Inputs: zip_code. Returns: result

google_wallet_passB

Create a Google Wallet pass JWT for your Cumulus card. Needs confirm=true.

Inputs: confirm. Returns: result

google_wallet_pass_statusA

Whether your Cumulus card is saved to Google Wallet. Requires login.

Inputs: no named parameters. Returns: result

greeting_messagesA

The app's greeting texts for your cooperative (morning/afternoon/evening).

Inputs: no named parameters. Returns: result

home_layoutC

CMS home layout for guests.

Inputs: entry. Returns: result

home_productsC

The product slider on the app's home screen.

Inputs: limit. Returns: result

inboxB

Your message-center inbox (campaign messages). Requires login.

Inputs: full. Returns: result

is_favouriteA

Whether a product is a favourite. Requires login.

Inputs: product_id (required). Returns: result

label_detailC

Label (certification) page by slug, e.g. "bio-knospe".

Inputs: slug (required). Returns: result

label_productsC

Products carrying a label, priced and paginated.

Inputs: slug (required), sort, limit, offset, +1 more. Returns: result

last_orderB

Your most recently placed order. Requires login.

Inputs: full. Returns: result

mark_messages_readB

Mark inbox messages as read. Needs confirm=true.

Inputs: message_ids (required), confirm. Returns: result

migros_endpointsA

List the verified endpoint catalogue (method, path, auth requirement).

Args: service: optional prefix filter, e.g. "product-discovery", "retentionapi", "checkout", "shopping-list", "onelist", "recipe".

Inputs: service. Returns: result

migros_login_urlA

Show the OAuth authorize URL and client parameters this device would use.

Complete the flow locally with migros-login (PKCE needs a browser).

Inputs: no named parameters. Returns: result

migros_requestA

Call any gateway route directly (advanced escape hatch).

Args: path: path relative to the gateway base, e.g. "product-discovery/v1/promotions/weekend". Absolute URLs and ".." segments are refused. method: HTTP verb. Defaults to the catalogue verb for key, else GET. key: a catalogue key from migros_endpoints(); used instead of path. params: values for {placeholders} in a catalogue key's path. query: query-string parameters. body: JSON body. confirm: required for every non-GET call, catalogue keys included.

Inputs: key, body, path, query, +3 more. Returns: result

migros_statusC

Report environment, gateway, device identity and login state.

Inputs: no named parameters. Returns: result

migros_unroutedA

Paths recovered from the binary that the live gateway does not route.

Kept for transparency: the literals exist in the app, but no candidate service prefix resolved (plain 404), so they are not exposed as tools.

Inputs: no named parameters. Returns: result

my_addressB

A single saved address. Requires login.

Inputs: address_id (required). Returns: result

my_addressesC

Your saved addresses. Requires login.

Inputs: no named parameters. Returns: result

my_delivery_slotsB

Available delivery slots for the user. Requires login.

Inputs: no named parameters. Returns: result

my_fulfilment_selectionB

The signed-in user's fulfilment selection. Requires login.

Inputs: no named parameters. Returns: result

my_locationC

The shopping context used for catalogue calls: cooperative, warehouse, postcode.

Inputs: no named parameters. Returns: result

my_ordersB

Your online orders, newest first. Requires login.

Inputs: full, page, page_size. Returns: result

my_phone_numbersA

Phone numbers on your profile. Requires login.

Inputs: no named parameters. Returns: result

my_productsB

Your frequently bought products, by how often you buy them. Requires login.

Inputs: limit. Returns: result

my_profileB

Your customer profile. Requires login.

Inputs: no named parameters. Returns: result

my_recipesC

Your favourite recipes. Requires login.

Inputs: limit. Returns: result

new_productsC

Products newly added to the assortment, priced.

Inputs: limit, offset. Returns: result

order_authorization_stateC

Payment authorization state of an order. Requires login.

Inputs: order_id (required). Returns: result

order_detailC

A single order with its line items. Requires login.

Inputs: order_id (required), full. Returns: result

order_invoiceC

Invoice document for an order. Requires login.

Inputs: order_id (required). Returns: result

order_payment_slipB

Payment slip (QR-bill) for an order. Requires login.

Inputs: order_id (required). Returns: result

partner_couponsC

Cumulus partner coupons. Requires login.

Inputs: full. Returns: result

place_orderC

Place an order. Spends money; requires confirm=true.

Inputs: payload (required), confirm. Returns: result

product_cardsB

Priced summaries for a list of product uids (one call per 50).

Inputs: product_ids (required), store_type. Returns: result

product_detailA

Product detail by uid (the uid in search results).

Args: product_id: product uid, e.g. "100006357". full: return the raw response (ingredients, nutrients, origin, ...). store_type: ONLINE or OFFLINE.

Inputs: product_id (required), full, store_type. Returns: result

product_filtersB

Facets available for a search (ids and counts), optionally with filters applied.

The facet ids are what search_products accepts in filters.

Inputs: query (required), applied, store_type. Returns: result

promotion_detailC

Detail of a single promotion id (from promotions).

Inputs: promotion_id (required). Returns: result

promotion_detailsC

Details for a comma-separated list of promotion ids.

Inputs: promotion_ids (required). Returns: result

promotionsC

Current Migros promotions (Aktionen): discount, dates, product ids.

Inputs: limit, offset. Returns: result

purchase_analyticsC

Online-shopping status: first order, ongoing delivery pass. Requires login.

Inputs: no named parameters. Returns: result

receipt_detailB

One digital receipt (HTML/JSON as the gateway returns it). Requires login.

Inputs: receipt_id (required). Returns: result

receipt_productsC

The line items of a digital receipt. Requires login.

Inputs: receipt_id (required). Returns: result

receiptsA

Your digital till receipts (in-store and online), newest first. Requires login.

Args: start_date: ISO date (YYYY-MM-DD) to list receipts from; defaults to two years ago (the endpoint requires it). full: return raw receipts instead of the summary.

Inputs: full, start_date. Returns: result

recipe_detailB

A single recipe with ingredients and steps. No login required.

Inputs: recipe_id (required). Returns: result

recipes_by_categoryB

Recipes grouped by category (Migusto). No login required.

Inputs: no named parameters. Returns: result

recipe_taxonomiesB

Recipe taxonomies (cuisines, diets, ...). No login required.

Inputs: no named parameters. Returns: result

redeem_cumulus_bonA

Redeem a Cumulus bon into the current basket. Changes checkout; needs confirm=true.

Inputs: bon_number (required), confirm. Returns: result

remove_favouriteB

Remove a product from favourites. Changes account state; needs confirm=true.

Inputs: product_id (required), confirm. Returns: result

remove_shopping_list_itemA

Delete a shopping-list item (Firestore write). Needs confirm=true.

Inputs: item_id (required), list_id (required), confirm. Returns: result

scan_barcodeC

Look up products by barcode (EAN/GTIN), e.g. ["7614500010013"].

Inputs: gtins (required), store_type. Returns: result

search_productsA

Search the Migros catalogue: name, price, unit price, promotion, stock.

Uses your account's region when logged in, else the guest location (see set_location).

Args: query: free text, e.g. "hafermilch" or "ovomaltine". limit: products per page (1-50, default 10). offset: pagination offset (use next_offset from the previous page). sort: relevance | price | price_per_unit | discount_percentage | brand. direction: asc | desc. filters: facet ids -> values, e.g. {"product_bio": true}, {"promotion": true}, {"product_of_switzerland": true}, {"new": true}, {"product_special_nutrition": ["vegan"]}. product_filters lists them. store_type: ONLINE (Migros Online assortment) or OFFLINE (in store).

Inputs: query (required), sort, limit, offset, +3 more. Returns: result

search_products_guestB

Anonymous product search (never sends a token). Same arguments as search_products.

Inputs: query (required), sort, limit, offset, +3 more. Returns: result

search_recipesC

Search Migusto recipes by text and/or taxonomy ids (see recipe_taxonomies).

Inputs: limit, query, offset, taxonomy_ids. Returns: result

set_locationA

Shop as if located at a Swiss postcode (sets cooperative, warehouse, prices).

Without it, a guest gets a location the backend guesses. Signed-in users default to their own fulfilment selection; setting a postcode overrides it.

Inputs: zip_code (required). Returns: result

shopping_list_categoriesA

The shopping-list category tree (aisles). No login required.

Inputs: no named parameters. Returns: result

shopping_list_itemsB

The items on a shopping list (from Firestore): name, quantity, note, done.

Needs the Firebase Web API key — set MIGROS_FIREBASE_PLIST to the app's GoogleService-Info.plist (see README). list_id comes from shopping_lists.

Inputs: list_id (required), include_completed. Returns: result

shopping_list_membersC

Members of a shared shopping list. Requires login.

Inputs: list_id (required). Returns: result

shopping_lists_firestoreB

Your shopping lists from Firestore (names, sharing). Requires login + Firebase key.

Inputs: no named parameters. Returns: result

shopping_list_userB

Shopping-list user state (shared lists, invitations). Requires login.

Inputs: no named parameters. Returns: result

stampcard_catalogueB

All stampcards that exist (not just yours). Requires login.

Inputs: full. Returns: result

stampcardsC

Your Cumulus stampcards: progress and rewards. Requires login.

Inputs: full. Returns: result

store_availabilityA

In-store stock of a product.

Args: product_id: product uid. store_ids: store cost-centre ids (costCenterId from find_stores). near: town/postcode; checks the closest stores there when store_ids is not given (defaults to your location).

Inputs: product_id (required), near, store_ids. Returns: result

store_mapB

The in-store category layout (aisles) for your cooperative.

Inputs: no named parameters. Returns: result

teasersC

[Unreliable: answers HTTP 500 server-side with the recovered parameters (2026-10-29).] Marketing teasers for guests.

Inputs: fulfilment_methods. Returns: result

weekend_promotionsC

This weekend's promotions, optionally with their products priced.

Inputs: with_products. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 105 tools

    Disambiguation4/5

    Despite the large surface, the tool set is organized by domain prefixes (cumulus_, checkout_, order_, shopping_list_, product_) and list-vs-single pairs (promotions/promotion_detail, cumulus_coupons/cumulus_coupon) are consistently delineated. A few boundaries remain fuzzy: search_products vs search_products_guest, checkout_context vs checkout_summary, and the promotions/weekend_promotions/promotion_detail/promotion_details cluster can still lead to misselection.

    Naming Consistency4/5

    Names consistently use snake_case with a predictable prefix scheme (my_, cumulus_, shopping_list_, checkout_, order_, product_/category_/brand_/label_) and verb-first actions for mutations (add_, remove_, activate_, cancel_, place_, redeem_). Minor deviations exist: bare-noun read tools (receipts, inbox, favourites, promotions, teasers) and the tech-flavoured suffix in shopping_lists_firestore break the otherwise uniform pattern.

    Tool Count2/5

    105 tools is far beyond the 3-15 sweet spot and even beyond the 25+ 'heavy' band; an agent must reason over a very large catalogue to pick correctly. The domain is genuinely broad (catalogue, loyalty, checkout, orders, content, recipes), but many adjacent read tools could have been consolidated (e.g. checkout_* group, promotion_* group) to keep the surface navigable.

    Completeness4/5

    Coverage is unusually deep: product discovery, categories, promotions, stores, fulfilment, full checkout and order lifecycle (place, authorize, cancel, invoice, payment slip), receipts, Cumulus loyalty, shopping lists, recipes and CMS content are all represented. Remaining gaps are minor: shopping-list lifecycle is partial (no create/rename/delete list or edit item quantity), and login is exposed only as a URL hint plus an external CLI rather than an in-server tool.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to connect to a household's ICA account through BankID and access shopping lists, offers, bonus, stores, product lookup, catalogue search, purchase history, and Handla online prices. It also provides OAuth-based MCP connection, admin controls, audit logging, and optional list-writing tools.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to do grocery shopping through a logged-in drive session, including product search with labels, Nutri-Score and price per kilo, weekly promotions, usual products, purchase habit analysis, Open Food Facts quality checks, and cart quantity management.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables natural-language search of Swiss grocery products, price comparison, and weekly promotion lookup across retailers including Migros, Coop, Aldi, Denner, Lidl, Farmy, Volgshop, and Otto's.
      7
      MIT