Skip to main content
Glama

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.

Install → · handlemcp.dk

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

  1. Plan. Give your agent a budget. It reads this week's offers and the recipes, and plans the meals around them.

  2. Compare. It prices the whole list in every store: pack sizes, offers, delivery fee and minimum order.

  3. Fill. It fills the cheapest store's cart with your login. Only the cart. (At REMA 1000: your shopping list "handle-mcp".)

  4. 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

search_products

no

✓

✓

✓

Price, price per kg/l, offers

search_recipes

no

✓

✓

The store's recipes by dish

list_recipes

no

✓

✓

✓

Featured recipes (BilkaToGo: the week's madplan, REMA 1000: from the leaflet), by tag (nemlig, REMA 1000) or by category

get_recipe

no

✓

✓

✓

The products to buy for a recipe, for any number of persons (nemlig)

list_offers

no

✓

✓

✓

This week's offers and free gifts, also per category

get_nutrition

no

✓

✓

✓

Nutrition per 100 g/ml from the label

compare_basket

no

✓

✓

✓

Prices a list in every store, fees included, cheapest first

get_cart

no

✓

✓

✓

Cart lines, fees, total, in one store or every store

set_cart_quantities

yes

✓

✓

✓

Sets quantities in the cart (REMA 1000: the list "handle-mcp"). Nothing else

add_recipe_to_cart

yes

✓

✓

✓

Puts a recipe's products in the cart, after your yes. Nothing else

get_delivery_info

no

✓

✓

✓

Chosen time, fees

list_delivery_slots

no

✓

✓

✓

Free times, cheapest first (REMA 1000: Køb & Hent times)

get_orders / get_order

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

server_started

once a day per machine

os

first_tool_call

the first tool call of the day (listing tools is not a call)

tool

login_ok

once a day per store

store

cart_filled

after 30 quiet minutes, only if every line went in; then nothing until the cart is empty again

store, basket_total_dkk (nearest 50 kr), item_count

list_filled

the same, for REMA 1000's shopping list

store, basket_total_dkk, item_count

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 status

handle-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.

MIT

Free, and it stays free. If it saves you time or money:

Available Tools

14 tools
add_recipe_to_cartA
Destructive

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_basketA
Read-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_cartA
Read-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_infoA
Read-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_nutritionA
Read-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_orderA
Read-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_ordersA
Read-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_recipeA
Read-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_slotsA
Read-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_offersA
Read-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_recipesA
Read-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, ...). 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. With two or more tags only the first tag's 100 most popular are checked: few or none can mean "try one tag". Use get_recipe.

Inputs: tags, limit, stores, category.

search_productsA
Read-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_recipesA
Read-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_quantitiesA
DestructiveIdempotent

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

    A4.4/5.0

    Scored across 14 tools

    Disambiguation5/5

    The tools separate resource discovery, detail reads, cart mutation, delivery, offers, and order history cleanly. The closest overlaps—search_recipes vs. list_recipes and search_products vs. list_offers—are explicitly delimited in the descriptions, so an agent can select by resource and action without confusion.

    Naming Consistency5/5

    All names use a consistent snake_case verb_noun pattern, with predictable verbs such as get_, list_, search_, add_, compare_, and set_. Singular/plural distinctions like get_order vs. get_orders are also clear and consistent.

    Tool Count5/5

    Fourteen tools is well within a reasonable range for a multi-store grocery and recipe assistant. Each tool covers a distinct workflow area—recipes, products, offers, cart, delivery, nutrition, or orders—without obvious filler.

    Completeness4/5

    The set covers the core shopping lifecycle: discovery, price comparison, cart management, delivery information, nutrition, and past orders. Minor gaps remain around richer product detail such as allergens or ingredients, and checkout is intentionally excluded, so the surface is strong but not fully exhaustive.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      B
      maintenance
      A 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.
      7
      215 npm
      46
      -
    • A
      license
      A
      quality
      B
      maintenance
      An 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.
      18
      50
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that queries Norwegian grocery store flyers (kundeaviser) to help AI agents plan cheap meals based on current offers.
      7
      1
      MIT