Skip to main content
Glama
rewe-mcp

rewe-mcp

by Robert-SD

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoBind host in HTTP mode.127.0.0.1
MCP_HTTP_PATHNoHTTP MCP route path./mcp
MCP_HTTP_PORTNoListen port in HTTP mode.3000
MCP_TRANSPORTNoSet to http for Streamable HTTP mode.stdio
REWE_MTLS_KEYNoPEM string or path to Cloudflare client private key.~/.config/rewe-mcp/certs/private.key
REWE_ZIP_CODENoFallback default German postal code.50667
REWE_MARKET_IDNoFallback default market ID (wwIdent).840174
REWE_MCP_CACHENoSet to false / 0 / off to disable in-memory TTL cache.true
REWE_MTLS_CERTNoPEM string or path to Cloudflare client cert.~/.config/rewe-mcp/certs/certificate.pem
REWE_STORE_FILENoDefault market persistence file.~/.config/rewe-mcp/store.json
REWE_TOKENS_FILENoOAuth token persistence file.~/.config/rewe-mcp/tokens.json
REWE_ACCESS_TOKENNoOptional static/ephemeral access token.
REWE_SERVICE_TYPENoFallback default service (PICKUP or DELIVERY).PICKUP
REWE_REFRESH_TOKENNoOptional bootstrap refresh token.
MCP_HTTP_AUTH_TOKENNoOptional Bearer token required for HTTP MCP requests.
MCP_HTTP_JSON_RESPONSENoSet to true to prefer JSON responses over SSE.false
MCP_HTTP_SESSION_IDLE_MSNoIdle session expiry timeout (ms).1800000
REWE_MCP_CACHE_MAX_ENTRIESNoMaximum 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 (wwIdent): opening hours, phone number, address, and in-store services.

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 (wwIdent), zipCode (PLZ), and serviceType (PICKUP or DELIVERY).

rewe_set_selected_marketA

Persist the default REWE marketId (wwIdent), zipCode (PLZ), and serviceType (PICKUP or DELIVERY) in ~/.config/rewe-mcp/store.json for subsequent product, offer, and basket calls.

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 (PICKUP or DELIVERY) by product name, EAN barcode, or category slug.

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 (slug, product counts) available for a market and service type.

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 recipeId: portion yield, preparation/cooking times, structured ingredients list, step-by-step instructions, and nutrition values.

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 ebonId. Optionally pass savePath to write the PDF directly to disk; otherwise returns base64Pdf and sizeBytes.

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 (listingId, optional productId) to a REWE favorites list or remove an entry (itemId) from a favorites list.

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 quantity: 0 to remove the item).

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 30 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues