@cyanheads/openfoodfacts-mcp-server 0.1.9 → 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.
- package/AGENTS.md +9 -9
- package/CLAUDE.md +9 -9
- package/README.md +11 -9
- package/changelog/0.1.x/0.1.10.md +22 -0
- package/changelog/0.2.x/0.2.0.md +24 -0
- package/dist/mcp-server/tools/definitions/compare-products.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/compare-products.tool.js +5 -1
- package/dist/mcp-server/tools/definitions/compare-products.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-product.tool.d.ts +16 -3
- package/dist/mcp-server/tools/definitions/get-product.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-product.tool.js +173 -30
- package/dist/mcp-server/tools/definitions/get-product.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/index.d.ts +26 -4
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-products.tool.d.ts +10 -1
- package/dist/mcp-server/tools/definitions/search-products.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-products.tool.js +69 -10
- package/dist/mcp-server/tools/definitions/search-products.tool.js.map +1 -1
- package/dist/services/openfoodfacts/openfoodfacts-service.d.ts +13 -8
- package/dist/services/openfoodfacts/openfoodfacts-service.d.ts.map +1 -1
- package/dist/services/openfoodfacts/openfoodfacts-service.js +29 -2
- package/dist/services/openfoodfacts/openfoodfacts-service.js.map +1 -1
- package/dist/services/openfoodfacts/types.d.ts +41 -0
- package/dist/services/openfoodfacts/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/server.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** openfoodfacts-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
4
|
+
**Version:** 0.2.0
|
|
5
5
|
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.11.0`
|
|
6
6
|
**Engines:** Bun ≥1.3.0, Node ≥24.0.0
|
|
7
7
|
**MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
|
|
@@ -42,8 +42,10 @@ export const offGetProduct = tool('off_get_product', {
|
|
|
42
42
|
}),
|
|
43
43
|
output: z.object({
|
|
44
44
|
barcode: z.string().describe('Barcode as returned by the API.'),
|
|
45
|
-
found:
|
|
46
|
-
|
|
45
|
+
// No `found` flag: a missing record is the thrown not_found error, so a boolean here could
|
|
46
|
+
// only ever be true. Don't advertise a state the handler cannot return — a caller that
|
|
47
|
+
// branches on it never handles the path that actually fires.
|
|
48
|
+
product: z.object({ /* ... */ }).describe('Product data. Always present on success.'),
|
|
47
49
|
}),
|
|
48
50
|
errors: [
|
|
49
51
|
{
|
|
@@ -56,16 +58,14 @@ export const offGetProduct = tool('off_get_product', {
|
|
|
56
58
|
|
|
57
59
|
async handler(input, ctx) {
|
|
58
60
|
const svc = getOpenFoodFactsService();
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
61
|
-
return
|
|
61
|
+
const product = await svc.getProduct(input.barcode, ctx);
|
|
62
|
+
if (!product) throw ctx.fail('not_found', `Barcode ${input.barcode} not found`);
|
|
63
|
+
return { barcode: input.barcode, product };
|
|
62
64
|
},
|
|
63
65
|
|
|
64
66
|
format: (result) => [{
|
|
65
67
|
type: 'text',
|
|
66
|
-
text: result.
|
|
67
|
-
? `**${result.product?.product_name ?? 'Unknown'}** (${result.barcode})`
|
|
68
|
-
: `Not found: ${result.barcode}`,
|
|
68
|
+
text: `**${result.product.product_name ?? 'Unknown'}** (${result.barcode})`,
|
|
69
69
|
}],
|
|
70
70
|
});
|
|
71
71
|
```
|
package/CLAUDE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Developer Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** openfoodfacts-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
4
|
+
**Version:** 0.2.0
|
|
5
5
|
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.11.0`
|
|
6
6
|
**Engines:** Bun ≥1.3.0, Node ≥24.0.0
|
|
7
7
|
**MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
|
|
@@ -42,8 +42,10 @@ export const offGetProduct = tool('off_get_product', {
|
|
|
42
42
|
}),
|
|
43
43
|
output: z.object({
|
|
44
44
|
barcode: z.string().describe('Barcode as returned by the API.'),
|
|
45
|
-
found:
|
|
46
|
-
|
|
45
|
+
// No `found` flag: a missing record is the thrown not_found error, so a boolean here could
|
|
46
|
+
// only ever be true. Don't advertise a state the handler cannot return — a caller that
|
|
47
|
+
// branches on it never handles the path that actually fires.
|
|
48
|
+
product: z.object({ /* ... */ }).describe('Product data. Always present on success.'),
|
|
47
49
|
}),
|
|
48
50
|
errors: [
|
|
49
51
|
{
|
|
@@ -56,16 +58,14 @@ export const offGetProduct = tool('off_get_product', {
|
|
|
56
58
|
|
|
57
59
|
async handler(input, ctx) {
|
|
58
60
|
const svc = getOpenFoodFactsService();
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
61
|
-
return
|
|
61
|
+
const product = await svc.getProduct(input.barcode, ctx);
|
|
62
|
+
if (!product) throw ctx.fail('not_found', `Barcode ${input.barcode} not found`);
|
|
63
|
+
return { barcode: input.barcode, product };
|
|
62
64
|
},
|
|
63
65
|
|
|
64
66
|
format: (result) => [{
|
|
65
67
|
type: 'text',
|
|
66
|
-
text: result.
|
|
67
|
-
? `**${result.product?.product_name ?? 'Unknown'}** (${result.barcode})`
|
|
68
|
-
: `Not found: ${result.barcode}`,
|
|
68
|
+
text: `**${result.product.product_name ?? 'Unknown'}** (${result.barcode})`,
|
|
69
69
|
}],
|
|
70
70
|
});
|
|
71
71
|
```
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/openfoodfacts-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/openfoodfacts-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ Four tools for working with [Open Food Facts](https://world.openfoodfacts.org/)
|
|
|
34
34
|
| Tool | Description |
|
|
35
35
|
|:-----|:------------|
|
|
36
36
|
| `off_get_product` | Fetch a packaged food product by barcode. Returns name, brand, quantity, ingredients, allergens, additives, Nutri-Score, NOVA group, Green-Score, nutrition per 100g/serving, categories, labels, and data completeness. |
|
|
37
|
-
| `off_search_products` | Search by text query and/or structured tag filters (category, brand, label, Nutri-Score grade, NOVA group, country). Returns summary rows with barcodes for follow-up lookups. |
|
|
37
|
+
| `off_search_products` | Search by text query and/or structured tag filters (category, brand, label, allergen, additive, Nutri-Score grade, NOVA group, country). Returns summary rows with barcodes for follow-up lookups. |
|
|
38
38
|
| `off_compare_products` | Side-by-side nutrition and scoring comparison for 2–10 products by barcode. Returns a normalized table of energy, macros, salt, Nutri-Score, NOVA, and Green-Score. |
|
|
39
39
|
| `off_browse_taxonomy` | Browse and search the canonical tag vocabulary (categories, labels, allergens, additives, countries, NOVA groups, Nutri-Score grades) for use as filter values in `off_search_products`. |
|
|
40
40
|
|
|
@@ -43,10 +43,10 @@ Four tools for working with [Open Food Facts](https://world.openfoodfacts.org/)
|
|
|
43
43
|
Fetch a packaged food product by barcode (EAN-13 or UPC).
|
|
44
44
|
|
|
45
45
|
- Accepts 8–14 digit barcodes (EAN-13, EAN-8, UPC-A, UPC-E)
|
|
46
|
-
- Returns ingredients (raw text and parsed list with percent estimates, vegan/vegetarian flags), all 14 major allergens as tag IDs, E-number additives, Nutri-Score a–e, NOVA 1–4, Green-Score/Eco-Score,
|
|
46
|
+
- Returns ingredients (raw text and parsed list with percent estimates, vegan/vegetarian flags), all 14 major allergens as tag IDs, E-number additives, Nutri-Score a–e, NOVA 1–4, Green-Score/Eco-Score, every nutrient Open Food Facts holds per 100g and per serving, the serving size those per-serving figures are measured against, categories/labels/packaging/origins as canonical tag IDs, front image URL, and data completeness score (0–1)
|
|
47
47
|
- Optional `fields` parameter restricts the response to a subset (e.g., scores only, or nutrition only)
|
|
48
48
|
- Open Food Facts is crowd-sourced — a missing field means "not yet entered by contributors," not that the attribute is absent from the actual product
|
|
49
|
-
-
|
|
49
|
+
- A barcode no contributor has recorded raises the `not_found` error carrying a recovery hint — it is never returned as an empty result
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
@@ -55,10 +55,12 @@ Fetch a packaged food product by barcode (EAN-13 or UPC).
|
|
|
55
55
|
Search Open Food Facts by text and/or structured tag filters.
|
|
56
56
|
|
|
57
57
|
- Full-text search across product names, brands, and ingredients
|
|
58
|
-
- Structured filters: `categories_tag`, `brands_tag`, `labels_tag`, `nutrition_grade` (a–e), `nova_group` (1–4), `countries_tag`
|
|
58
|
+
- Structured filters: `categories_tag`, `brands_tag`, `labels_tag`, `allergens_tag`, `additives_tag`, `nutrition_grade` (a–e), `nova_group` (1–4), `countries_tag`
|
|
59
59
|
- Text query and tag filters combine — a query with filters returns products that match the text *and* satisfy every filter (e.g., `query: "dark chocolate"` + `labels_tag: en:organic` + `countries_tag: en:france`)
|
|
60
|
-
- All filter values are canonical tag IDs — use `off_browse_taxonomy` to resolve human terms (e.g., "organic" → `en:organic`)
|
|
61
|
-
-
|
|
60
|
+
- All filter values are canonical tag IDs — use `off_browse_taxonomy` to resolve human terms (e.g., "organic" → `en:organic`). `brands_tag` takes a brand slug and matches it exactly; open-ended brand wording belongs in `query`
|
|
61
|
+
- `additives_tag` filters only on searches with no text query — the text backend does not index additives, so pairing the two is rejected up front rather than returning an empty result set that looks like "no such product"
|
|
62
|
+
- Pagination via `page` (1-based) and `page_size` (1–50, default 20)
|
|
63
|
+
- `total` is exact on tag-only searches. Text searches stop counting at 10,000 matches, and when that ceiling is hit the response says so with `total_is_lower_bound: true` and renders the count as `10000+` — add filters for an exact figure
|
|
62
64
|
- Searches carrying a text query serve only the first 10,000 results — a deeper `page * page_size` is rejected up front with the highest reachable page, not sent and retried. Tag-only searches publish no window, but deep pages are refused unpredictably, so narrowing the filters beats paging far in
|
|
63
65
|
- Returns summary rows (barcode, name, brand, Nutri-Score, NOVA, categories) — use `off_get_product` for full label data
|
|
64
66
|
- Result counts reflect contributed products, not total products on the market
|
|
@@ -106,12 +108,12 @@ Open Food Facts-specific:
|
|
|
106
108
|
- No API key required — the identifying `User-Agent` header (required by OFF terms) is baked into the service layer
|
|
107
109
|
- Token-bucket rate limiting per endpoint class: product reads (~100/min), search (~10/min). A local refusal says so — it never reports itself as an Open Food Facts rate limit
|
|
108
110
|
- Automatic retry (3 attempts, 500ms base) for transient failures only — 5xx, timeouts, and 429 (honoring `Retry-After`), with HTML error page detection for 503 during high load. A 4xx is never retried; the upstream's own explanation is surfaced instead
|
|
109
|
-
- Nutriments normalized from raw hyphenated keys (`energy-kcal_100g`) to underscore form —
|
|
111
|
+
- Nutriments normalized from raw hyphenated keys (`energy-kcal_100g`) to underscore form — the `_100g` and `_serving` variants of every nutrient on the record, with the macros as named fields and the rest in an open map that carries each nutrient's own unit (micronutrients are reported in grams, so calcium `0.071` is 71 mg)
|
|
110
112
|
- Embedded tag taxonomy for `off_browse_taxonomy` — curated 200+ category subset, full allergen/label/additive vocabularies
|
|
111
113
|
|
|
112
114
|
Agent-friendly output:
|
|
113
115
|
|
|
114
|
-
-
|
|
116
|
+
- Per-serving nutrition always carries its denominator — `serving_size` as printed plus the parsed `serving_quantity`/`serving_quantity_unit`, and an explicit note when Open Food Facts has recorded none
|
|
115
117
|
- Missing fields signal incomplete crowd-sourced data, not product attribute absence — surfaced in descriptions and format output
|
|
116
118
|
- Computed scores (Nutri-Score, NOVA, Green-Score) returned as-is with regional caveat notes — not interpreted or normalized to health claims
|
|
117
119
|
- `not_found` list in `off_compare_products` allows partial batch comparisons without request failure — and a barcode whose fetch failed lands in `failed` instead, so a transport error is never reported as "no contributor record"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Add allergens_tag/additives_tag search filters, correct the brands_tag exact-match description, and stop reporting the text backend's clipped 10,000-result count as an exact total."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.1.10 — 2026-07-26
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **`off_search_products`** — `allergens_tag` and `additives_tag` structured filters. `allergens_tag` filters on both the tag and text routing paths; `additives_tag` filters only on tag-only searches, because the text-search backend does not index that facet — pairing it with `query` raises a new `additives_filter_needs_tag_search` validation error instead of silently returning zero results. ([#10](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/10))
|
|
12
|
+
- **`off_search_products`** — a required `total_is_lower_bound` output field. The text-search backend clips its reported hit count at 10,000 and exposes an `is_count_exact` flag when it does; the tool now reads that flag instead of comparing `total` against a local constant. `format()` renders `10000+ total products` when the flag is set. ([#18](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/18))
|
|
13
|
+
|
|
14
|
+
## Changed
|
|
15
|
+
|
|
16
|
+
- **`off_search_products`** — truncation guidance for a clipped text search now states the reachable page bound and that the backend stopped counting, instead of computing a page total from the capped count.
|
|
17
|
+
- **`SearchResult`** (`src/services/openfoodfacts/types.ts`) — new normalized envelope shared by both search backends, replacing the ad hoc inline return types on `searchProducts`/`searchProductsByText`/`searchProductsByTags`.
|
|
18
|
+
|
|
19
|
+
## Fixed
|
|
20
|
+
|
|
21
|
+
- **`off_search_products`** — `brands_tag`'s description no longer claims fuzzy/partial matching; both routing paths match the normalized brand slug exactly. ([#13](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/13))
|
|
22
|
+
- **`off_search_products`** — a text query with more than 10,000 matches no longer reports `total: 10000` as an exact database count.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "BREAKING: off_get_product drops the unreachable found field and makes product required. Nutriments now cover every upstream nutrient via additional_100g/additional_serving, per-serving figures carry serving_size, and format() reaches full parity with structuredContent."
|
|
3
|
+
breaking: true
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.2.0 — 2026-07-26
|
|
8
|
+
|
|
9
|
+
## Removed
|
|
10
|
+
|
|
11
|
+
- **`off_get_product`** — `found` output field removed. It was unreachable: the handler already throws the typed `not_found` error before constructing an output, so `found` could only ever be `true`. **Breaking:** callers checking `result.found === false` must switch to relying on the `not_found` error instead — the not-found behavior itself is unchanged, only the schema catches up to it. ([#20](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/20))
|
|
12
|
+
|
|
13
|
+
## Changed
|
|
14
|
+
|
|
15
|
+
- **`off_get_product`** — `product` is now a required output field (previously optional, paired with `found`). Always present on a successful call.
|
|
16
|
+
|
|
17
|
+
## Added
|
|
18
|
+
|
|
19
|
+
- **`off_get_product`** — `additional_100g` / `additional_serving` open nutrient maps surface every nutrient Open Food Facts returns beyond the 12 named macros (calcium, iron, vitamins, trans fat, added sugars, energy in kJ, …), each carrying the unit Open Food Facts reported it in. ([#17](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/17))
|
|
20
|
+
- **`off_get_product`** — `serving_size`, `serving_quantity`, and `serving_quantity_unit` returned alongside per-serving nutrition, so per-serving figures carry their denominator. `serving_quantity` is coerced from either a JSON number or a numeric string, since Open Food Facts returns both across products; the unit is not assumed to be grams (some products report millilitres). ([#16](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/16))
|
|
21
|
+
|
|
22
|
+
## Fixed
|
|
23
|
+
|
|
24
|
+
- **`format()`** across `off_get_product`, `off_search_products`, and `off_compare_products` now renders full parity with `structuredContent`: parsed ingredients and category tags render in full instead of the previous 20/5/3 caps, `completeness` and ingredient `percent_estimate` render at exact precision alongside the rounded percentage, and `vegan`/`vegetarian` `'maybe'` verdicts render instead of being silently dropped. ([#9](https://github.com/cyanheads/openfoodfacts-mcp-server/issues/9))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compare-products.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/compare-products.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAY,MAAM,+BAA+B,CAAC;AA4F3E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"compare-products.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/compare-products.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAY,MAAM,+BAA+B,CAAC;AA4F3E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0QjC,CAAC"}
|
|
@@ -259,7 +259,11 @@ export const offCompareProductsTool = tool('off_compare_products', {
|
|
|
259
259
|
const name = p.product_name
|
|
260
260
|
? `${p.product_name}${p.brands ? ` (${p.brands})` : ''}`
|
|
261
261
|
: `Barcode ${p.barcode}`;
|
|
262
|
-
|
|
262
|
+
// The exact scalar rides alongside the rounded percentage: 0.7875 and 0.79 both render as
|
|
263
|
+
// "79%", and a text-only client has no second call that would recover the difference.
|
|
264
|
+
const completeness = p.completeness !== undefined
|
|
265
|
+
? `${Math.round(p.completeness * 100)}% (${p.completeness})`
|
|
266
|
+
: 'N/A';
|
|
263
267
|
lines.push(`| ${name} | ${p.barcode} | ${p.found} | ${p.nutriscore_grade ?? 'N/A'} | ${p.nova_group ?? 'N/A'} | ${p.ecoscore_grade ?? 'N/A'} | ${completeness} |`);
|
|
264
268
|
}
|
|
265
269
|
// Nutrition table
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compare-products.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/compare-products.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAG5F,uEAAuE;AACvE,MAAM,cAAc,GAClB,wFAAwF,CAAC;AAoB3F,2DAA2D;AAC3D,SAAS,CAAC,CAAC,GAAgD,EAAE,GAAW;IACtE,MAAM,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,OAAO,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/C,CAAC;AAQD;;;;;GAKG;AACH,SAAS,eAAe,CAAC,OAAe,EAAE,KAAc;IACtD,IAAI,KAAK,YAAY,QAAQ,EAAE,CAAC;QAC9B,MAAM,MAAM,GAAG,OAAO,KAAK,CAAC,IAAI,EAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC;QAC7F,MAAM,IAAI,GAAI,KAAK,CAAC,IAAI,EAAE,QAA0C,EAAE,IAAI,CAAC;QAC3E,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,CAAC;QACnF,OAAO,EAAE,OAAO,EAA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,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAC9L,CAAC;QACJ,CAAC;QAED,uBAAuB;QACvB,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM,CAClC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,KAAK,SAAS,IAAI,CAAC,CAAC,YAAY,GAAG,GAAG,CAC5D,CAAC;QACF,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,IAAI,CACR,gCAAgC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iCAAiC,CACpI,CAAC;QACJ,CAAC;QAED,KAAK,CAAC,IAAI,CAAC,gFAAgF,CAAC,CAAC;QAE7F,OAAO,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"compare-products.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/compare-products.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAG5F,uEAAuE;AACvE,MAAM,cAAc,GAClB,wFAAwF,CAAC;A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AI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,IAAI,CACR,gCAAgC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iCAAiC,CACpI,CAAC;QACJ,CAAC;QAED,KAAK,CAAC,IAAI,CAAC,gFAAgF,CAAC,CAAC;QAE7F,OAAO,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -25,11 +25,13 @@ export declare const offGetProductTool: import("@cyanheads/mcp-ts-core").ToolDef
|
|
|
25
25
|
packaging_tags: "packaging_tags";
|
|
26
26
|
product_name: "product_name";
|
|
27
27
|
quantity: "quantity";
|
|
28
|
+
serving_quantity: "serving_quantity";
|
|
29
|
+
serving_quantity_unit: "serving_quantity_unit";
|
|
30
|
+
serving_size: "serving_size";
|
|
28
31
|
}>>>;
|
|
29
32
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
33
|
barcode: z.ZodString;
|
|
31
|
-
|
|
32
|
-
product: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
product: z.ZodObject<{
|
|
33
35
|
product_name: z.ZodOptional<z.ZodString>;
|
|
34
36
|
brands: z.ZodOptional<z.ZodString>;
|
|
35
37
|
quantity: z.ZodOptional<z.ZodString>;
|
|
@@ -59,7 +61,18 @@ export declare const offGetProductTool: import("@cyanheads/mcp-ts-core").ToolDef
|
|
|
59
61
|
energy_kcal_serving: z.ZodOptional<z.ZodNumber>;
|
|
60
62
|
fat_serving: z.ZodOptional<z.ZodNumber>;
|
|
61
63
|
sugars_serving: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
additional_100g: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
|
+
value: z.ZodNumber;
|
|
66
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>>>;
|
|
68
|
+
additional_serving: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
69
|
+
value: z.ZodNumber;
|
|
70
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
62
72
|
}, z.core.$strip>>;
|
|
73
|
+
serving_size: z.ZodOptional<z.ZodString>;
|
|
74
|
+
serving_quantity: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
serving_quantity_unit: z.ZodOptional<z.ZodString>;
|
|
63
76
|
categories_tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
77
|
labels_tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
78
|
packaging_tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -67,7 +80,7 @@ export declare const offGetProductTool: import("@cyanheads/mcp-ts-core").ToolDef
|
|
|
67
80
|
image_url: z.ZodOptional<z.ZodString>;
|
|
68
81
|
completeness: z.ZodOptional<z.ZodNumber>;
|
|
69
82
|
data_quality_tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
-
}, z.core.$strip
|
|
83
|
+
}, z.core.$strip>;
|
|
71
84
|
requested_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
85
|
}, z.core.$strip>, readonly [{
|
|
73
86
|
readonly reason: "not_found";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-product.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-product.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-product.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-product.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmJjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAke5B,CAAC"}
|