handle-mcp
You can use this MCP server to plan and price groceries across nemlig.com, BilkaToGo, and REMA 1000, then fill a store cart for you to review and pay—it never orders or pays.
Search products by price, unit price, offers, and store.
Find recipes, browse featured/weekly recipes, and get ingredient lists scaled to people.
List weekly offers and free gifts by category.
Get nutrition information for products.
Compare a shopping list across stores, including fees and minimum-order status.
View current carts, delivery info, delivery slots, and past orders.
Set absolute cart quantities or add recipe ingredients to a cart after confirmation, with skip/swap/include options.
For REMA 1000, manage only the shopping list named “handle-mcp.”
handle-mcp
Let your AI agent shop at nemlig.com, BilkaToGo and REMA 1000. An MCP server for Claude, Grok or Codex. It reads the offers, plans the week on your budget and fills the cheapest cart. You pay.
It can never order or pay. You do. That code does not exist, and a test fails if it shows up (why).
It counts anonymous usage only when you say yes. No id, no personal data. Exactly what is sent.
How it works
Plan. Give your agent a budget. It reads this week's offers and the recipes, and plans the meals around them.
Compare. It prices the whole list in every store: pack sizes, offers, delivery fee and minimum order.
Fill. It fills the cheapest store's cart with your login. Only the cart. (At REMA 1000: your shopping list "handle-mcp".)
Pay. You open the store, check the cart, pick a delivery or pickup time and pay.
Taste, budget and meal rules live in your own prompt or skill. The server finds and counts. Build your own skill.
Related MCP server: TilbudsTrolden
Requirements
macOS, Linux or Windows (x64). Windows on ARM is not supported yet: a dependency (
cryptography) has no ready-made build for it.uv. It fetches Python 3.12+ if you do not have it.
An MCP client, Grok, Claude Code, Claude Desktop or Codex etc.
An account at nemlig.com or BilkaToGo with home delivery to your address, or at REMA 1000 (Køb & Hent or shopping in the store yourself).
Install
uvx handle-mcp@latest login nemlig
claude mcp add handle -- uvx handle-mcp@latest@latest runs the newest release at each start. To choose when to update, use a version instead, e.g. handle-mcp@1.5.2 (more).
Then ask:
"We have 4,000 kr a month for food. Plan this week's meals." It asks who eats, what you like and which store, then plans on this week's offers and fills the cheapest cart after your yes.
"What is on offer this week? Any free gifts?"
"Which delivery times are cheapest tomorrow?"
Other stores, Claude Desktop, headless machines and AI agents (--from-env): setup. nemlig's offers and REMA 1000's search work with no login. No terminal? Join the waitlist.
Tools
Tool | Writes? | nemlig | BilkaToGo | REMA 1000 | What |
| no | ✓ | ✓ | ✓ | Price, price per kg/l, offers |
| no | ✓ | ✓ | The store's recipes by dish | |
| no | ✓ | ✓ | ✓ | Featured recipes (BilkaToGo: the week's madplan, REMA 1000: from the leaflet), by tag (nemlig, REMA 1000) or by category, a page at a time; |
| no | ✓ | ✓ | ✓ | The products to buy for a recipe, for any number of persons (nemlig) |
| no | ✓ | ✓ | ✓ | This week's offers and free gifts, also per category |
| no | ✓ | ✓ | ✓ | Nutrition per 100 g/ml from the label |
| no | ✓ | ✓ | ✓ | Prices a list in every store, fees included, cheapest first |
| no | ✓ | ✓ | ✓ | Cart lines, fees, total, in one store or every store |
| yes | ✓ | ✓ | ✓ | Sets quantities in the cart (REMA 1000: the list "handle-mcp"). Nothing else |
| yes | ✓ | ✓ | ✓ | Puts a recipe's products in the cart, after your yes. Nothing else |
| no | ✓ | ✓ | ✓ | Chosen time, fees |
| no | ✓ | ✓ | ✓ | Free times, cheapest first (REMA 1000: Køb & Hent times) |
| no | ✓ | ✓ | What you usually buy |
Full arguments and fields: docs/tools.md.
Usage counts
Anonymous counts, so we can see that handle-mcp is used and keep it free. The data is never sold. Only totals are shared, e.g. carts filled in a week, and totals may be shown to the stores. Off until you say yes: before that nothing is sent and no file is written. Every event has version and date (day only):
Event | When | Fields |
| once a day per machine |
|
| the first tool call of the day (listing tools is not a call) |
|
| once a day per store |
|
| after 30 quiet minutes, only if every line went in; then nothing until the cart is empty again |
|
| the same, for REMA 1000's shopping list |
|
Never sent: names, addresses, phone, email, logins, product names, order ids or any id for you or your machine. Events go to Umami Cloud over HTTPS. Umami is a US company. It sees your IP address when an event arrives: to answer, to guess the country and to make its own visitor hash (IP, User-Agent and a salt that rotates monthly). The IP is not a field in its analytics records; Umami and its providers may keep it in operational and security logs (Umami's privacy notice). Sends run in the background with a 2 second timeout, and a failed send never breaks a tool. Cart links carry utm_source=handlemcp.
You choose:
handle-mcp telemetry on # shows what is counted, then turns it on
handle-mcp telemetry off # the default; also deletes the saved days
handle-mcp telemetry statushandle-mcp login <store> asks once on a terminal, and Enter means no. With no terminal: HANDLE_TELEMETRY=1. HANDLE_TELEMETRY=0, DO_NOT_TRACK=1 and --no-telemetry always win over a yes.
The only file is ~/.config/handle-mcp/telemetry.json: your answer, the day each daily event was last sent, and which stores have a counted cart that is not empty yet.
Your own Umami: HANDLE_TELEMETRY_URL and HANDLE_TELEMETRY_WEBSITE. Why: ADR 0005 and ADR 0014.
More
Setup · Skills · Security · Troubleshooting · Testing · Roadmap · Contributing · Credits
Unofficial. Uses the stores' private website APIs, so it can break any day. Not affiliated with nemlig.com, Salling Group or REMA 1000.
Free, and it stays free. If it saves you time or money:
Available Tools
14 toolsadd_recipe_to_cartADestructive
Put a recipe's products in one store's cart, as get_recipe shows them.
ASK THE HUMAN FIRST: show the list from get_recipe and get a yes. Never orders or pays.
Adds to what is already in the cart, so calling it twice adds twice.
have_at_home items (salt, oil) are left out unless named in include. skip leaves out
ingredients; swap maps an ingredient (or product id) to one of its alternatives' product
ids. Names: ingredient or product id. Returns before/added/after per product, the skipped
items and the new cart. Check ok per product: a store can refuse some lines; tell the
human which ones failed. BilkaToGo: one pack per product; persons is not used.
REMA 1000: the cart is the shopping list "handle-mcp"; persons is not used, the packs are
for the recipe's own persons.
Inputs: store (required), recipe (required), skip, swap, +2 more.
compare_basketARead-only
Price a shopping list in each store, e.g. ["2 x letmælk 1 l", "rugbrød", "æg 10 stk"]. Write the amount you need ("fior di latte 300 g"), not a pack size. Returns per item a suggested product and up to 5 "candidates" (the suggestion first, one øko when found) with the cost for the amount and flags: name_match, size_fits, prepared (cold cuts, smoked, breaded), processed (frost/konserves), blend, oeko. The suggestion is a guess by word rules: pick the candidate that fits the user, and ask when "sure" is false or none fits (search_products finds more). Unknown facts and false flags are left out. Also total incl. fees and minimum order met. Only reads: use set_cart_quantities with the chosen ids after.
Inputs: items (required), stores.
get_cartARead-only
Show the cart as it is now: lines, fees, total, whether the minimum order is met and url, the
store's cart page where the human checks the cart and pays: give it to the human. With store
that store's cart; without, every store's cart keyed by store name, a failing store
(e.g. no login) as {"error": ...} next to the others. REMA 1000: the cart is the shopping
list "handle-mcp" in REMA's app, where the human orders. Use it before set_cart_quantities to
see what is there; for past orders use get_orders.
Inputs: store.
get_delivery_infoARead-only
Show the delivery the human has already chosen in one store: time, edit deadline and next
free day, plus fees and minimum order. delivery_mode is "home", "pickup" (BilkaToGo,
REMA 1000, with pickup_store) or null when unknown; the time is null when none is chosen.
To see free times to choose from, use list_delivery_slots. Only reads.
Inputs: store (required).
get_nutritionARead-only
Nutrition per 100 g or 100 ml from the store's label: energy_kj, energy_kcal, fat,
saturated_fat, carbohydrate, sugar, protein, salt, fibre as strings ("0.13", "<0.5"), null
when the label leaves a line out. No label (often fresh meat, fruit): nutrition null with a
reason. Up to 50 ids from search_products, list_offers or compare_basket; duplicates are
removed. nemlig, BilkaToGo and REMA 1000; no login needed.
Inputs: store (required), product_ids (required).
get_orderARead-only
Show one past order with every product bought: name, product id, count and price. Get the id from get_orders first. The product ids work in set_cart_quantities to buy the same again. nemlig and BilkaToGo; needs a login. Only reads.
Inputs: store (required), order_id (required).
get_ordersARead-only
List the human's past orders in one store, newest first: id, status, date and total. Use it for "what do we usually buy"; then get_order with an id for the products. nemlig and BilkaToGo; needs a login. Only reads.
Inputs: store (required), limit.
get_recipeARead-only
The products to buy for one of the store's recipes, as on its "Se varer og læg i kurv":
per ingredient the store's product, packs for persons and alternatives. have_at_home
items (salt, oil) are what the store assumes you have: left out of total, ask first.
Also image, description, method, tip. Scale ingredients from ingredients_persons.
recipe is the recipe's link or id from search_recipes or list_recipes. Put the products
in the cart with add_recipe_to_cart after the human says yes.
BilkaToGo: one pack per product, no alternatives; persons is fixed (null for pieces).
REMA 1000: no login needed; packs for the recipe's own persons, persons is not used; no
alternatives; an ingredient REMA has no product for is in ingredients only.
missing: product ids not sold at the address: say so to the human.
Inputs: store (required), recipe (required), persons.
list_delivery_slotsARead-only
List free delivery times for the next days days with the delivery fee per slot, in time
order, plus the 3 cheapest per store. nemlig: "Personlig" (you are home) or "Fleksibel"
(left at the door). BilkaToGo: one flat fee, night delivery, or pickup times ("Afhentning")
when the cart is set to pickup. REMA 1000: Køb & Hent times in the store chosen at login, no
fee. Only reads: it never chooses a time, store or mode. The human chooses on the store's
website. For the time already chosen, use get_delivery_info.
Inputs: days, stores.
list_offersARead-only
List this week's offers in each store, also items you would not search for. For one
named product, use search_products.
Without category, a first look only: nemlig's Skarp pris, Priskup, Dagstilbud, Undgå
madspild and gifts; the first of BilkaToGo's offers; REMA 1000's leaflet (Avisvarer). For a
meal plan or a shopping list, call once per category you buy from: every offer in it, in
each store.
Each product has price, before_price and offer_until (null when the store does not say),
offer_text (multi-buy, max per customer) and campaign (the store's name for the offer). A
product on two lists is shown once. A list the store fails to send is left out (see the
server log). Free gifts have price 0, max_per_order and their own product id, and are not
cut by limit.
Inputs: limit, stores, category.
list_recipesARead-only
Browse the store's recipes, with link, when the human has no dish in mind (for a dish by
name, use search_recipes). No tags or category: this week's featured
recipes (nemlig: "Ugens udvalgte"). With tags: recipes that have every tag, e.g.
["Familievenlig", "Budgetvenlig"] or ["Under 30 min", "Kylling"]. nemlig's tags include
Under 20/30 min, Budgetvenlig, Familievenlig, Populær, Mad til flere dage, Vegetarisk,
Kylling, Fisk, Oksekød, Gris and cuisines; an unknown tag answers with the full list.
category (nemlig: aftensmad by default, frokost, madpakke, morgenmad, ...; a
sub-category by name or with its parent, e.g. "julefrokost" or
"juleopskrifter/julefrokost"; an unknown one answers with nemlig's list).
To read every recipe in a tag or category: ask again with offset raised by limit, the
same limit each time, until a store gives fewer than limit.
To pick by what is in the dish (what the household does not eat, what is in the fridge, few
ingredients): ingredients true gives each recipe its ingredient lines, as the store
wrote them (null with ingredients_reason when the store did not give them). You judge:
salmon is fish; a dish with one unwanted line ("1 tsk oregano") can often be cooked
without it. Offer that to the human as "fits if we leave out ..."; after a yes,
add_recipe_to_cart has skip and swap. without is a safety net for that: it removes
nothing, and gives each recipe hits, its name and the lines that hold one of the words
(inside longer words too: "løg" also hits "hvidløg"); hits null = the lines were not
read, so nothing was checked. No store has such a filter itself.
category "madplan" is the store's own week plans, the week in group: nemlig's "Ugens
madplan", earlier weeks and "Mad til flere dage" (dinners and lunch boxes in one pack; no
tags with it); BilkaToGo's plan for this week and the weeks before, 7 dinners each; REMA
1000 has no week plan and answers with its "Avisopskrifter".
BilkaToGo: no tags; no category is this week's "Madplan" (7 dinners); category is a path
like aftensmad or aftensmad/pastaretter, an unknown one answers with the list.
REMA 1000: no tags or category is "Avisopskrifter" (dinners from this week's leaflet);
tags are REMA's own, e.g. Aftensmad, Mad for børn, Nem hverdagsmad, Kødfri, Fisk & skaldyr,
and category is one more tag; an unknown tag answers with the list.
Each recipe has the store's own tags (BilkaToGo has none), and time and persons when
the store's list says them (REMA 1000; else null: get_recipe has them).
Use get_recipe.
Inputs: tags, limit, offset, stores, +3 more.
search_productsARead-only
Search products in one or more stores. Returns price, price per kg/l, offers and EAN when known. Stores rank by relevance and put cheap products far down: when the human asks for the cheapest, use sort="unit_price" (per kg/l/stk) or "price". For a whole shopping list, use compare_basket.
Inputs: query (required), sort, limit, stores.
search_recipesARead-only
Find the stores' own recipes, e.g. "kylling karry". Returns name and link.
Use it when the human names a dish; to browse by tag or category, use list_recipes.
Use get_recipe for time, persons and the products to buy.
nemlig and REMA 1000: BilkaToGo has no recipe search, use list_recipes with category
there.
Inputs: query (required), limit, stores.
set_cart_quantitiesADestructiveIdempotent
Set ABSOLUTE quantities in one store's cart (0 removes the product). Never orders or pays. Product ids come from search_products, compare_basket or list_offers. Returns a result per product and the new cart with its url: give the human that link to check and pay. REMA 1000: sets the shopping list "handle-mcp", never another list.
Inputs: items (required), store (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools are cleanly separated by resource and action, and the descriptions explicitly steer between browse/find/detail workflows. There is minor overlap between search_products and compare_basket for priced product candidates, and between add_recipe_to_cart and set_cart_quantities for cart modification, but the boundaries are generally clear.
All tool names use consistent snake_case verb_noun patterns such as search_products, get_cart, list_offers, and compare_basket. Singular/plural variants like get_order and get_orders are natural and do not introduce confusion.
The server has 14 tools for a broad grocery-shopping domain spanning products, recipes, cart, offers, delivery, orders, and nutrition. Each tool covers a distinct workflow, and the count stays within a well-scoped range without feeling padded.
The surface covers the core workflows: product search, offers, basket pricing, recipe discovery and detail, cart read/write, nutrition, delivery information and slots, and past orders. Minor gaps remain, such as no explicit store-listing or login-status tool and no dedicated cart-clear operation, though most can be worked around and checkout is intentionally excluded.
Maintenance
Related MCP Connectors
Danish grocery catalog as MCP tools: live offers across all major chains, stores, EAN lookup, stock.
Plan the next grocery basket from past Nemlig.com orders, compare Danish shop prices, fill the cart.
Barcode-verified UK multi-merchant price comparison, deals, and Category Intelligence MCP server.
Live prices, deals & optimal multi-stop shopping routes for German grocery & drug stores.
Related MCP Servers
- FlicenseAqualityBmaintenanceA Model Context Protocol server for real-time Swiss grocery shopping that searches and compares products across 8 major Swiss retailers (Migros, Coop, Aldi, Denner, Lidl, Farmy, Volgshop, Otto’s), normalizes per-unit prices, surfaces promotions, computes optimal multi-store shopping plans, and works with any MCP-compatible client without API keys or accounts.7257 npm47-
- AlicenseAqualityBmaintenanceAn MCP server for Nordic grocery shopping that finds deals across supermarkets in Denmark, Norway, Sweden, and Finland, plans weekly dinners around cheap ingredients, and generates shopping lists grouped by store.1850MIT
- AlicenseAqualityNot gradedmaintenanceMCP server that queries Norwegian grocery store flyers (kundeaviser) to help AI agents plan cheap meals based on current offers.71MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that compares grocery basket prices across Blinkit, Zepto, BigBasket, and Amazon Now in real time, identifying the cheapest platform for the entire basket.9 npmMIT