@chrischall/hellofresh-mcp 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "HelloFresh (US) tools for Claude Code",
8
- "version": "0.0.0"
8
+ "version": "0.2.0"
9
9
  },
10
10
  "plugins": [
11
11
  {
@@ -13,7 +13,7 @@
13
13
  "displayName": "HelloFresh",
14
14
  "source": "./",
15
15
  "description": "Unofficial HelloFresh (US) tools for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes via MCP",
16
- "version": "0.0.0",
16
+ "version": "0.2.0",
17
17
  "author": {
18
18
  "name": "Chris Chall"
19
19
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hellofresh",
3
3
  "displayName": "HelloFresh",
4
- "version": "0.0.0",
4
+ "version": "0.2.0",
5
5
  "description": "Unofficial HelloFresh (US) tools for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes via MCP",
6
6
  "author": {
7
7
  "name": "Chris Chall"
package/README.md CHANGED
@@ -55,7 +55,7 @@ The plugin also installs the [`hellofresh` skill](skills/hellofresh/SKILL.md), w
55
55
 
56
56
  ### Claude Desktop (.mcpb)
57
57
 
58
- Install the `.mcpb` bundle from the [latest release](https://github.com/chrischall/hellofresh-mcp/releases). Its optional settings (bridge port, write confirmation mode, confirmation prompts, debug logging) set the environment variables in [Configuration](#configuration); leave them blank for the defaults.
58
+ Install the `.mcpb` bundle from the [latest release](https://github.com/chrischall/hellofresh-mcp/releases). Its optional settings (bridge port, time zone, write confirmation mode, confirmation prompts, debug logging) set the environment variables in [Configuration](#configuration); leave them blank for the defaults.
59
59
 
60
60
  ## Setup: sign in and pair (once)
61
61
 
@@ -84,6 +84,7 @@ If calls fail with "Not signed in to HelloFresh", sign in again at hellofresh.co
84
84
  | Env var | Default | Purpose |
85
85
  |---|---|---|
86
86
  | `HELLOFRESH_WS_PORT` | `37149` | The fetchproxy bridge port. The whole fetchproxy fleet and ContextMint Bridge share `37149`. Override it only for local testing, or when a host injects a per-registration port. |
87
+ | `MCP_USER_TZ` | the system zone | Your IANA time zone, for example `America/New_York`. It decides "this week" in `hf_recent_picks`. Set it when hosted, because a hosted server runs in UTC. |
87
88
  | `HELLOFRESH_DEBUG` | off | Log the bridge's role and lifecycle to stderr. |
88
89
  | `MCP_CONFIRM_MODE` | `ask-user` | What a write does on a client that cannot show a confirmation prompt. See below. |
89
90
  | `MCP_CONFIRM_ELICITATION` | `on` | `off` never shows a confirmation prompt, so every client takes the `MCP_CONFIRM_MODE` path. Use it for clients that declare prompts but never render them. |
@@ -92,7 +93,7 @@ If calls fail with "Not signed in to HelloFresh", sign in again at hellofresh.co
92
93
 
93
94
  ### Planner profiles
94
95
 
95
- `hf_suggest_meals` and `hf_weekly_plan` plan a week for a named **profile**: who the box feeds and how to rank the menu. Each profile is:
96
+ `hf_suggest_meals`, `hf_weekly_plan` and `hf_plan_weeks` plan a week for a named **profile**: who the box feeds and how to rank the menu. Each profile is:
96
97
 
97
98
  | Field | Required | Meaning |
98
99
  |---|---|---|
@@ -137,18 +138,18 @@ After sending, each write re-reads HelloFresh and reports `status: "verified"` o
137
138
 
138
139
  ## Tools
139
140
 
140
- Read tools take `view: compact | full` (default `compact`). Money is US cents; prices are estimates (HelloFresh has no single "box total" read, and premiums multiply by servings).
141
+ Read tools take `view: compact | full` (default `compact`). A box `price` with `source: "hellofresh"` is HelloFresh's own checkout total (US dollars: voucher, shipping and tax applied) from its price calculator, read through the browser tab; that calculator leaves premium recipe charges out, so `premiumUpcharge` reports them separately and `totalWithPremiums` adds them. When the calculator cannot be read, `price` falls back to a local estimate (`source: "estimate"`, with the `reason`) in the same unit and field names: every `price` amount is US dollars whichever the source — `grandTotal` (premiums left out), `premiumUpcharge` and `totalWithPremiums`. A browser bridge that is down is tried once per call: later weeks in the same call go straight to the estimate with the same reason. Menu premiums (`premium*Cents` fields on meals and picks) are US cents and multiply by servings.
141
142
 
142
143
 
143
144
  | Tool | What it does |
144
145
  | --- | --- |
145
146
  | `hf_healthcheck` | Check the ContextMint Bridge link, the HelloFresh session token and a subscriptions probe (status only). |
146
147
  | `hf_get_subscription` | The subscription: box size, price, preset, delivery slot and frequency, next delivery and cutoff, voucher. Never name, email, address or payment. |
147
- | `hf_list_deliveries` | Upcoming delivery weeks: dates, cutoff, status, box size, estimated total with the voucher discount. `view: "brief"` gives one line per week. |
148
- | `hf_get_delivery` | One delivery week: dates, status, box size, current meal picks, allowed actions, alternative days, estimated total including premiums. |
148
+ | `hf_list_deliveries` | Upcoming delivery weeks: dates, cutoff, status, box size and each running week's box price (HelloFresh's checkout total + premiums, or a labelled estimate). `view: "brief"` gives one line per week. |
149
+ | `hf_get_delivery` | One delivery week: dates, status, box size, current meal picks, allowed actions, alternative days, and the box price (HelloFresh's checkout total + premiums, or a labelled estimate). |
149
150
  | `hf_get_menu` | A week's menu at its box size, with `seafood_only`, `kid_friendly`, `max_minutes`, `max_premium_per_serving` and `selected_only` filters and protein swaps. |
150
151
  | `hf_list_box_sizes` | The box sizes (meals × people) the subscription can switch to, the current one marked. |
151
- | `hf_recent_picks` | Meals picked in recent weeks (best effort; unreadable weeks are named), to avoid repeating a recipe. |
152
+ | `hf_recent_picks` | Meals picked in recent weeks (best effort; unreadable weeks are named, weeks before the first delivery are `no_box`), to avoid repeating a recipe. |
152
153
  | `hf_select_meals` | Pick a week's meals by menu index (replaces the current picks; count must match the box). Confirm-gated, verified by re-reading the menu. |
153
154
  | `hf_set_week_size` | Change ONE week's box size (people, optionally meals), keeping its delivery day; picks may reset. Refuses the subscription's first box (HelloFresh won't resize it). Confirm-gated, verified by re-reading the week. |
154
155
  | `hf_set_week_delivery_day` | Move ONE week to another offered delivery day/slot, keeping its box size. Confirm-gated, verified. |
@@ -157,13 +158,22 @@ Read tools take `view: compact | full` (default `compact`). Money is US cents; p
157
158
  | `hf_change_plan_size` | Permanently change the plan's box size. **Resets every one-week size** (`hf_set_week_size`) to the new plan size: the preview lists those weeks and the result says which reverted, to re-apply. Confirm-gated, verified by re-reading the plan. |
158
159
  | `hf_change_delivery_schedule` | Permanently change the regular delivery slot and/or frequency (every 1–4 weeks). Confirm-gated, verified. |
159
160
  | `hf_list_profiles` | The meal-planner profiles (servings, meals, allowed categories, preferences, premium cap) and where they were loaded from. Local config only. |
160
- | `hf_suggest_meals` | Ranked picks for a week and a planner profile (e.g. a 4-person kid-friendly week), skipping recent repeats and favouring varied proteins: the top picks plus 2 alternates per slot, with reasons. Read-only. |
161
- | `hf_weekly_plan` | One read to approve a week: box size needed vs current, suggested picks, estimated total and voucher warning, a one-line summary, and the exact follow-up write calls in order (never a resize of the first box, which keeps its size — see `notes`). Read-only. |
161
+ | `hf_suggest_meals` | Ranked picks for a week and a planner profile (e.g. a 4-person kid-friendly week), skipping recent repeats and recipes you rated 2 or lower, favouring your favourites and varied proteins: the top picks plus 2 alternates per slot, with reasons. Read-only. |
162
+ | `hf_get_recipe` | One meal's full recipe by week + menu index (protein swaps say which protein they swap in): time, difficulty, allergens, nutrition per serving, ingredient amounts for the week's servings (nearest listed yield otherwise, flagged), plain-text steps, utensils, recipe card PDF and web page. Recipe text is framed as untrusted third-party content. Read-only. |
163
+ | `hf_cooking_plan` | A week's picked meals in a recommended cook order — fish, shellfish, other seafood, poultry, ground meat, whole cuts of beef/pork/lamb, vegetarian last; ties by shorter time — each with a suggested day from the delivery date, why, total time, key ingredients and recipe card. Read-only. |
164
+ | `hf_weekly_plan` | One read to approve a week: box size needed vs current, suggested picks, the box price for the size it needs (HelloFresh's checkout total + premiums, or a labelled estimate), a one-line summary, and the exact follow-up write calls in order (never a resize of the first box, which keeps its size — see `notes`). Read-only. |
165
+ | `hf_plan_weeks` | Plan 1–6 weeks at once, each `{week, profile}` (which profile applies to which week is your call — it reads no calendar): each week's `hf_weekly_plan` answer, never suggesting a recipe already planned for an earlier week, a combined summary (one line per week), the total of HelloFresh's own box prices (estimate-only weeks named, not added) and the follow-up writes per week. Skipped weeks are reported as skipped. Read-only. |
166
+ | `hf_promo_status` | The promo/voucher tracker: coupon code, active, box limit, boxes used (exact for a new account, else assumed — `next_box_number` corrects it) and left, and each upcoming running week's real discount from HelloFresh's price calculator (coupon percent, discount, grand total — or `unavailable` with the reason), with warnings: a running week with no discount, a coupon percent change from the week before, an inactive voucher, fewer than 4 discounted boxes left. Read-only. |
167
+ | `hf_list_favorites` | The recipes you favourited (recipe ids and dates; never your customer id); give a week to name the ones on its menu. The planner favours them. |
168
+ | `hf_list_ratings` | Your own recipe ratings (v2 and/or the 5-star v3 scale); give a week to name them. Parsed defensively — the item shape isn't observed live yet, so unreadable items are skipped and counted. The planner never suggests a recipe you rated 2 or lower. |
169
+ | `hf_favorite_recipe` | Favourite a recipe from a week's menu by index (a protein swap favourites its own recipe). Confirm-gated, verified by re-reading the favourites. Undo with `hf_unfavorite_recipe`. |
170
+ | `hf_unfavorite_recipe` | Remove a recipe on a week's menu from your favourites. Confirm-gated, verified. Undo with `hf_favorite_recipe`. |
162
171
 
163
172
  ## Limits
164
173
 
165
174
  - **No cancel.** Cancelling the subscription is deliberately not exposed — do it on the website.
166
- - **No preferences or extras.** The meal-preference preset, add-ons, favourites, ratings and payments are out of scope.
175
+ - **No preferences or extras.** The meal-preference preset, add-ons and payments are out of scope.
176
+ - **Ratings are read-only.** Rating a recipe isn't supported: HelloFresh's rate call hasn't been verified live (it needs a delivered box).
167
177
  - **US only.** Every call uses `country=US` and `locale=en-US`.
168
178
  - **Picks before the cutoff only.** HelloFresh refuses changes to a week after its cutoff.
169
179