Skip to main content
Glama
Wellness Nourish

Wellness Nourish

⚡ One-command install — pick your runtime:

Both preconfigure this connector and the full Delx Wellness stack into a dedicated profile. Or wire it standalone into Claude Desktop / Cursor / ChatGPT Desktop — see the install section below.

Want runnable agent examples? Use the Delx Wellness hub for prompt packs, MCP client configs and local-first workflow templates.

What's new in 0.7.1: Offline fixture demo works from the published npm package (fixtures shipped + path resolved from package root). 0.7.0: Brazilian TACO 4 meal estimator for pt-BR foods (cafezinho, feijão, concha, churrasco-style meals) plus Smithery install. Offline demo: NOURISH_FIXTURE_MODE=1 npx -y wellness-nourish@0.9.0 search banana. Notes: CHANGELOG.md · eval: docs/evals/pt-br-meal-estimator.json (52 cases).

Public proof: Nourish is tracked in the Delx Open Source Growth Snapshot alongside downloads, stars and next-action priorities. If this saves you setup time, star this repo so other agent builders can find the local-first nutrition path faster.


HTTP (v2 stateless)

Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:

npx -y wellness-nourish@0.9.0 --http
# GET  http://127.0.0.1:3000/health
# POST http://127.0.0.1:3000/mcp   (sessionless)

Env: NOURISH_MCP_HOST, NOURISH_MCP_PORT, NOURISH_MCP_TRANSPORT=http.

Local-first nutrition MCP for AI agents — food search, barcode lookup, photo-assisted meal estimation, intake logging, hydration, goals and coach-style workflows. No OAuth, no hosted account.

Related MCP server: Nutrition MCP

Front door

  • Install one connector — npx -y wellness-nourish@0.9.0 setup --client claude

  • Run it in Claude · Cursor · ChatGPT · Hermes · OpenClaw — see the client examples.

  • Local-first — your tokens and food logs never leave your machine (privacy).

  • Which connector should I use? — see the front-door guide.

Quickstart (60 seconds)

npx -y wellness-nourish@0.9.0 doctor
npx -y wellness-nourish@0.9.0 search banana
npx -y wellness-nourish@0.9.0 barcode 0000000000000
npx -y wellness-nourish@0.9.0 log --preview "2 ovos, banana e café preto"

doctor checks readiness, search/barcode hit the food providers, and log --preview estimates a meal locally without writing anything.

How you can help

Action

Link

Star if it earned it

stargazers

Docs GFI — first meal in 2 minutes

#25

File a real bug / pt-BR food miss

issues

Full wellness hub

delx-wellness

Zero-secret demo (offline, no API key)

NOURISH_FIXTURE_MODE=1 serves the bundled fixtures/ instead of calling USDA or Open Food Facts, so you can see the exact shape of every response with zero network access or keys:

$ NOURISH_FIXTURE_MODE=1 wellness-nourish search banana
Bananas, raw	usda	89 kcal/100g
BANANA	usda	312 kcal/100g

Try it with your agent

Three copy-paste prompts, all backed by existing tools:

  • "Estimate the calories and protein in 2 eggs, a banana and black coffee." → nourish_estimate_meal

  • "Look up the barcode 737628064502 and tell me what it is." → nourish_lookup_barcode

  • "What should I eat next today, given my goals?" → nourish_daily_coach / nourish_suggest_next_meal

Mutating tools (log intake, water, goals, clear-day) never run without explicit user save intent — they return USER_ACTION_REQUIRED until the agent passes explicit_user_intent: true.

Tools

Nourish exposes food search, barcode lookup (text + image), photo-assisted meal estimation, intake logging, hydration, goals, exports, daily/weekly summaries, personal meal memory, and coach-style workflows over stdio (default) or Streamable HTTP (POST /mcp).

Food photo decision tree

Agents should route Telegram/Hermes/OpenClaw food photos by the strongest signal they can extract:

  1. Barcode is visible and image bytes are available: call nourish_lookup_barcode_image.

  2. Barcode is blurry or no product is found: ask for sharper barcode digits, or call nourish_analyze_food_image with barcode_observation plus any OCR/meal clues.

  3. Nutrition facts are readable: OCR the label and call nourish_analyze_food_image with product_name and nutrition_label_text.

  4. It is a plate or unpackaged food: describe visible foods/portions and call nourish_analyze_food_image with detected_items or image_description.

  5. Never log from an image response until the user confirms the product or meal, serving size and save intent.

