SuperAPI AI Directory

swissgroceries-mcp

Swiss grocery search, weekly promotions and multi-store shopping plans across Migros, Coop, Aldi, Denner, Lidl and more, with unit-price comparison.

Open website

About this tool

swissgroceries-mcp provides Swiss grocery shopping capabilities through the Model Context Protocol (MCP), allowing you to search for products, compare prices, view weekly promotions, and plan multi-store shopping trips across Migros, Coop, Aldi, Denner, Lidl, Farmy, Volgshop, and Otto's. It is compatible with any MCP-capable client, including Claude Desktop, Claude Code, Cursor, Cline, Continue, the VS Code MCP extension, and custom clients.

Main capabilities include:

  • Price comparison: find the cheapest place to buy a given product near a location, compare prices across stores, and filter products by maximum price.
  • Shopping planning: for a specified postal code area, plan the most cost-effective shopping solution for several products, supporting three strategies: single-store shopping, splitting the order by store, and absolute lowest price (with an optional penalty cost per extra trip).
  • Promotions and deals: view a store's specials for the current week, deals that are about to end, and all promotions for a given product across grocery chains.
  • Stores and inventory: find stores near an address, which stores have a specified product in stock, and list branches near a postal code.

For usage, Claude Desktop supports one-click installation (download the swissgroceries-mcp.mcpb file from the Releases page, double-click it on macOS or drag it onto the app icon, and on Windows go to Settings → Extensions → Advanced → Install Extension and select the file); Claude Code can be installed with a one-line command; other MCP clients can manually add a JSON server entry in their configuration file, or run npx -y @nicktcode/swissgroceries-mcp directly via stdio. No account, token, or API key is required; the Denner adapter automatically registers an anonymous client on first use, and the others use public endpoints.

In terms of technical implementation, each grocery chain is encapsulated by a separate adapter (src/adapters/<chain/>) that handles authentication, HTTP calls, and mapping raw data to a normalized structure, uniformly outputting NormalizedProduct, NormalizedStore, and NormalizedPromotion shapes. The HTTP utility layer provides a 5-minute in-memory cache, exponential backoff retries (3 attempts, base 250ms), rate limiting of about 10 requests/second per host, and a circuit breaker that opens after5 consecutive failures and resets after 60 seconds. Nutritional information is uniformly normalized per 100g or 100ml, including standard Swiss label fields (energyKj, energyKcal, fat, saturatedFat, carbs, sugar, fiber, protein, salt); missing or unparseable fields remain undefined, and adapters do not fabricate values.

Known limitations: the upstream grocery chain APIs are unofficial interfaces and may change at any time; the maintainers are not responsible for failures caused by upstream changes; Coop may trigger bot protection (this can be resolved by setting SWISSGROCERIES_USER_AGENT_COOP to a new iOS Safari User-Agent); Lidl only indexes products from the current week's flyer, and returns 0 results when a search term is not in this week's promotions; the postal code lookup table covers all 3190 official Swiss postal codes, and if one is missing you can pass latitude and longitude or file an issue. The project is licensed under AGPL-3.0-only (versions 0.7.4 and earlier were MIT); if you run a modified version as a network service, you must disclose the modifications; closed-source commercial use requires obtaining a separate commercial license.