# Nutrition MCP

> A free, open-source remote MCP (Model Context Protocol) server for personal nutrition tracking. It lets AI assistants like Claude and ChatGPT log meals (ingredient by ingredient if they like), save meals they eat often and log them again by name, track macros, water, body weight and body measurements, review nutrition history, and import an existing food diary from another app — entirely through conversation, with no separate app. Connect it at https://nutrition-mcp.com/mcp; in Claude it is in the directory at https://claude.ai/directory/nutrition-mcp.

Nutrition MCP is built as an MCP server from the ground up, so tracking lives inside the AI assistant you already use. You describe a meal in plain language, send a photo, or scan a barcode, and your AI logs the calories and macros. Generic, unbranded foods can take their values from USDA FoodData Central: search by English food name, and the values come per 100 g and are scaled to the grams eaten, with the USDA portion sizes listed. Packaged products are looked up by barcode in Open Food Facts. Where neither record covers a food, its values are estimates, and a nutrient USDA does not record is shown as not recorded, never as zero. Every nutrient value records its source (USDA, Open Food Facts, the user, or an estimate), shown as a tag beside the number in the in-chat widgets, per meal and per ingredient, and carried into the export. A value is tagged USDA or Open Food Facts only when it matches that record for the amount logged. Fiber, total and added sugars, saturated and trans fat, sodium, and caffeine are tracked alongside protein, carbs and fat, with daily goals for each — calories, protein, carbs, fat and fiber are targets to reach, sugar, added sugar, saturated fat, sodium and caffeine are limits to stay under; trans fat is recorded with no limit. Caffeine is recorded in milligrams, the unit every label and guideline uses, and it adds no calories. Sodium is recorded in milligrams of sodium, not salt. Alcohol tracking is off by default: switch it on and alcohol is recorded in grams of pure ethanol, shown as US standard drinks or UK units, with its own daily limit. Beyond sodium, there is still no micronutrient tracking — no vitamins and no other minerals. A digest of yesterday, today or the last 7 or 30 days sets calories and every tracked nutrient against your goals, with water, weight, and the day's meals or logging habits. It is free with no premium tier, ads, or paywalled features; you own your data and can move it in either direction — import a CSV from another app, download everything you have here as one ZIP of CSV files, or delete your account at any time. Licensed MIT and self-hostable.

Food data sources: USDA FoodData Central (English-only; suggested citation: "U.S. Department of Agriculture, Agricultural Research Service, Beltsville Human Nutrition Research Center. FoodData Central. [Internet]. [cited 2026-10-10]. Available from https://fdc.nal.usda.gov/."). Nutrition MCP is not endorsed by the U.S. Department of Agriculture. Open Food Facts product data © Open Food Facts contributors, available under the Open Database License (ODbL).

Meals you eat often can be saved under a name with `save_meal` and logged again with `log_saved_meal`, optionally scaled by servings or with single ingredients changed. Data can also come in. `start_meal_import` opens an importer inside the chat (in clients that support in-chat panels): you pick a CSV you exported from another nutrition app, map its columns, check what will be added, and confirm. The file is parsed in the browser, so the AI never transcribes the rows. Exports from MyFitnessPal, Cronometer, Lose It! and MacroFactor are recognised by column name; any other CSV works through manual column mapping. DD/MM/YYYY and MM/DD/YYYY dates, kilojoules as well as kcal, and European semicolon-delimited comma-decimal files are all handled, and fiber, sugar and caffeine columns are imported alongside calories and macros — a caffeine column stated in grams is left unmapped rather than silently stored a thousand times too small. An alcohol column is only read when alcohol tracking is switched on, and a later re-import does not backfill it. `bulk_import_meals` is the write path underneath it — up to 50 rows per call, every row validated, problems reported per row, and duplicates recognised and skipped so re-sending the same rows is safe while the timezone is unchanged; an AI can also call it directly for meal data pasted into the chat.