Image tools accept exactly one of these input forms:

{ "image_path": "/tmp/telegram-food-photo.jpg" }
{ "image_base64": "<base64 image bytes>", "image_mime_type": "image/jpeg" }
{ "image_data_uri": "data:image/jpeg;base64,<base64 image bytes>" }

If barcode decoding fails, the response includes fallback and next_actions so the agent can ask the user for the typed digits, OCR the nutrition label, or route the photo as a meal without silently inventing a food.

The capture above is generated from a real MCP run in fixture mode with a temporary local directory:

npm run demo:capture

The committed transcript proves the exact tool sequence: nourish_estimate_meal → user confirmation → nourish_log_intake → nourish_daily_summary.

Privacy & what runs offline

Intake, hydration and goals are stored locally under ~/.wellness-nourish/ (override with NOURISH_LOCAL_DIR). The connector does not require hosted accounts and does not send local intake logs to Delx Wellness. Provider lookups may contact USDA FoodData Central or Open Food Facts — unless NOURISH_FIXTURE_MODE=1 keeps everything offline against the bundled fixtures.

Agents should never ask users to paste API keys, tokens, raw health exports, or private food logs into chat — configure secrets through environment variables or local files. Full detail in docs/providers.md.

See the full agent demo →

Watch Nourish work alongside the other connectors in one reproducible run:

npx -y delx-living-body demo

Anchor question: "Should I train hard today?" — the demo combines wearable recovery signals with nutrition context to answer it. This is the shared, reproducible proof for the whole Delx Wellness stack.

See also

The full Delx Wellness connector library:

One-command setup for Hermes — preconfigures every connector above plus wellness skills + onboarding: delx-wellness-hermes.


Not medical advice

Nutrition estimates are approximate and intended for personal tracking and agent workflow context. They are not diagnosis, treatment, or medical advice. Confirm important nutrition decisions with a qualified professional.

Unofficial. Not affiliated with, endorsed by, or sponsored by USDA, Open Food Facts, or any third party. All trademarks belong to their respective owners.

📧 Contact & Support

First meal in 2 minutes: docs/first-meal-2-minutes.md

Wearable context fields (no invention): docs/wearable-context-schema.md

Skill or MCP

Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:

npx -y wellness-nourish@0.9.0 call nourish_connection_status --json '{}'

Copy skill/SKILL.md into your agent skills dir.

0.9.0 — candidate (2026-11-02)

This is a release candidate, not evidence of an npm publication. Existing installations are not updated automatically.

Migration and security boundaries

  • HTTP transport accepts loopback only. LAN addresses and wildcard binds are rejected; use stdio or a local loopback client instead.

  • Wellness profiles are validated, limited to 256 KiB, and protected with a cooperative lock. Oversized or invalid existing profiles must be corrected before use. Symbolic links, including dangling links and legacy profile paths, are rejected. These checks do not guarantee safety against a hostile local filesystem or non-cooperating processes.

  • MCP inputs have a 10,000-element budget and HTTP bodies are limited to 1 MiB; compressed request bodies are rejected. Previously accepted oversized requests may now fail; reduce request sizes rather than disabling validation.

  • Dependency fixes are included. Upgrade explicitly after publication and restart the connector; old installations retain their previous behavior.

Available Tools

46 tools
nourish_after_log_reviewAfter-log reviewC
Read-onlyIdempotent

Review the day after a meal log and explain what changed plus the next correction or action.

Inputs: date, focus, locale, meal_type, +5 more.

nourish_agent_manifestNourish agent manifestA
Read-onlyIdempotent

Return agent-facing install, safety, resource, and first-call guidance.

Inputs: client, response_format.

nourish_analyze_food_imageAnalyze food imageA
Read-onlyIdempotent

Route agent-provided food image observations across barcode, nutrition label OCR, or meal-photo estimation without logging.

Inputs: locale, barcode, meal_type, product_name, +6 more.

nourish_bulk_log_intakeBulk log intakeA

Log multiple intake entries in a single call. Requires explicit user intent (explicit_user_intent: true). Each item is processed through the same text-estimator pipeline as nourish_log_intake, but the entire batch shares one intent flag — perfect for Telegram users who say 'log everything I ate today: breakfast was X, lunch was Y, dinner was Z'. Returns per-item success/failure so a partial failure doesn't lose the rest.

Inputs: items (required), response_format, explicit_user_intent.

nourish_capabilitiesNourish capabilitiesA
Read-onlyIdempotent

