Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Swissgroceries MCP
Overview
Description from the maker (original English)
Swiss grocery search, promotions, and shopping plans across Migros, Coop, Aldi, Denner, Lidl.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
- You need to fill in: DENNER_JWT
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
DENNER_JWT,LIDL_DEFAULT_STORE,SWISSGROCERIES_USER_AGENT_COOP,SWISSGROCERIES_LOG_LEVEL,SWISSGROCERIES_DISABLE_CACHE
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"swissgroceries": {
"command": "npx",
"args": [
"-y",
"@nicktcode/swissgroceries-mcp"
],
"env": {
"DENNER_JWT": "your-value",
"LIDL_DEFAULT_STORE": "your-value",
"SWISSGROCERIES_USER_AGENT_COOP": "your-value",
"SWISSGROCERIES_LOG_LEVEL": "your-value",
"SWISSGROCERIES_DISABLE_CACHE": "your-value"
}
}
}
}Run this in your terminal
claude mcp add swissgroceries --env DENNER_JWT=your-value --env LIDL_DEFAULT_STORE=your-value --env SWISSGROCERIES_USER_AGENT_COOP=your-value --env SWISSGROCERIES_LOG_LEVEL=your-value --env SWISSGROCERIES_DISABLE_CACHE=your-value -- npx -y @nicktcode/swissgroceries-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"swissgroceries": {
"command": "npx",
"args": [
"-y",
"@nicktcode/swissgroceries-mcp"
],
"env": {
"DENNER_JWT": "your-value",
"LIDL_DEFAULT_STORE": "your-value",
"SWISSGROCERIES_USER_AGENT_COOP": "your-value",
"SWISSGROCERIES_LOG_LEVEL": "your-value",
"SWISSGROCERIES_DISABLE_CACHE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"swissgroceries": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nicktcode/swissgroceries-mcp"
],
"env": {
"DENNER_JWT": "your-value",
"LIDL_DEFAULT_STORE": "your-value",
"SWISSGROCERIES_USER_AGENT_COOP": "your-value",
"SWISSGROCERIES_LOG_LEVEL": "your-value",
"SWISSGROCERIES_DISABLE_CACHE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- Optional pre-supplied Denner Bearer JWT. Without it, the adapter self-registers anonymously on first use and rotates the token automatically.
LIDL_DEFAULT_STOREenvDefault Lidl store ID used when no storeIds are passed. Defaults to CH0149.SWISSGROCERIES_USER_AGENT_COOPenvOverride the User-Agent string for Coop calls if DataDome ever blocks the default.SWISSGROCERIES_LOG_LEVELenvLogging verbosity: silent, info (default), or debug.SWISSGROCERIES_DISABLE_CACHEenvSet to 1 to bypass the in-memory HTTP response cache.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account nicktcode, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 2534 servers in this category
- Published to the registry more recently than 7% of the other 2534 servers in this category
- Basic checks equal to or better than 100% of the other 2534 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Swissgroceries MCP safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: DENNER_JWT
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.1.2) reached the registry 6 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
swissgroceries-mcp
Real-time Swiss grocery shopping over the Model Context Protocol. Search products, compare prices across Migros, Coop, Aldi, Denner, Lidl, Volgshop, Otto's, and Coop City, see weekly promotions, and plan multi-store shopping trips. Works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, Cline, Continue, VS Code MCP extensions, custom clients).
Disclaimer
This is a personal fun project. It is not affiliated with, endorsed by, or sponsored by Migros, Coop, Aldi, Denner, Lidl, Volg, Otto's, or any other retailer. It uses publicly accessible mobile-app endpoints to make Swiss grocery shopping a bit smarter for end users.
If you represent any of these stores and have concerns (about API usage, branding, scraping rate, or anything else), please reach out to the maintainer through GitHub and we will work it out. No need to escalate.
API stability: the chain APIs used here are unofficial and can change at any time. The maintainer is not responsible for failures caused by upstream changes; please open an issue with the response sample so the affected adapter can be updated.
PRs welcome. New chains, better matchers, smarter strategies, bug fixes, doc improvements; all encouraged. See CONTRIBUTING.md.
Install
No accounts, no tokens, no API keys required. The Denner adapter self-registers an anonymous client on first use; everything else uses public endpoints.
Claude Desktop (one-click)
Download swissgroceries-mcp.mcpb from the Releases page and:
- macOS: double-click or drag onto the Claude Desktop app icon.
- Windows: Settings → Extensions → Advanced → Install Extension → select the file.
Claude Code (one-liner)
claude mcp add swissgroceries -- npx -y @nicktcode/swissgroceries-mcp
Cursor / Cline / Continue / VS Code / Claude Desktop (manual config)
Most MCP-compatible clients accept the same JSON server entry. Add it to your client's MCP config file (paths vary, see your client's docs):
{
"mcpServers": { "swissgroceries": { "command": "npx", "args": ["-y", "@nicktcode/swissgroceries-mcp"] } } }
Common config paths:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS),%APPDATA%\Claude\claude_desktop_config.json(Windows). - Cursor:
.cursor/mcp.jsonin the project, or~/.cursor/mcp.jsonglobally. - Cline / Continue / VS Code: see each client's MCP documentation.
- Custom clients: any stdio-based MCP client can spawn
npx -y @nicktcode/swissgroceries-mcpdirectly.
What you can ask
Price comparison
- "Where is milk cheapest near 8001 Zürich right now?"
- "Compare pasta prices across Migros and Coop."
- "Show me organic milk options under CHF 3."
Shopping planning
- "I need milk, bread, eggs, chicken, and pasta near 8050. Where should I shop to keep costs down?"
- "Plan my weekly shop for 5 items near 4052 Basel, one stop only."
- "Split my cart across stores for the absolute lowest total, but add a 2 CHF penalty per extra trip."
Promotions and deals
- "What is on sale at Aldi this week?"
- "Any Migros deals on cheese ending this week?"
- "Show me all promotions across chains for pasta."
Stores and stock
- "Find Coop stores within 3 km of Bern Hauptbahnhof."
- "Which Migros near me has product 4389992 in stock?"
- "List Denner branches near 8050."
Tools
| Tool | What it does |
|---|---|
find_stores | Find grocery stores near a location, filtered by chain and radius. |
search_products | Cross-chain product search with normalised price, unit price, size, and tags. |
get_product | Full product details for a chain plus product ID pair. |
get_promotions | Current promotional deals, filterable by chain, keyword, store, or expiry. |
find_stock | Stores of a chain that have a given product in stock. |
plan_shopping | Plan a multi-store trip for a shopping list near a location. |
health_check | Probe each registered chain adapter and report status, latency, and capabilities. |
Each tool exposes rich JSON Schema with field-level descriptions, so the LLM knows when and how to call it.
Prompts
| Prompt | What it does |
|---|---|
weekly_deals_digest | Summarise this week's best grocery deals across the configured chains. Optional category, chains, and location filters. |
compare_basket_across_chains | Compare a shopping basket across all chains and recommend single-store vs split-cart strategies. |
cheapest_recipe_ingredients | From an ingredient list (or recipe URL) find the cheapest place to buy each item and produce a consolidated shopping plan. |
Prompts are surfaced as one-click templates in MCP-aware clients (Claude Desktop, Cursor, Cline). They produce structured user messages that drive the right tool calls — useful as a starting point and as discovery of what the server can do.
Resources
| URI | Content |
|---|---|
swissgroceries://chains | JSON list of registered chain adapters and their capabilities (productSearch, productDetail, storeSearch, promotions, perStoreStock, perStorePricing). |
Chain coverage
| Chain | Product search | Promotions | Per-store stock | Nutrition | Auth |
|---|---|---|---|---|---|
| Migros | Full catalog | Yes | Yes | Yes (product detail) | Guest token (auto, rotated on expiry) |
| Coop | coop.ch catalog (coopathome) | Yes | Yes (geo) | Yes (product detail) | None |
| Aldi | Full catalog | Yes | No | No (API exposes only allergen claims) | None |
| Denner | Full catalog | Yes | No | No | Anonymous self-auth (signup + signin, rotated) |
| Lidl | Online assortment via the lidl.ch storefront (current + upcoming weekly offers, ~600 items; food only, de/fr/it) | Yes (weekly leaflet) | No | No | None |
| Volgshop | Full catalog | Yes (on_sale filter) | No (delivery-only) | Yes (parsed from free-text attribute, basis assumed 100g) | None |
| Otto's | Grocery-adjacent (food, drugstore, baby) | Yes (priceLabels facet) | Yes (per-store stockLevel) | No | None |
| Coop City | Department-store catalog (coop-city.ch: cosmetics, household, fashion, electronics). Opt-in: only queried when chains includes coopcity | Yes (hasDiscount facet, current price only, no was-price or end date) | Yes (per-store stockLevel, capped at 50) | No | None |
NormalizedProduct.nutrition is normalized to a per-100g (or per-100ml) basis with the standard Swiss labelling fields — energyKj, energyKcal, fat, saturatedFat, carbs, sugar, fiber, protein, salt — so consumers can sort across chains ("highest protein per 100g lasagne") even though each upstream API exposes the data on a different surface and in a different shape. Missing or unparseable fields are left undefined; adapters never fabricate values.
Configuration
| Env var | Default | Effect |
|---|---|---|
DENNER_JWT | _(unset)_ | Optional pre-supplied Denner Bearer JWT. Without it, the adapter self-registers anonymously on first use and rotates the token automatically. |
LIDL_DEFAULT_STORE | CH0149 | Default Lidl store ID used when no storeIds are passed. |
SWISSGROCERIES_USER_AGENT_COOP | _(default iOS Safari UA)_ | Override the User-Agent for Coop calls if DataDome ever blocks the default. |
SWISSGROCERIES_LOG_LEVEL | info | silent, info, or debug. |
SWISSGROCERIES_DISABLE_CACHE | _(unset)_ | Set to 1 to bypass the in-memory HTTP cache (useful for debugging). |
How it works
Each grocery chain is wrapped in an independent adapter (src/adapters/ /) that handles authentication, HTTP calls, and raw-to-normalised mapping. Adapters all produce the same NormalizedProduct, NormalizedStore, and NormalizedPromotion shapes (defined in src/adapters/types.ts), so the rest of the system never has to know which chain it is talking to.
The HTTP utility (src/util/http.ts) underpins every adapter except Migros (which delegates to the migros-api-wrapper library): in-memory response caching with a 5-minute TTL, retry with exponential backoff (3 attempts, 250 ms base), per-host rate limiting (~10 requests per second), and a per-host circuit breaker that opens after 5 consecutive failures and resets after 60 seconds.
The shopping planner (src/services/planner.ts) fans out store and product searches in parallel across all active adapters, then feeds results into a strategy solver (src/services/strategy.ts) that supports three modes:
single_store: minimise the number of stops.split_cart: cheapest split across chains, with a configurable per-stop penalty.absolute_cheapest: cheapest split, ignoring stop count.
Cross-chain comparisons are kept fair by a category-text canonicality filter (src/services/matcher.ts, isCanonical). When at least one chain returns a product whose category text matches the query, results from chains that only returned tangential products (for example, Apfelschorle when searching for "apfel") are dropped from the comparison matrix for that item.
MCP client (any LLM)
│ │ MCP tool call ▼ src/index.ts ── buildRegistry() ────────────────────────────────────────┐ │ │ │ routes to tool handler │ ▼ ▼ src/tools/ src/adapters/ find_stores.ts ──► geocoding ──► adapter.searchStores migros/ search_products.ts ──────────────► adapter.searchProducts coop/ get_product.ts ──────────────► adapter.getProduct aldi/ get_promotions.ts ──────────────► adapter.getPromotions denner/ (auto-auth) find_stock.ts ──────────────► adapter.findStoresWithStock lidl/ plan_shopping.ts ──► geocoding ──► planner ──► strategy solver │ NormalizedProduct NormalizedStore NormalizedPromotion
Build from source
node --version # requires Node.js >=20
git clone https://github.com/nicktcode/swissgroceries-mcp cd swissgroceries-mcp npm install npm run build
To also build the .mcpb bundle locally:
npx tsx scripts/build-mcpb.ts
Troubleshooting
**Coop
Only the beginning is shown; read the rest in the repo