**It can never order or pay. You do.** That code does not exist, and a test fails if it shows up ([why](docs/adr/0001-the-human-always-pays.md)).
**It counts anonymous usage only when you say yes.** No id, no personal data. [Exactly what is sent](#usage-counts).
## 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](docs/skills.md).
## Requirements
- macOS, Linux or Windows (x64). Windows on ARM is not supported yet: a dependency (`cryptography`) has no ready-made build for it.
- [uv](https://docs.astral.sh/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
```sh
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](docs/setup.md)).
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](docs/setup.md). nemlig's offers and REMA 1000's search work with no login. No terminal? [Join the waitlist](https://handlemcp.dk).
## 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, a page at a time; `madplan` is the store's own week plans |
| `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](docs/tools.md).