Describe supported nutrition workflows, providers, and recommended first tools.

Inputs: privacy_mode, response_format.

nourish_carbon_summaryCarbon footprint summaryA
Read-onlyIdempotent

Estimate the carbon footprint (kg CO2-equivalent) of a meal, plus optional lower-carbon swap suggestions. Pass items: [{name, grams}, ...] for an arbitrary meal, OR date: YYYY-MM-DD to compute carbon over that day's logged intake. Data: Agribalyse 3.1 (Etalab Open License) + Our World in Data / Poore & Nemecek 2018 (CC-BY 4.0). Read-only; never mutates state.

Inputs: date, items, response_format, include_swap_suggestions.

nourish_chatgpt_dashboardOpen Nourish dashboardA
Read-onlyIdempotent

Open an interactive ChatGPT/MCP Apps dashboard for today's nutrition summary, safe meal estimation, and next-meal coaching. Read-only; logging still requires explicit user confirmation through existing tools.

Inputs: date, focus, locale, response_format.

nourish_clear_dayClear dayA
DestructiveIdempotent

Delete all local intake entries for a date after explicit user intent.

Inputs: date (required), response_format, include_hydration, explicit_user_intent.

nourish_clear_hydration_dayClear hydration dayA
DestructiveIdempotent

Delete all local hydration entries for a date after explicit user intent. Does not touch intake — pair with nourish_clear_day or use nourish_clear_day { include_hydration: true } for both.

Inputs: date (required), response_format, explicit_user_intent.

nourish_compare_daysCompare two daysA
Read-onlyIdempotent

Compute a per-nutrient diff between two days' summaries. Returns deltas (date_b - date_a) for calories, protein, carbs, fat, fiber, sugar, sodium plus what changed by meal type. Useful for 'how was today vs yesterday?' coaching.

Inputs: date_a (required), date_b (required), response_format.

nourish_connection_statusNourish connection statusA
Read-onlyIdempotent

Report local storage, fixture, USDA, and Open Food Facts readiness without returning secrets.

Inputs: privacy_mode, response_format.

nourish_daily_coachDaily nutrition coachA
Read-onlyIdempotent

Summarize today, goal gaps, wearable context, and a safe next action for Telegram-style coaching.

Inputs: date, focus, locale, meal_type, +5 more.

nourish_daily_summaryDaily summaryA
Read-onlyIdempotent

Summarize local intake totals, confidence, and source coverage for a date. Pass compare_to: 'yesterday' or compare_to: '7d_avg' to add a comparison block with per-nutrient deltas — useful for trend coaching ('your protein is low again — third day in a row').

Inputs: date, compare_to, privacy_mode, response_format.

nourish_decode_barcode_imageDecode barcode imageA
Read-onlyIdempotent

Decode a barcode from an image path, base64 image, or data URI without logging intake.

Inputs: image_path, image_base64, image_data_uri, image_mime_type, +1 more.

nourish_delete_intakeDelete intakeA
DestructiveIdempotent

Delete a local intake entry by id. Gated: requires explicit user intent — agents must not call this autonomously.

Inputs: id (required), response_format.

nourish_delete_waterDelete water entryA
DestructiveIdempotent

Delete a single local hydration entry by id after explicit user intent.

Inputs: id (required), response_format, explicit_user_intent.

nourish_demoNourish demoA
Read-onlyIdempotent

Returns synthetic example payloads of nourish_search_food, nourish_estimate_meal, and nourish_daily_summary so agents see the contract before any real call. Shapes are verified against the real pipelines by scripts/demo-contract-test.mjs, so they are safe to write a parser against; inputs shows the call that produced each sample.

Inputs: privacy_mode, response_format.

nourish_estimate_mealEstimate mealA
Read-onlyIdempotent

Estimate nutrition for a short meal text using local deterministic defaults. Accepts text or meal_text; preserve unresolved and confidence.

Inputs: text, locale, meal_text, meal_type, +1 more.

nourish_estimate_meal_photoEstimate meal photoA
Read-onlyIdempotent

Estimate meal nutrition from an agent-provided photo observation; always requires user confirmation before logging.

Inputs: image_description (required), locale, meal_type, detected_items, +1 more.

nourish_evening_checkinEvening check-inC
Read-onlyIdempotent

Check late-day protein, calories, and hydration gaps with a compact Telegram-friendly next step.

Inputs: date, focus, locale, meal_type, +5 more.

nourish_export_dataExport intake dataA
Read-onlyIdempotent