Data goes back out too. `export_all_data` is the single way out: it packages everything the service stores about the user into one ZIP — meals.csv, meal_items.csv, saved_meals.csv, saved_meal_items.csv, water.csv, weight.csv, body_measurements.csv, goals.csv, goals_history.csv (every change to the goals, dated), profile.csv, account.csv (the sign-in account: email, sign-in methods and dates), telemetry.csv (tool-usage records), connections.csv (connected AI apps and the Apple Health sync link, without any tokens) and health_sync.csv (the daily totals Apple Health sync sent over the last 8 days), plus a README.txt explaining the columns, the units they are in, and what is not included — and hands back a private download link that stays valid for 60 minutes. Someone who only wants their meal diary wants meals.csv, which sits inside that archive and carries exactly the column names the importer reads. Meals logged with ingredients have those ingredients in meal_items.csv, joined by meal_id; saved meals (a named meal kept with its values per serving and optional ingredients) are in saved_meals.csv and saved_meal_items.csv, joined by saved_meal_id, and meals.csv names the saved meal a meal was logged from in its saved_meal_id column. Meals are also the only part that can be brought back in: every other file is export-only for now.

Most nutrition apps (MyFitnessPal, Cronometer, Lose It!, MacroFactor, Yazio, Lifesum) do not publish an official MCP server you can add to Claude or another MCP client. Nutrition MCP is a separate tracker, not a bridge to any of them. Where one of these apps can export a CSV, that history can be imported, so switching does not have to mean abandoning it. The comparison pages below explain, for each app, what Nutrition MCP does differently.

The site is also available in German, Spanish, French, Dutch, Polish, Italian, Ukrainian, Japanese and Turkish under a language prefix with the same slugs (e.g. https://nutrition-mcp.com/de/tools), reachable from any page's language switcher. The translations are AI-generated; the English pages at the URLs below are the reference version.

## Main pages

- [Home](https://nutrition-mcp.com/): What Nutrition MCP is, how it works, install steps for Claude/ChatGPT/Cursor/VS Code, and examples of logging, saved meals, goals, trends, import and export.
- [Tools reference](https://nutrition-mcp.com/tools): The full list of all 49 MCP tools (log_meal, save_meal, log_saved_meal, get_saved_meals, update_saved_meal, delete_saved_meal, lookup_barcode, start_meal_import, bulk_import_meals, get_nutrition_summary, log_weight, log_body_measurement, get_trends, and more) with descriptions and example prompts.
- [Troubleshooting](https://nutrition-mcp.com/tools#troubleshooting): Fixes for connecting and signing in, meals on the wrong day, widgets, the importer, rate limits, barcode lookups, export links, account deletion, and where to report bugs and security issues.
- [Apple Health sync](https://nutrition-mcp.com/apple-health): Setup guide for the optional Nutrition MCP Health iPhone shortcut, which copies the daily totals of finished days (calories, protein, carbs, fat, fiber, caffeine, optionally water; never alcohol) into Apple Health: install, connect, automations, everyday use and privacy.
- [Alternatives overview](https://nutrition-mcp.com/alternatives): How Nutrition MCP compares to popular nutrition-tracking apps that publish no official MCP server.

## App comparisons

- [MyFitnessPal MCP alternative](https://nutrition-mcp.com/myfitnesspal-mcp): No official MyFitnessPal MCP server; the free, conversational way to track nutrition in Claude or ChatGPT, with free barcode scanning.
- [Cronometer MCP alternative](https://nutrition-mcp.com/cronometer-mcp): No official Cronometer MCP server; a lighter, conversational approach to calories and macros (Cronometer remains better for deep micronutrient tracking).
- [Lose It! MCP alternative](https://nutrition-mcp.com/lose-it-mcp): No official Lose It! MCP server; log meals and photos by talking to your AI, free.
- [MacroFactor MCP alternative](https://nutrition-mcp.com/macrofactor-mcp): No official MacroFactor MCP server; a free alternative to the subscription-only tracker, with on-demand analysis instead of a weekly coaching algorithm.
- [Yazio MCP alternative](https://nutrition-mcp.com/yazio-mcp): No official Yazio MCP server; effortless conversational logging that pairs with any meal plan.
- [Lifesum MCP alternative](https://nutrition-mcp.com/lifesum-mcp): No official Lifesum MCP server; a leaner, free way to log food inside Claude or ChatGPT.

## Optional

- [GitHub repository](https://github.com/akutishevsky/nutrition-mcp): Source code, self-hosting instructions, and tech stack (Bun, Hono, Supabase).
- [Privacy Policy](https://nutrition-mcp.com/privacy): Data handling, export, and account deletion.
- [Terms of Service](https://nutrition-mcp.com/terms): Acceptable use, not-medical-advice notice, no warranty, and termination.
