MyFitnessPal alternative

Looking for a MyFitnessPal MCP server?

MyFitnessPal doesn't publish one you can connect — so you can't log your MyFitnessPal diary from Claude or ChatGPT. Nutrition MCP does the same job by conversation, and it's free and open source.

The short answer

No — MyFitnessPal has no official, public MCP server.

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 a public MCP server, so there's no official way to log food to your MyFitnessPal diary 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

The same tracking, just by talking

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. Log a meal ingredient by ingredient, or save the meals you eat often and log them again by name.

Barcode scanning — free

Send a product barcode and pull the label macros from Open Food Facts — fiber and sugar too, where the label lists them. Free for everyone, with no subscription.

Weight & goals

Log body weight in kg or lb, and tape measurements of nine body sites in cm or in, 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.

Summaries & trends

Ask for daily totals, weekly trends, streaks, and recurring meal patterns — right in the chat.

Import & own your data

Import your meal history from another app's CSV export — parsed in your browser, not by the AI. Take everything back out whenever you want: one ZIP with your meals, saved meals, water, weight, body measurements, goals and profile, plus your account record, usage telemetry and connected apps, as CSV files. Meals are the only part that can be imported back in for now. Or delete your account, just as easily.

Open source & free

MIT-licensed and self-hostable — no ads, no paywall, no upsell. Audit the code or run your own instance.

MyFitnessPal vs. Nutrition MCP

How they stack up

MyFitnessPal

  • No official MCP server — can't log your diary from Claude or ChatGPT
  • Search a database and pick the right entry for every item
  • Some features, like the barcode scanner, need a paid plan
  • A separate app and account, with ads on the free tier

Nutrition MCP

  • Built as an MCP server — lives inside Claude & ChatGPT
  • Describe meals in plain language; calories, macros, fiber, sugar & caffeine estimated for you; save your usual meals to log in one line
  • Barcode scanning, trends, CSV import & export — all free
  • No separate app, no ads, open source

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.

Also compared: Cronometer vs. Nutrition MCP · Lose It! vs. Nutrition MCP · MacroFactor vs. Nutrition MCP · Yazio vs. Nutrition MCP · Lifesum vs. Nutrition MCP

Moving from MyFitnessPal

Leaving the database behind

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 new thing you set up is a free sign-in the first time you connect.

Your MyFitnessPal history

Import your MyFitnessPal diary from CSV

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, as long as your timezone hasn't changed in between. Import a partial export, spot a column you mapped wrongly, and simply do it again.

How to switch

Connect in under a minute

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.

  1. Open Nutrition MCP in the Claude directory.
  2. Click Connect and sign in with Google or an email and password.
  3. Start logging by saying what you ate.

Using ChatGPT or another client instead? The full install guide covers ChatGPT, Cursor, VS Code, Claude Code, and more.

FAQ

MyFitnessPal & MCP questions

01Does MyFitnessPal have an MCP server?

Not an official one. MyFitnessPal doesn't publish a public Model Context Protocol (MCP) server, so there's no official way to log to your MyFitnessPal diary from Claude, ChatGPT, or other MCP clients. Some unofficial, community-built servers exist; they aren't made or supported by MyFitnessPal. Nutrition MCP is different: a free, open-source tracker built as an MCP server from the ground up, with its own account, that can import your MyFitnessPal CSV export.

02How do I connect MyFitnessPal to Claude?

There is no official MyFitnessPal connector for Claude, because MyFitnessPal publishes no public MCP server. One option is Nutrition MCP, a free MCP server listed in the Claude directory: open it at https://claude.ai/directory/nutrition-mcp, click Connect, sign in, and start logging by conversation.

03Can Nutrition MCP scan barcodes like MyFitnessPal Premium?

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.

04How does logging work without MyFitnessPal's food database?

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.

05Is Nutrition MCP a good MyFitnessPal alternative?

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.

06Can I import my MyFitnessPal data?

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 creates no duplicates as long as your timezone hasn't changed in between. In clients without in-chat panels you can paste your export instead.

07Does the AI read my export file when I import?

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, as long as your timezone hasn't changed in between. 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.

08Is Nutrition MCP free?

Yes. Nutrition MCP is completely free with no premium tier, ads, or paywalled features — unlike apps that put some features behind a subscription. You need an AI app that supports MCP, such as Claude or ChatGPT, and a free Nutrition MCP account, which you create with Google or an email and password the first time you connect.

Track nutrition inside the AI you already use.

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.