Export local intake data as JSONL or CSV without provider secrets or tokens. Defaults to the 500 most-recent rows; pass since/until to scope by date or max_rows to widen/narrow. Omitted rows are reported so you can refine instead of dumping months of history into chat (use the wellness-nourish export CLI for a full unbounded dump).

Inputs: since, until, max_rows, export_format, +1 more.

nourish_forget_memoryForget personal nutrition memoryA
DestructiveIdempotent

Delete a local remembered meal by id or label after explicit user intent.

Inputs: id_or_label (required), response_format, explicit_user_intent.

nourish_get_foodGet foodB
Read-onlyIdempotent

Fetch a USDA food by source_id, an Open Food Facts food by barcode source_id, or a TACO food by source_id.

Inputs: source (required), source_id (required), response_format.

nourish_get_goalsGet goalsA
Read-onlyIdempotent

Read local calorie, macro, and hydration goals.

Inputs: privacy_mode, response_format.

nourish_goal_progressGoal progressA
Read-onlyIdempotent

Compute per-day progress vs configured goals (kcal, protein, carbs, fat, water) for today / yesterday / last_7_days / last_30_days. Returns per-day breakdown (consumed, goal, pct, delta_to_goal), period totals, multi-day averages, days_on_target count, and locale-aware next-action recommendations (pt-BR if profile language is Portuguese, otherwise en). Read-only: no logging side effects, no explicit_user_intent required.

Inputs: period, response_format.

nourish_hydration_summaryHydration summaryB
Read-onlyIdempotent

Summarize local hydration for a date.

Inputs: date, privacy_mode, response_format.

nourish_list_intakeList intakeA
Read-onlyIdempotent

List local intake entries with optional filters: date OR since/until range, meal_type, tag, source_trace, min_confidence, limit. All filters AND together. Returns most-recent-first.

Inputs: tag, date, limit, since, +6 more.

nourish_list_memoryList personal nutrition memoryA
Read-onlyIdempotent

Read local remembered meals and nutrition preferences for personal Telegram shortcuts.

Inputs: privacy_mode, response_format.

nourish_log_intakeLog intakeA

Log an intake entry only after explicit user intent. Pass explicit_user_intent: true after the user asks to save/log/register; accepts text or meal_text plus structured food data.

Inputs: food, tags, text, unit, +13 more.

nourish_log_waterLog waterB

Log local hydration in milliliters after explicit user intent. Pass explicit_user_intent: true after the user asks to save/log water.

Inputs: amount_ml (required), date, notes, timestamp, +2 more.

nourish_lookup_barcodeLookup barcodeA
Read-onlyIdempotent

Lookup a packaged food barcode in Open Food Facts.

Inputs: barcode (required), response_format.

nourish_lookup_barcode_imageLookup barcode imageA
Read-onlyIdempotent

Decode a packaged-food barcode image, then lookup the product in Open Food Facts.

Inputs: image_path, image_base64, image_data_uri, image_mime_type, +1 more.

nourish_onboardingNourish onboardingA
Read-onlyIdempotent

Returns the 11-question onboarding flow for the shared Delx Wellness profile. Read-only. The agent should ask these questions next so wellness-nourish (and the rest of the wellness stack) can personalize responses — non-secret data only, stored at ~/.delx-wellness/profile.json.

Inputs: locale, response_format.

nourish_pre_workout_nutritionPre-workout nutritionA
Read-onlyIdempotent

Suggest light pre-workout nutrition using goals, current intake, and optional WHOOP/Garmin context.

Inputs: date, focus, locale, meal_type, +5 more.

nourish_privacy_auditNourish privacy auditA
Read-onlyIdempotent

Describe local storage, secret handling, source licensing, and safety boundaries.

Inputs: privacy_mode, response_format.

nourish_profile_getNourish profile getA
Read-onlyIdempotent

Returns the shared Delx Wellness profile (~/.delx-wellness/profile.json). Read-only. Surfaces calorie/macro targets, dietary preferences, restrictions/allergies, and goals so nourish coach/suggest tools can personalize meals.

Inputs: privacy_mode, response_format.

nourish_profile_updateNourish profile updateA
Idempotent

Persist a partial patch to the shared Delx Wellness profile. Requires explicit_user_intent: true. Rejects any field containing oauth/token/secret/password/cookie/refresh/api_key/session — the profile is for non-secret wellness context only.

Inputs: patch (required), response_format, explicit_user_intent.

