Meals in plain language
Say “oatmeal with banana and peanut butter” — your AI estimates calories and macros, fiber, total sugar and caffeine included, and logs it. No database search.
MyFitnessPal alternative
MyFitnessPal doesn't have one — so you can't use it inside Claude or ChatGPT. Nutrition MCP does the same job by conversation, and it's free and open source.
The short answer
The Model Context Protocol (MCP) is the open standard that lets AI assistants like Claude and ChatGPT connect to outside tools. MyFitnessPal doesn't publish an MCP server, so there's no official way to log food to it from your AI. If you searched for “MyFitnessPal MCP” or “connect MyFitnessPal to Claude,” what you're really after is a nutrition tracker that lives inside your AI — that's exactly what Nutrition MCP is.
What you get instead
Say “oatmeal with banana and peanut butter” — your AI estimates calories and macros, fiber, total sugar and caffeine included, and logs it. No database search.
Send a product barcode and pull the label macros from Open Food Facts — fiber and sugar too, where the label lists them. No Premium subscription to unlock it.
Log body weight in kg or lb, set calorie, macro, fiber, sugar, caffeine, and water goals — fiber a target to reach, sugar and caffeine limits to stay under — and track trends toward a goal weight. Alcohol tracking is there too, opt-in and off unless you turn it on.
Ask for daily totals, weekly trends, streaks, and recurring meal patterns — right in the chat.
Import your history from another app's CSV export — parsed in your browser, not by the AI. Export it all back out, or delete your account, whenever you want.
MIT-licensed and self-hostable — no ads, no paywall, no upsell. Audit the code or run your own instance.
MyFitnessPal vs. Nutrition MCP
MyFitnessPal is a capable app with a huge food database. This isn't a knock on it — it's simply a different approach for people who'd rather talk to their AI than tap through a tracker.
Moving from MyFitnessPal
MyFitnessPal built its following on one of the largest food databases anywhere — tens of millions of crowd-sourced entries. That scale is also its friction: for any given food you scroll past near-duplicates and have to guess which entry is accurate. Conversational logging skips the lookup entirely — you describe the food and your AI estimates the macros.
You don't have to leave the diary behind to do it: a MyFitnessPal CSV export imports directly, quirks and all, so the years you've already logged come with you. Everything you record from then on is yours to export as CSV whenever you want.
The features MyFitnessPal gradually moved behind Premium — barcode scanning, macros by gram, no ads — are simply included here. You're not weighing a free tier against a $20-a-month upgrade; there's one free, open-source tier, and the only account you need is the Claude or ChatGPT one you already have.
Your MyFitnessPal history
Ask to import and an importer opens right in the chat: pick your export, map the columns, preview what will be added, then confirm. The file is read in your browser — the AI never sees the rows. In clients without in-chat panels, paste your export instead.
Years of logged history is the real reason people stay, and you don't have to abandon it. Ask to import and an importer panel opens in the chat: you choose the CSV MyFitnessPal exports, it's parsed in your browser, the columns it recognises are matched for you, and you see what will be added before anything is written. That match covers calories, protein, carbs, and fat, plus fiber, total sugar, and caffeine in milligrams where your export carries those columns. The rows never pass through the AI, so there's nothing for it to mistype.
A MyFitnessPal export is handled by name, quirks included. The file arrives with a byte-order mark that would otherwise corrupt the first column heading; its notes can contain line breaks inside a quoted cell, which naive line-splitting would shred along with every row after it; and each day's block ends with a totals row that must not become a meal. The one that matters most: MyFitnessPal exports one aggregated row per meal per day and no food-name column at all, so rather than rejecting those rows for having no description, the importer recognises the shape and labels them by their slot — they arrive as “Breakfast (imported from MyFitnessPal)”.
Dates are confirmed, not assumed. A column of 05/06/2024 is genuinely undecidable — May or June — so the importer shows you its reading next to a real row from your own file and lets you correct it before writing. And every row carries a content fingerprint, so re-running the same file reports those meals as already logged instead of duplicating them. Import a partial export, spot a column you mapped wrongly, and simply do it again.
How to switch
Works with any MCP client that supports OAuth 2.0 with PKCE. On first connect you create an account with Google or an email and password.
https://your-domain.com/mcp
into the
Remote MCP server URL field and
click Add.
Using ChatGPT or another client instead? The full install guide covers ChatGPT, Cursor, VS Code, Claude Code, and more.
FAQ
No. MyFitnessPal does not offer a Model Context Protocol (MCP) server, so there is no official way to connect it to Claude, ChatGPT, or other AI assistants. Nutrition MCP is a free, open-source alternative built as an MCP server from the ground up, so you can log meals and macros directly inside your AI.
There is no official MyFitnessPal connector for Claude, because MyFitnessPal has no MCP server or public MCP integration. The closest option is Nutrition MCP, a free MCP server: add https://your-domain.com/mcp as a custom connector in Claude, sign in, and start logging by conversation.
Yes, and it's free. Send a product's barcode and Nutrition MCP pulls the label macros from Open Food Facts — whereas MyFitnessPal moved its barcode scanner behind a paid Premium subscription.
You describe what you ate in plain language — “a chicken burrito bowl with extra rice” — and your AI estimates the calories and macros. There's no database of millions of crowd-sourced entries to search through and no guessing which one is accurate.
If you want to track calories, macros — fiber, total sugar, and caffeine included — water, and weight without opening a separate app or searching a food database, yes. Instead of tapping through a database, you describe what you ate in plain language, send a photo, or scan a barcode, and your AI logs it — completely free and open source.
Yes. Ask to import your history and an importer opens in the chat: you pick the CSV MyFitnessPal exports, it's parsed in your browser rather than read by the AI, you map or confirm the columns, preview what will be added, and confirm. Calories, protein, carbs, and fat come across, and so do fiber, total sugar, and caffeine when your export includes them. MyFitnessPal's export is recognised by name — including its byte-order mark, its trailing totals rows, and the fact that it writes one aggregated row per meal per day with no food name, which get labelled by meal slot. Re-importing the same file never creates duplicates. In clients without in-chat panels you can paste your export instead.
Not when the importer opens. It parses the CSV in your browser and shows you what will be added before anything is written: how many meals, the calorie total, anything it had to flag, and the rows themselves — a long file lists the first of them plus a count of the rest rather than every line. Only the rows you confirm are sent, and they go as structured data rather than through the AI's reply, so no row can be mistyped or invented in transit. Each row also carries a content fingerprint, so running the same file again reports those meals as already logged instead of duplicating them. If your client can't display in-chat panels, the fallback is to paste the export — the AI does read it on that path, so prefer the importer when you have the choice.
Yes. Nutrition MCP is completely free with no premium tier, ads, or paywalled features — unlike apps that put some features behind a subscription. You only need a Claude or ChatGPT account to connect.
Free and open source — no MyFitnessPal account, no app to open.
MyFitnessPal is a trademark of its respective owner. Nutrition MCP is an independent, open-source project and is not affiliated with, endorsed by, or sponsored by MyFitnessPal. Comparisons reflect publicly available information at the time of writing and may change.