RabATt
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., "@RabATt where's milk cheapest per litre at Billa, Spar, Hofer and dm?"
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.
Highlights
Four chains, one search
Search BILLA, SPAR, HOFER and dm at once and see where something is cheapest, also per kilo or litre.What the whole shopping list costs
Hand over a shopping list and get the total per chain, the cheapest chain that has everything and the cheapest mix across all of them.What's on sale, and what's coming
The current promotions, the leaflets and HOFER's upcoming promotions with their prices.Is it in my store?
The nearest stores of every chain and whether they have a product in stock.
Related MCP server: PriceAtlas MCP Server
Setup
Pick one of three ways. All of them need nothing running in the background: the client starts the server when it needs it.
Claude Desktop, no terminal. Download rabatt-mcp.mcpb from the
latest release and
double-click it. Claude Desktop shows an install dialog, asks for your postcode
(optional) and sets up the dependencies itself. Done; skip the rest of this
section.
With uv, no clone. One command runs the current version straight from GitHub:
uvx --from git+https://github.com/Samxel/rabatt-mcp rabatt-mcp --stdioFrom a clone. Requires Python 3.10+.
git clone https://github.com/Samxel/rabatt-mcp
cd rabatt-mcp
pip install -r requirements.txt
python main.py --stdiouv run main.py --stdio also works without the pip install: main.py
declares its own dependencies.
Your home. Set RABATT_NEAR to your postcode or town (8020, Graz) and
the store and stock tools use it whenever the AI doesn't name a place.
Add it to Claude (and other MCP clients)
Claude Code
One command, no config file:
claude mcp add rabatt -e RABATT_NEAR=8020 -- uvx --from git+https://github.com/Samxel/rabatt-mcp rabatt-mcp --stdioFrom a clone, point it at main.py instead:
claude mcp add rabatt -- python /path/to/rabatt-mcp/main.py --stdioAdd --scope user to have it in every project instead of only the current one.
claude mcp list shows whether the connection came up, claude mcp remove rabatt takes it out again.
Claude Desktop
The .mcpb from Setup is the easiest way. Without it, open
Settings > Developer > Edit Config, add the rabatt entry to
claude_desktop_config.json and restart Claude Desktop:
{
"mcpServers": {
"rabatt": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Samxel/rabatt-mcp", "rabatt-mcp", "--stdio"],
"env": { "RABATT_NEAR": "8020" }
}
}
}From a clone, use "command": "python" and "args": ["C:\\path\\to\\rabatt-mcp\\main.py", "--stdio"] (the full path to
main.py, forward slashes on macOS/Linux).
Custom connectors (Settings > Connectors) connect from Anthropic's cloud, so they cannot reach a server running only on your own machine. To use the tools in claude.ai and the mobile apps, expose the HTTP server (see Run it yourself) through cloudflared, ngrok or a box with a public hostname, and add that HTTPS URL under Settings > Connectors > Add custom connector. Anyone who finds the URL can use the server too, though, so put authentication in front of it.
Every tool is marked read-only, so clients that honour that hint won't ask before each call. In Claude Desktop you can also open Settings > Connectors > rabatt and set the tools' dropdown on the right to Always allow.
Cursor, Codex, VS Code and other JSON-config clients
The same entry as for Claude Desktop, in the client's MCP config. Clients that
connect to a URL instead take "type": "http" and "url": "http://127.0.0.1:8030/mcp", with the server started as below.
Run it yourself
Without --stdio, the server starts over streamable HTTP and prints where it's
listening:
python main.pyStarting rabatt-mcp server on http://127.0.0.1:8030/mcpPoint your client at that URL, e.g. claude mcp add --transport http rabatt http://127.0.0.1:8030/mcp. Host, port and path live at the top of
rabatt/server.py; the port differs from geizhals-mcp (8000), willhaben-mcp
(8010) and kleinanzeigen-mcp (8020), so all four can run side by side.
Installed with pip or uv, the rabatt-mcp command and python -m rabatt do
the same as python main.py.
Tools
Every chain is named billa, spar, hofer or dm; tools that take
chains ask all four when it is left out. A hit's id belongs to its chain
and is what get_product and check_availability take. price and
was_price are in EUR, unit_price is per 1 kg, l or stk (piece).
Paging is per chain: next_offset is where that chain's next page starts,
has_more whether anything is left. Results come as compact JSON, and fields
without a value are left out.
Searches all four chains (or chains) in parallel and returns one entry per
chain with its total, next_offset, has_more and hits (rows 5 by
default, up to 20 per chain). Filters: diet (vegan, vegetarian,
organic, gluten_free, lactose_free), on_sale and max_price. sort
takes "" (relevance), "price" or "unit_price", the one to compare pack
sizes across chains.
A chain that has no such filter is left out with a note instead of answering
unfiltered. Where a chain can't sort or cap the price itself, the server does
it on that chain's 60 most relevant hits and says so in the note. One chain
failing (a timeout, a rate limit) leaves the others' answers standing.
Takes a shopping list of up to 15 items, each as specific as a search
("vollmilch 1l", "barilla spaghetti") and optionally with a quantity
("2x butter"). For every chain it picks the product whose name matches each
item best, sold by the same unit (l, kg, piece) as at most chains, and the
cheapest of equally good matches. A banana pudding does not stand in for
bananas just because it is cheaper.
Returns per chain the total, how many items were found, the missing ones
and the picked items, each with up to two others in case the pick is not
what was meant. cheapest is the chain with the lowest total among those that
found everything, cheapest_mix each item at whichever chain sells it
cheapest. BILLA, SPAR and HOFER are asked by default; add dm through chains
for drugstore goods, it has no food. Every item is one search per chain, so a
long list takes a few seconds.
The products of one category at one chain, by its code from
list_categories, with the same filters, sorting and paging as
search_products (rows 10 by default, up to 20). The category's path is
named once at the top.
Searches the shipped category trees of all four chains (or one) for a German
name. It matches a category's own name first, so "kaffee" finds the coffee
categories rather than every tea under "Kaffee, Tee & Co.", and the whole path
only if no name matches. Returns {count, <chain>: [{code, path}]}, at most limit
categories in all (40 by default, up to 100). Answers offline.
Price and unit price, a description and a picture at every chain, and what each chain has besides:
BILLA: allergens, origin, storage, nutrition, category with its code and the product page
urlSPAR: ingredients, allergens, origin, storage and nutrition
HOFER: ingredients, nutrition claims, storage, category with its code and whether it keeps store stock for the product
dm: ingredients, usage, warnings, features, the GTIN, the category, its "price not raised since" note and the product page
url
Without arguments: the current promotions of BILLA and SPAR, and HOFER's
grouped by the day they started, each day with its themes and total. With
upcoming=True: HOFER's promotions of the coming days, with prices and
available_from. leaflets=True returns the BILLA and SPAR leaflets for
the province of near instead, with their validity and a link. dm runs no
promotions. rows (5 by default, up to 20) counts per chain, and per day at
HOFER.
The stores closest to an Austrian postcode or town (or RABATT_NEAR), per
chain, with id, address, distance in km and today's opening hours.
Checks the nearest limit stores (5 by default, up to 10), or one store_id
from find_stores. stock is "in stock", "low", "out of stock" or "no data", and HOFER's red light is "low or out of stock"; dm adds the number of
pieces. SPAR only knows whether a store lists a product, and HOFER keeps
stock data for its promotion items only (it says so for anything else).
Disclaimer
This is an independent, unofficial project and is not affiliated with, endorsed by, or connected to BILLA, REWE International, SPAR, HOFER, ALDI SÜD or dm. All names and trademarks belong to their respective owners.
It uses unofficial interfaces of the chains' apps and web shops, which can change or go away at any time. Prices are the chains' national ones and can differ in a single store. You are responsible for how you use it: respect the chains' Terms of Service and applicable law, and don't hammer their servers.
If you're a rights holder and have a concern about this repository, please open an issue and I'll respond promptly.
License
MIT LICENSE. Provided "as is", without warranty.
Available Tools
8 toolsbrowse_categoryARead-only
List the products of one category at one chain. Take the code from
list_categories or a product's category_code instead of guessing.
Args: category: The chain's category code. diet / on_sale / max_price / sort: As in search_products. rows: Hits, at most 20. Default 10. offset: Paging offset. Default 0.
Inputs: chain (required), category (required), diet, rows, +4 more.
check_availabilityARead-only
Whether stores near a place (or one store) have a product: stock
is "in stock", "low", "out of stock" or "no data" (HOFER's red light is
"low or out of stock"); dm adds pieces.
BILLA, dm and HOFER give stock levels; SPAR only says whether a store "listed" the product. HOFER keeps stock data for promotion items only.
Args:
product_id: A hit's id from the same chain.
near: An Austrian postcode or town; defaults to RABATT_NEAR.
store_id: One store's id from find_stores instead of the nearest.
limit: Stores to check, at most 10. Default 5.
Inputs: chain (required), product_id (required), near, limit, +1 more.
compare_basketARead-only
What a shopping list costs at each chain. Give one product per item,
as specific as a search ("vollmilch 1l", "barilla spaghetti"), with an
optional quantity ("2x butter"). For each chain and item it takes the
product whose name matches the item best, sold by the same unit (l, kg,
piece) as at most chains, and the cheapest of equally good matches. Each
pick lists up to two others: if the pick is not what was meant (a
banana pudding for bananas), say so and use one of those instead.
Returns per chain {total, found, missing, items}, cheapest: the
chain with the lowest total among those that found every item, and
cheapest_mix: each item at whichever chain sells it cheapest.
Args: items: The shopping list, at most 15 items. chains: Default BILLA, SPAR and HOFER; add dm for drugstore goods, it has no food.
Inputs: items (required), chains.
find_storesARead-only
The stores closest to a place, per chain, with id (what
check_availability takes), address, distance in km and the hours open
today.
Args: near: An Austrian postcode or town; defaults to RABATT_NEAR. limit: Stores per chain, at most 10. Default 3.
Inputs: near, limit, chains.
get_productARead-only
Full detail of one product: price and unit price, description,
ingredients, allergens, origin, nutrition (where the chain has them),
category and a picture. BILLA and dm add the product page url.
Args:
product_id: A hit's id from the same chain.
Inputs: chain (required), product_id (required).
get_promotionsARead-only
What is on sale. Without upcoming: the current promotions of
BILLA and SPAR, and HOFER's grouped by the day they started. With
upcoming: HOFER's promotions of the coming days with prices (the only
chain that publishes them early). dm runs no promotions.
HOFER entries carry date and themes. For promotions of one kind
("Kaffee in Aktion") use search_products with on_sale instead (BILLA and
SPAR; HOFER's are only here).
Args:
upcoming: Promotions that have not started yet instead of current ones.
leaflets: Return links to the BILLA and SPAR leaflets of the
province of near instead of products.
near: Postcode or town, for the leaflets' province.
rows: Products per chain (per day at HOFER), at most 20. Default 5.
offset: Paging offset. Default 0.
Inputs: near, rows, chains, offset, +2 more.
list_categoriesARead-only
Look up category codes by German name, for browse_category.
Matches the category's own name ("milch" finds "Kühlwaren / Milch"), or
its whole path if no name matches, and returns {count, <chain>: [{code, path}]}.
Args: query: Case- and accent-insensitive substring. Omit to list all. limit: Categories in all, at most 100. Default 40.
Inputs: chain, limit, query.
search_productsARead-only
Search products by keyword at every chain (or the given chains)
at once, e.g. "hafermilch" or "milka". Put a brand in the query.
Returns one entry per chain: {total, next_offset, has_more, hits}, or
a note when the chain was left out or sorted here.
Args: query: Free-text search term, German works best. diet: Keep only vegan, vegetarian, organic, gluten_free or lactose_free products. on_sale: Only products on sale right now. max_price: Highest price in EUR. sort: "" (relevance, default), "price" (cheapest first) or "unit_price" (cheapest per kg / l / piece, for comparing). Where a chain cannot sort itself it is done on its 60 most relevant hits, which a note then says. rows: Hits per chain, at most 20. Default 5. offset: Paging offset per chain. Default 0.
Inputs: query (required), diet, rows, sort, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes: product search, category browsing, detail lookup, basket comparison, store lookup, availability, and promotions are all separate workflows. There is minor overlap between search_products and browse_category (both list products) and between get_promotions and search_products with on_sale, but the descriptions explicitly clarify when to use each.
Every tool follows a clear snake_case verb_noun pattern: search_products, compare_basket, find_stores, browse_category, list_categories, get_product, check_availability, get_promotions. There are no mixed conventions or vague names.
Eight tools is well-scoped for a grocery price-comparison server. Each tool covers a distinct part of the workflow—discovery, detail, store lookup, availability, promotions, and basket comparison—without obvious redundancy.
The surface covers the core domain well: product search and browsing, product detail, cross-chain basket cost comparison, store locator, stock availability, and promotions/leaflets. A few minor gaps remain, such as direct item-level cross-chain comparison outside a basket and richer chain metadata, but no critical workflow is missing.
Maintenance
Related MCP Connectors
Live prices, deals & optimal multi-stop shopping routes for German grocery & drug stores.
Turn any shopping list into a ready-to-checkout grocery cart across 26 European supermarkets.
Search Coles, Woolworths and ALDI at once: prices, unit prices, specials, cheapest store per item.
Search products, compare prices and discover deals across 6 European markets with your AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides grocery price and nutritional information search capabilities, allowing AI agents to search for food products, compare prices, and analyze nutritional content across different grocery stores.1-
- AlicenseAqualityDmaintenanceEnables AI assistants to track global food prices, search products by barcode or name, and compare costs across 27 countries. It provides tools for real-time price scraping and data aggregation from major international supermarket chains.84MIT
- 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 retrieve account, order, delivery, and discount information across multiple European online grocery platforms.MIT