nutrition-mcp
llms.txt68 starsChanged 2 months agoMITView on GitHub
A free, open-source remote MCP (Model Context Protocol) server for personal nutrition tracking. It lets AI assistants like Claude and ChatGPT log meals, 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…
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Files
# 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, 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 estimates the calories and macros and logs them. Barcode data comes from Open Food Facts. Fiber, total and added sugars, 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 and caffeine are limits to stay under. Caffeine is recorded in milligrams, the unit every label and guideline uses, and it adds no calories. 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. There is still no micronutrient tracking — no sodium, no vitamins. 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. 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, 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 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 and Japanese 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. - [Tools reference](https://nutrition-mcp.com/tools): The full list of all 41 MCP tools (log_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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

