rewe-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HTTP_HOST | No | Bind host in HTTP mode. | 127.0.0.1 |
| MCP_HTTP_PATH | No | HTTP MCP route path. | /mcp |
| MCP_HTTP_PORT | No | Listen port in HTTP mode. | 3000 |
| MCP_TRANSPORT | No | Set to http for Streamable HTTP mode. | stdio |
| REWE_MTLS_KEY | No | PEM string or path to Cloudflare client private key. | ~/.config/rewe-mcp/certs/private.key |
| REWE_ZIP_CODE | No | Fallback default German postal code. | 50667 |
| REWE_MARKET_ID | No | Fallback default market ID (wwIdent). | 840174 |
| REWE_MCP_CACHE | No | Set to false / 0 / off to disable in-memory TTL cache. | true |
| REWE_MTLS_CERT | No | PEM string or path to Cloudflare client cert. | ~/.config/rewe-mcp/certs/certificate.pem |
| REWE_STORE_FILE | No | Default market persistence file. | ~/.config/rewe-mcp/store.json |
| REWE_TOKENS_FILE | No | OAuth token persistence file. | ~/.config/rewe-mcp/tokens.json |
| REWE_ACCESS_TOKEN | No | Optional static/ephemeral access token. | |
| REWE_SERVICE_TYPE | No | Fallback default service (PICKUP or DELIVERY). | PICKUP |
| REWE_REFRESH_TOKEN | No | Optional bootstrap refresh token. | |
| MCP_HTTP_AUTH_TOKEN | No | Optional Bearer token required for HTTP MCP requests. | |
| MCP_HTTP_JSON_RESPONSE | No | Set to true to prefer JSON responses over SSE. | false |
| MCP_HTTP_SESSION_IDLE_MS | No | Idle session expiry timeout (ms). | 1800000 |
| REWE_MCP_CACHE_MAX_ENTRIES | No | Maximum cached responses in memory. | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rewe_auth_statusA | Inspect current REWE Keycloak SSO session status (token source, expiry, customerId), Cloudflare mTLS client certificate configuration, and active default market selection. |
| rewe_get_profileA | Fetch authenticated REWE SSO userinfo, customer profile, REWE ID, and configured store settings. |
| rewe_get_bonusA | Fetch your REWE Bonus euro credit balance, loyalty points overview, tier status, and active article missions. |
| rewe_get_couponsA | Fetch available and activated REWE Bonus and personal digital app coupons. |
| rewe_search_marketsA | Search REWE stationary supermarkets by city, street, market name, or German postal code (PLZ). |
| rewe_get_market_detailsA | Fetch full details for a REWE market ( |
| rewe_get_service_portfolioA | Check whether REWE Lieferservice (delivery) and REWE Abholservice (pickup) are available for a German postal code (PLZ), and list matching market IDs. |
| rewe_get_selected_marketA | Show the currently active default REWE marketId ( |
| rewe_set_selected_marketA | Persist the default REWE marketId ( |
| rewe_get_discountsB | Fetch current weekly promotional offers/discounts for a REWE market grouped by category. |
| rewe_search_discountsA | Search current weekly stationary offers at the selected REWE market by product name, brand, or category keyword. |
| rewe_get_brochureB | Fetch digital stationary handout/brochure (Prospekt) metadata for a REWE market. |
| rewe_search_productsA | Search the live REWE supermarket assortment for a market and service type ( |
| rewe_get_product_detailsB | Fetch detailed product information including description, ingredients, allergens, nutrition table, GTIN, and listing price. |
| rewe_get_shop_categoriesA | List top-level and nested REWE online shop categories ( |
| rewe_get_product_recallsA | Fetch active REWE product safety recalls (Produktrückrufe). |
| rewe_search_recipesB | Search REWE recipe database by keyword, difficulty, collection, or tags. |
| rewe_get_recipe_detailsA | Fetch complete REWE recipe details by |
| rewe_get_recipe_popular_termsA | Fetch trending/popular recipe search terms shown on the REWE recipes landing page. |
| rewe_list_ebonsA | List in-store digital receipts (eBons) with timestamps, store address, total spend, and REWE Bonus earned. |
| rewe_get_ebon_pdfA | Download the original PDF receipt for a given |
| rewe_list_ordersA | List REWE Abholservice (pickup) and Lieferservice (delivery) online order history. |
| rewe_get_order_detailsA | Fetch full line-item breakdown, quantities, prices, and timeslot details for a REWE online order. |
| rewe_get_favoritesA | Fetch your saved REWE favorite lists along with product details, listingIds, and prices for the configured market. |
| rewe_manage_favoriteA | Add a product ( |
| rewe_get_basketA | Fetch or initialize the active REWE Pickup or Delivery basket for the configured market and return items, totals, version, and minimum order threshold status. |
| rewe_set_basket_itemA | Add a product listing to your REWE Pickup/Delivery basket or update its absolute quantity (set |
| rewe_get_timeslotsA | List available Abholservice (pickup) or Lieferservice (delivery) checkout timeslots and service fees for the current basket and market. |
| rewe_regular_productsB | Analyze previously purchased products and online order history to identify frequently bought groceries, average prices, purchase cadence, and items due for restock. |
| rewe_plan_grocery_tripB | Cross-reference your regular REWE products and extra shopping list items against current weekly stationary discounts and REWE Bonus coupons. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 30 tools
Most tools target a clear resource+action pair (market details vs. market search, product search vs. product details, order list vs. order details, ebon list vs. ebon PDF). The main overlap is rewe_get_discounts vs. rewe_search_discounts (weekly offers, one grouped by category, one keyword-filtered), and the composite rewe_plan_grocery_trip partially overlaps rewe_regular_products and the discount tools, but descriptions make the distinction workable.
Nearly every tool follows a consistent rewe_<verb>_<noun> snake_case pattern with a stable prefix. Two deviations: rewe_regular_products omits a verb entirely, and rewe_manage_favorite uses a generic verb that covers both add and remove, which is slightly less predictable than the add_/remove_ convention used elsewhere.
At 30 tools the surface is heavy for a single MCP server, though the REWE domain genuinely spans auth, loyalty, markets, offers, products, recipes, receipts, orders, favorites, and basket. Many tools are narrow single-call wrappers (recipe popular terms, brochure metadata, service portfolio) that could have been consolidated, but each does earn a place.
Coverage is broad and coherent across the shopping lifecycle: auth/profile, loyalty and coupons, market selection, discovery, basket, timeslots, and historical orders/receipts. The notable gap is checkout — there is a basket and timeslot tool but no tool to place or cancel an order, and basket clearing only works implicitly via quantity 0.