nourish_pull_wearable_contextPull wearable contextA
Read-onlyIdempotent

Read the most recent shared wellness_context (delx-wellness-context/v1) written by a wearable connector to ~/.delx-wellness/, so coach tools can be recovery/strain-aware without the agent passing it inline. Read-only; never fabricates wearable data. If no connector has persisted a context yet, returns available:false with the expected path. The returned context can be passed straight into nourish_daily_coach / nourish_suggest_next_meal / nourish_pre_workout_nutrition as wearable_context (or set auto_wearable:true on those tools to pull it automatically).

Inputs: privacy_mode, response_format.

nourish_quickstartNourish quickstartA
Read-onlyIdempotent

Personalized 3-step setup walkthrough for the human user. Adapts to current state (USDA key set? OFF enabled? local-dir writable?). Call this first when the user asks 'how do I use this?'

Inputs: privacy_mode, response_format.

nourish_remember_mealRemember mealA
Idempotent

Save a personal meal shortcut locally after explicit user intent, for example 'meu cafe normal' -> '2 ovos e banana'.

Inputs: label (required), meal_text (required), tags, notes, +4 more.

nourish_search_foodSearch foodsA
Read-onlyIdempotent

Search food providers by query. Use taco or br_local for Brazilian staples, open_food_facts for packaged products, usda for generic foods, or all.

Inputs: query (required), limit, provider, privacy_mode, +1 more.

nourish_set_goalsSet goalsA
Idempotent

Set local calorie, macro, and hydration goals after explicit user intent. Use daily: {...} or flat shortcuts like calories_kcal/protein_g; pass explicit_user_intent: true after confirmation.

Inputs: daily, fat_g, fiber_g, sugar_g, +6 more.

nourish_suggest_next_mealSuggest next mealB
Read-onlyIdempotent

Suggest a next meal from today's intake, goals, personal memory, and optional wearable context.

Inputs: date, focus, locale, meal_type, +5 more.

nourish_undo_lastUndo last entryA
Destructive

Undo the most recently logged intake or hydration entry. The most common Telegram/agent recovery move ('I logged the wrong thing'). Returns what was undone so the agent can confirm. Requires explicit_user_intent. Pass kind: 'intake' | 'hydration' | 'any' (default 'any') to scope the undo.

Inputs: kind, response_format, explicit_user_intent.

nourish_update_intakeUpdate intakeA
Idempotent

Update a local intake entry by id. Quantity or grams_estimate changes rescale nutrients to keep summaries consistent. Gated: requires explicit user intent — agents must not call this autonomously.

Inputs: id (required), tags, unit, notes, +5 more.

nourish_weekly_summaryWeekly summaryA
Read-onlyIdempotent

Summarize seven days of local intake totals from a start date.

Inputs: start_date, privacy_mode, response_format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 46 tools

    Disambiguation2/5

    Numerous tools occupy similar territory: estimate_meal/estimate_meal_photo/analyze_food_image, lookup_barcode/decode_barcode_image/lookup_barcode_image, and daily_coach/evening_checkin/after_log_review all have fuzzy boundaries. Despite detailed descriptions, an agent is likely to select the wrong one, especially among image-analysis and summary/coaching tools.

    Naming Consistency4/5

    All tools share the nourish_ prefix and use snake_case with a verb_noun structure for most data operations. A handful of meta tools like capabilities, demo, onboarding, quickstart, connection_status, and agent_manifest drop the verb, which is a minor but noticeable inconsistency.

    Tool Count2/5

    46 tools is well above the comfortable range and many could be consolidated, including several meta/onboarding tools, overlapping image-analysis tools, and multiple coach/summary variants. The breadth is real, but the surface is bloated.

    Completeness4/5

    The core domain is impressively covered: food lookup, intake CRUD plus bulk logging, water logging, goals, memory, summaries, comparisons, coaching, wearable context, export, and carbon estimation all exist. Minor gaps remain, such as no direct hydration update/list tool and no profile reset/delete, but agents can work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A filesystem-based MCP server that turns any MCP-capable AI agent into a conversational calorie and protein tracker with natural-language estimates, confidence-aware logging, daily/weekly progress, food-history search, and export, working offline with local fallback data.
      8
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Local-first nutrition tracker MCP server for Hermes, enabling food, alias, recipe, and meal log management with SQLite persistence.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for personal nutrition tracking, enabling users to log meals with calories and macros, water intake, body weight, set goals, and import food diaries from other apps through natural language.
      MIT