Back to Delx Wellness

Nutrition module

Nutrition MCP for AI Agents

Nourish is the Delx Wellness nutrition layer. It is a local-first MCP server for calories, macros, TACO/BR food search, barcode image decoding, meal photo previews, carbon context and nutrition trends, built to sit beside wearable connectors instead of pretending to be another device provider.

Direct answer

Nourish MCP 0.8.2 gives AI agents local nutrition context through a preview-confirm-log contract. Start with verified synthetic data, preserve confidence and provenance, and never write a meal without explicit user intent. It is nutrition context, not medical advice.

v0.8.2USDATACOOpen Food FactsPrivacy modesMeal photos
claude_desktop_config.json
{
  "mcpServers": {
    "nourish": {
      "command": "npx",
      "args": ["-y", "wellness-nourish@0.8.2"],
      "env": {
        "FDC_API_KEY": "${FDC_API_KEY}",
        "NOURISH_OFF_ENABLED": "1"
      }
    }
  }
}

First meal in two minutes

Prove the contract before touching personal data.

Install the current package, inspect readiness, then ask for synthetic response shapes with nourish_demo. For a real meal, estimate first and show the user calories, macros, confidence, warnings and unresolved items. Log only after confirmation, then read a summary with the least detailed privacy mode that serves the request.

  • nourish_connection_status checks providers and the local store.
  • nourish_demo returns verified synthetic shapes — no personal data required.
  • nourish_log_intake requires explicit_user_intent: true.
  • privacy_mode: summary minimizes item-level detail in agent context.
first-meal.mcp
npx -y wellness-nourish@0.8.2 setup --client claude

nourish_connection_status({})
nourish_demo({})
nourish_estimate_meal({ text: "2 eggs and a banana", locale: "en" })

// Only after the user confirms the estimate:
nourish_log_intake({
  text: "2 eggs and a banana",
  explicit_user_intent: true
})

nourish_daily_summary({
  privacy_mode: "summary",
  response_format: "markdown"
})

Food data

Search USDA FoodData Central and keep provider attribution in the output.

Barcode lookup

Decode barcode images locally, then use Open Food Facts for packaged foods with license metadata preserved.

Goals

Preview text or photo-assisted meals, then compare calories, macros and hydration against local goals.

Local-first

Food logs stay local and mutating tools require explicit user intent.

Agent workflow

Preview. Confirm. Log. Summarize.

Nourish can write to your local log, so the agent contract is stricter than wearable connectors. Agents check status, estimate conservatively, surface confidence — and only mutate after explicit user intent.

01

Inspect nourish_agent_manifest or nourish_capabilities before building a client against the tool set.

02

Use nourish_demo for verified synthetic response shapes before reading or writing personal data.

03

Preview a meal estimate before writing to the local log.

04

Install Hermes personal mode for Telegram with setup --client hermes.

05

Search TACO/BR local food data for Brazilian staples before falling back to USDA.

06

Search USDA FoodData Central before estimating generic foods.

07

Lookup packaged foods through Open Food Facts with ODbL attribution.

08

Compare days, inspect trends, undo the last entry, or bulk-log a Telegram food recap.

09

Summarize meal carbon footprint when food names have kg CO2e matches.

10

Decode barcode photos from image paths, base64 images or data URIs before Open Food Facts lookup.

11

Use agent vision observations for meal photo previews, then confirm portions before logging.

12

Use daily coaching and remembered meal shortcuts only with clear user context and explicit save intent.

13

Read summaries with privacy_mode=summary unless the user explicitly needs item-level detail.

14

Summarize calories, macros, hydration and goals in agent-friendly markdown.

15

Export local intake data as JSONL or CSV.

Profile packs

Personal nutrition tracking from chat.

Hermes and OpenClaw setup write a dedicated MCP server block, pin the package path and install a Nourish skill so chat flows default to preview, confirmation and local logging, including barcode photos and meal photo estimates.

  • Use one local store per personal Telegram profile.
  • Agents prefer direct MCP tools instead of shell workarounds.
  • Meal messages are previewed before write unless save intent is explicit.
  • Barcode photos and meal photos use MCP preview tools before any local log write.
profile-packs.sh
npx -y wellness-nourish setup --client hermes --profile personal --local-dir /root/.hermes/nourish/personal
npx -y wellness-nourish doctor --client hermes --json
hermes mcp test nourish

npx -y delx-wellness-openclaw setup
npx -y delx-wellness-openclaw doctor --profile delx-wellness --run-openclaw
openclaw --profile delx-wellness mcp show nourish --json

MCP tools

  • nourish_agent_manifest
  • nourish_capabilities
  • nourish_quickstart
  • nourish_demo
  • nourish_profile_get
  • nourish_profile_update
  • nourish_onboarding
  • nourish_connection_status
  • nourish_search_food
  • nourish_lookup_barcode
  • nourish_decode_barcode_image
  • nourish_lookup_barcode_image
  • nourish_estimate_meal
  • nourish_estimate_meal_photo
  • nourish_analyze_food_image
  • nourish_log_intake
  • nourish_daily_coach
  • nourish_suggest_next_meal
  • nourish_remember_meal
  • nourish_list_memory
  • nourish_bulk_log_intake
  • nourish_undo_last
  • nourish_compare_days
  • nourish_carbon_summary
  • nourish_daily_summary
  • nourish_weekly_summary
  • nourish_log_water
  • nourish_hydration_summary
  • nourish_set_goals
  • nourish_goal_progress
  • nourish_export_data

Resources

  • nourish://agent-manifest
  • nourish://capabilities
  • nourish://privacy-audit
  • nourish://usage-guide

Privacy

  • Food logs, hydration and goals stay under ~/.wellness-nourish unless NOURISH_LOCAL_DIR is set.
  • Profile and goals persist locally to ~/.delx-wellness/profile.json (mode 0600); shared with all 14 Delx Wellness connectors and never uploaded.
  • No hosted account is required.
  • Agents must preserve source attribution, confidence and safety warnings.
  • Mutating MCP tools require explicit user intent.

Known limits

  • Nutrition estimates are approximate.
  • Meal photo estimates depend on the agent vision layer and always require user confirmation before logging.
  • No hosted sync or clinical guidance.
  • Open Food Facts data carries attribution and share-alike obligations.
  • TACO values ship as an attributed curated subset while redistribution-license confirmation remains a 1.0 gate.