lidl-mcp
Provides tools for interacting with Lidl and Lidl Plus across the Netherlands and Germany, including store search and opening hours, weekly digital leaflets and brochures, coupons and Coupon Plus, digital receipts, loyalty program details, and online shop product lookup.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lidl-mcp Find Lidl stores in Amsterdam with opening hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lidl-mcp
Model Context Protocol (MCP) server for Lidl (Lidl Plus) with built-in multi-country support (nl & de in a single server). Connects AI assistants (like Claude Desktop, Cursor, and Continue) directly to Lidl’s supermarket services.
Features include store search & opening hours, weekly digital leaflets & PDF brochures, Lidl Plus coupons & Coupon Plus, digital receipts (kassabonnen / Kassenbons), loyalty summary & stampcards, and online shop product lookup.
⚡ Quick Start
1. Install Dependencies
npm install2. Log In (Optional for Public Offers & Stores)
Public endpoints (stores, weekly leaflets, brochures, anonymous promotions) work without logging in. To access your personal coupons, receipts, loyalty card, and favorite store:
npm run loginLaunches Chrome via Playwright stealth to
accounts.lidl.com(PKCE OAuth2) and captures thecom.lidlplus.app://callbackredirect automatically.Headless/manual fallback:
npm run login -- --manual(or--country=de).
3. Check Status
npm run status4. Build & Test
npm run build
npm test5. Run as Persistent Streamable HTTP Server (Optional)
For shared cross-session response caching and zero per-call startup overhead:
npm run start:http -- --host 127.0.0.1 --port 3000
# or:
MCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=8090 node dist/index.jsEndpoints:
POST/GET/DELETE /mcp(configurable via--path/MCP_HTTP_PATH, optional bearer auth viaMCP_HTTP_AUTH_TOKEN)GET /healthz(process health, active session count, and shared cache stats)
Related MCP server: Rohlik MCP Server
🌍 Multi-Country Support (nl & de)
A single lidl-mcp server supports both Netherlands (nl) and Germany (de) simultaneously:
Default country comes from
LIDL_COUNTRY(defaults tonl).Pass
country: "nl"orcountry: "de"on any country-aware tool to query across borders in the same session (e.g. comparing NL vs. DE weekly offers or checking receipts in both countries).Response cache keys are scoped by host, country, language, and auth principal so
nlandderesponses never collide.
🛠️ MCP Tools (26 Tools)
1. Authentication, Profile & Loyalty
Tool | Type | Description |
| Auth / Session | Check authentication status, refresh expired access token if available, and fetch member identity. |
| Read | Get Lidl Accounts OIDC profile & loyalty card details ( |
| Read | Get loyalty program status, active stampcards, and bottle deposits. |
| Read | Report process-scoped in-memory cache statistics ( |
2. Stores & Opening Hours
Tool | Type | Description |
| Read | Search NL or DE stores by city, postal code, address, |
| Read | Get store zone, offer region, amenities, and opening hours for a date. |
| Read | Get the user's favorite Lidl store ( |
| Write | Set the user's favorite Lidl store ( |
3. Offers, Digital Leaflets, Brochures & Shop Products
Tool | Type | Description |
| Read | List active flyers/brochures with web view URLs and PDF downloads. |
| Read | List active weekly digital leaflet campaign groups and campaigns. |
| Read | Fetch all products and prices inside a digital leaflet campaign. |
| Read | Search across active weekly digital leaflet campaigns by keyword. |
| Read | Get full details, pricing, and disclaimers for a leaflet product ID. |
| Read | Search |
| Read | Fetch online shop product details by ERP number ( |
4. Coupons & Promotions
Tool | Type | Description |
| Read | List Lidl Plus coupons (falls back to anonymous promotions when logged out). |
| Read | Get detailed terms and validity for a coupon/promotion UUID. |
| Write | Activate a Lidl Plus coupon for checkout. |
| Write | Deactivate an activated Lidl Plus coupon. |
| Read | Get Coupon Plus spend goals and progress. |
5. Digital Receipts (Kassabonnen / Kassenbons)
Tool | Type | Description |
| Read | List digital receipts ( |
| Read | Get itemized receipt lines, prices, discounts, and store info (cached 30d). |
| Read | Get receipt summary breakdown (cached 30d). |
| Write | Favorite or unfavorite a digital receipt. |
6. Grocery Trip Planning & Purchase History (Per Country)
Tool | Type | Description |
| Read | Analyze past receipts for one country ( |
| Read | Match regular purchases and optional extra items in one country against weekly leaflet offers and coupons. |
⚙️ Environment Variables
Variable | Description |
| Default 2-letter country code ( |
| Optional language override ( |
| Override path to |
| Bootstrap refresh token when no token file exists yet. |
| Optional HTTP endpoint for external token persistence. |
| Optional |
| Set to |
| Maximum cached entries (default: |
| Set to |
| Set to |
| Bind address in HTTP mode (default: |
| Listen port in HTTP mode (falls back to |
| MCP HTTP endpoint path (default: |
| Optional Bearer token required on the MCP HTTP endpoint. |
| Idle session expiry in ms (default: |
📄 License
MIT — see LICENSE.
Available Tools
26 toolslidl_activate_couponActivate a Lidl Plus CouponAIdempotent
Activate a Lidl Plus coupon for the selected country ('nl' or 'de') so it applies at checkout.
Inputs: promotionId (required), country, actionLocation. Returns: country, response, activated, deactivated, +1 more
lidl_cache_statsGet Response Cache StatisticsARead-only
Report the process-scoped in-memory response cache: enabled state, scope, hits, misses, hit rate, stored entries, and evictions.
Inputs: no named parameters. Returns: hits, note, sets, scope, +6 more
lidl_deactivate_couponDeactivate a Lidl Plus CouponBIdempotent
Deactivate a previously activated Lidl Plus coupon for the selected country ('nl' or 'de').
Inputs: promotionId (required), country, actionLocation. Returns: country, response, activated, deactivated, +1 more
lidl_get_brochuresGet Lidl Weekly Flyers & BrochuresARead-only
List active Lidl digital folders/brochures (with validity dates, web view URLs, and PDF download links) for NL or DE. Works without authentication.
Inputs: country, storeId. Returns: count, brochures
lidl_get_campaign_groupsGet Weekly Digital Leaflet Campaign GroupsARead-only
List active weekly digital leaflet campaign groups and campaigns (e.g. 'Aanbiedingen', 'Unsere Aktionsprospekte') for NL or DE. Works without authentication.
Inputs: country, storeId. Returns: count, groups
lidl_get_campaign_offersGet Products in a Digital Leaflet CampaignARead-only
Fetch all discounted/featured products and prices inside a digital leaflet campaign ID for NL or DE. Works without authentication.
Inputs: campaignId (required), country, storeId. Returns: id, title, products, subtitle
lidl_get_coupon_detailsGet Lidl Plus Coupon DetailsARead-only
Get detailed terms, validity, and articles for a specific Lidl Plus coupon/promotion UUID.
Inputs: promotionId (required), country. Returns: id, title, endDate, startDate, +3 more
lidl_get_coupon_plusGet Coupon Plus Spend GoalsARead-only
Get active Lidl Coupon Plus spend milestones and reward progress for the selected country ('nl' or 'de').
Inputs: country. Returns: active, country, message
lidl_get_couponsGet Lidl Plus Coupons & PromotionsARead-only
List active Lidl Plus coupons/promotions for NL or DE. Uses the authenticated member list when logged in, and falls back to public anonymous promotions otherwise.
Inputs: zone, country, storeId. Returns: country, coupons, isAnonymousFallback
lidl_get_favorite_storeGet Favorite Lidl StoreARead-only
Get the authenticated user's favorite Lidl store for the selected country ('nl' or 'de').
Inputs: country. Returns: storeId, storeKey
lidl_get_leaflet_productGet Digital Leaflet Product DetailsARead-only
Get detailed description, pricing, disclaimers, badges, and stock/ERP IDs for a digital leaflet product ID. Works without authentication.
Inputs: productId (required), country, storeId. Returns: id, brand, price, title, +12 more
lidl_get_loyalty_programGet Lidl Plus Loyalty Program (Card, Stampcards & Deposits)ARead-only
Fetch Lidl Plus loyalty program status/points summary, active stampcards, and bottle deposit balances for the selected country ('nl' or 'de').
Inputs: country, storeId. Returns: country, storeId, deposits, stampcards, +1 more
lidl_get_profileGet Lidl Plus Member ProfileARead-only
Get Lidl Accounts user info (name, email) and Lidl Plus loyalty card details for the selected country ('nl' or 'de').
Inputs: country. Returns: sub, name, email, qrCode, +8 more
lidl_get_receipt_detailsGet Lidl Receipt DetailsARead-only
Get full itemized digital receipt details (line items, prices, discounts, store) by ticket ID. Cached for 30 days.
Inputs: ticketId (required), country. Returns: id, date, lines, total, +6 more
lidl_get_receipt_summaryGet Lidl Receipt SummaryARead-only
Get receipt summary/savings breakdown by ticket ID. Cached for 30 days.
Inputs: ticketId (required), country. Returns: date, isHtml, origin, vendor, +8 more
lidl_get_regular_productsAnalyze Regular Lidl PurchasesARead-only
Analyze past digital receipts for a single country ('nl' or 'de') to identify regularly purchased items, average prices, purchase cadence, and restock candidates. Reuses the 30-day in-memory receipt cache.
Inputs: limit, country, daysBack, yearOffset, +3 more. Returns: note, country, dateRange, minPurchases, +4 more
lidl_get_shop_productGet Lidl Online Shop Product DetailsARead-only
Fetch full Lidl online shop product details (title, pricing, specs, categories, canonical URL) by ERP product number for NL or DE. Works without authentication.
Inputs: productErp (required), country. Returns: title, erpNumber, productId, productErp
lidl_get_store_detailsGet Lidl Store Details & Opening HoursARead-only
Get detailed Lidl store info (zone, offer region, amenities, coordinates) and opening hours for a given date. Works without authentication.
Inputs: storeId (required), date, country. Returns: name, zone, state, address, +12 more
lidl_list_receiptsList Lidl Digital ReceiptsARead-only
List past digital receipts (kassabonnen / Kassenbons) for the authenticated user in NL or DE.
Inputs: country, yearOffset. Returns: count, receipts
lidl_loginCheck or Refresh Lidl Login SessionAIdempotent
Check authentication status, refresh an expired access token if a refresh token is persisted, and fetch live member identity when authenticated.
Inputs: country. Returns: status, profile, savedAt, configured, +7 more
lidl_plan_grocery_tripPlan Lidl Grocery Trip (Per Country)ARead-only
Plan a grocery trip for one country ('nl' or 'de') by matching regularly bought receipt items and optional extra items against active weekly leaflet offers and Lidl Plus coupons, surfacing unactivated coupons and due-for-restock staples.
Inputs: country, storeId, daysBack, extraItems, +5 more. Returns: note, country, storeId, minPurchases, +10 more
lidl_search_offersSearch Weekly Lidl Leaflet OffersBRead-only
Search across active weekly digital leaflet campaigns for matching products and deals in NL or DE. Works without authentication.
Inputs: limit, query, country, storeId. Returns: total, offers, country, storeId, +1 more
lidl_search_shop_productsSearch Lidl Online Shop ProductsARead-only
Search the Lidl online shop assortment (lidl.nl / lidl.de) by keyword and return matching products with prices, online availability, canonical URLs, and ERP numbers for lidl_get_shop_product. Works without authentication and is cached.
Inputs: query (required), limit, offset, country. Returns: limit, query, total, offset, +2 more
lidl_search_storesSearch Lidl StoresARead-only
Search Lidl stores in NL or DE by city, postal code, street, storeId/storeKey (e.g. 'NL0135', 'DE0347'), or coordinates. Works without authentication and is cached.
Inputs: limit, query, country, latitude, +1 more. Returns: count, stores
lidl_set_favorite_storeSet Favorite Lidl StoreAIdempotent
Set the authenticated user's favorite Lidl store for the selected country ('nl' or 'de').
Inputs: storeId (required), country. Returns: country, storeId, updated, storeKey
lidl_set_receipt_favoriteFavorite or Unfavorite a Lidl ReceiptAIdempotent
Mark or unmark a digital receipt as favorite in NL or DE.
Inputs: favorite (required), ticketId (required), country. Returns: country, updated, favorite, ticketId
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Most tools target distinct resources, but the leaflet/offer family (get_brochures, get_campaign_groups, get_campaign_offers, search_offers, get_leaflet_product) and the receipt family (list_receipts, get_receipt_details, get_receipt_summary) require careful reading to pick correctly. plan_grocery_trip also overlaps conceptually with search_offers and get_coupons, though its composite purpose is stated clearly. Descriptions generally resolve the ambiguity.
Almost all tools follow a predictable lidl_verb_noun pattern (get_x, search_x, activate_coupon, list_receipts). Minor deviations like lidl_login (verb only) and lidl_cache_stats (noun phrase) break the pattern slightly but remain readable and unambiguous.
At 26 tools this is above the comfortable range and heavy for an agent to navigate, though the domain genuinely spans stores, offers, coupons, receipts, loyalty, and shop products. A few read-only variants (e.g. receipt details vs. summary, brochure vs. campaign groups) could plausibly be consolidated into parameterized tools.
The surface covers the full shopping lifecycle: auth/profile, store selection, offers/leaflets, shop products, coupon activation, receipts, and habit analysis. Minor gaps exist, such as no logout/token-clearing tool and no cache invalidation alongside lidl_cache_stats, but these are workaroundable and not core workflows.
Maintenance
Related MCP Connectors
Live prices, deals & optimal multi-stop shopping routes for German grocery & drug stores.
Live Dutch supermarket prices and promotions (Albert Heijn, Jumbo, Lidl, Aldi and more) for AI.
Persistent shopping memory for AI assistants. The AI reasons; Kaufliste stores and executes.
Turn any shopping list into a ready-to-checkout grocery cart across 26 European supermarkets.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to securely access a personal Dutch supermarket account, including digital receipts with itemized prices, discounts and VAT, loyalty points balance, and active shopping lists, plus search for nearby stores and products in the grocery catalog.20MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search grocery products, manage shopping carts, access account and order information, and find deals and delivery details across several European online grocery platforms.-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search grocery products, manage shopping carts, and access account, order, delivery, and discount information across multiple European online grocery platforms.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to connect to Albert Heijn supermarket services for product search, Bonus promotions, shopping lists, digital receipts, Allerhande recipes, store lookup, and profile/cart access while keeping checkout human-controlled.271MIT