Nutrition · How-to

Track diet and workouts in ChatGPT or Claude: how to set it up

By Fitrang Team · 9 min read · Last updated

A woman typing on a laptop at a kitchen table beside a plate of food
Tell the assistant what you ate; the tracker stores the real numbers.
Short answer: on their own, ChatGPT and Claude can estimate calories and draft plans, but they forget your log and guess portions. Connect a tracker through a connector (an MCP server) and the assistant can log meals, workouts, water, sleep and weight into a real food database, read your history, and propose plans that you approve. Fitrang's link is fitrang.com/mcp.

Key takeaways

  • 20%US label rules let a food's real calories run up to 20% above the label, so no estimate is exact21 CFR 101.9(g)(5)
  • 1custom connector allowed on Claude's Free plan; more on paid plansAnthropic connector docs, checked 18 Nov 2026
  • 7 daysto undo anything an AI app changes in your Fitrang dataFitrang connector, 2026
  • 0plans saved without your approval: meal plans, routines and new targets arrive as draftsFitrang connector, 2026

DefinitionA connector is a link between an AI assistant and another app, built on the Model Context Protocol (MCP), that lets the assistant use that app's tools and data with your permission.

Lots of people already type "I had two eggs and toast, how many calories?" into a chat. The answer sounds confident but is not saved anywhere, and next week the assistant has no idea what you ate. This guide explains what AI assistants can and cannot do alone, how connectors fix the memory problem, the exact setup steps for Claude and ChatGPT, prompts that work, and what data is shared.

A man reviewing his week on a laptop on the sofa after a workout
Ask for a weekly review instead of scrolling through charts.

Can ChatGPT or Claude track my diet on their own?

Not reliably. In a normal chat they can estimate calories, suggest meals and write a workout plan, but they have no food database tied to your account, no record of yesterday, and their numbers are guesses. Memory features are not a food log. To track over weeks, the assistant needs to write to a real tracker.

Where assistants shine is the conversation: turning "chicken curry, a cup of rice and a small salad" into items, explaining a nutrient gap in plain words, or adjusting a plan when you say "no gym this week". Pair that with a tracker that stores the numbers and you get the best of both.

Why do AI calorie estimates from photos and text go wrong?

A photo cannot show portion weight, cooking oil, sugar in a sauce or what is under the rice. Text descriptions like "a bowl" vary several-fold. Even packaged food labels are not exact: US rules allow the real calories to be up to 20% above the label before a food counts as misbranded. Any AI estimate inherits all of that.

What helps most: weigh foods you eat often a few times so you learn your portions, scan barcodes for packaged food, and log close to the meal. Use the AI to speed up logging, not to replace your judgement. Our macro guide explains which numbers matter most, and why protein is the one to get right.

How do connectors (MCP) let an AI use my tracker?

A connector is a bridge built on the open Model Context Protocol (MCP). The tracker publishes a list of tools, such as "log a meal" or "get my weekly review". When you ask for something, the assistant calls the right tool, the tracker does the work with its own data, and only the result comes back into the chat.

So the assistant sees what a tool returns, not your whole account. With Fitrang you choose, per area (workouts, diet, and body and habits), whether an AI app gets no access, view only, or view and change. What Fitrang's tools can do:

KindWhat the assistant can do
LogMeals (mark planned items eaten or skipped, swap, or add food), water, finished workouts with sets, sets into a workout in progress, weight and tape measurements, sleep, cheat days
ReadYour day, goals and targets, meal plan, routines, workout history, one lift's strength trend and plateaus, body trend, weekly review, training and nutrition insights, vitamins and minerals for a day
DraftMeal-plan days, recipes, routines, a training schedule, and a new goal or targets, all waiting for your approval
ControlList and apply or discard drafts; list what AI apps changed in the last 7 days and undo a change

Food and exercise searches use Fitrang's own database of 100,000+ foods and 460+ exercises, so a logged meal carries real macros and micronutrients rather than the AI's guess.

How do I set up Fitrang in Claude?

Add Fitrang as a custom connector with its link, then sign in. In claude.ai or the Claude desktop app, open Customize, then Connectors, choose Add, then Add custom connector, and paste https://fitrang.com/mcp. Sign in to Fitrang and choose what Claude may use. It then works in Claude's web, desktop and mobile apps.

  1. Open Customize → Connectors (in older versions of Claude this sits under Settings).
  2. Select Add, then Add custom connector.
  3. Enter a name (Fitrang) and the URL https://fitrang.com/mcp, then Continue and Add.
  4. Select Connect, sign in to your free Fitrang account, and choose an access level for each area.
  5. In a chat, open + → Connectors and make sure Fitrang is switched on. Claude may ask you to allow each tool the first time.

How do I set up Fitrang in ChatGPT?

ChatGPT can add a custom MCP server by its link, but availability depends on your plan and workspace settings, and OpenAI has moved the menu more than once. In OpenAI's current developer instructions you open Plugins, select the plus button, choose Add custom MCP server and paste the link. Then sign in to Fitrang.

  1. Open Plugins in ChatGPT (older versions: Settings → Apps, with developer mode turned on if asked).
  2. Select +, then Add custom MCP server (older versions: create an app).
  3. Enter a name and short description, and paste https://fitrang.com/mcp as the server URL.
  4. Read OpenAI's risk warning, confirm, and finish creating it.
  5. Sign in to Fitrang when asked and choose an access level for each area.

If you do not see these options, your plan or workspace may not allow custom MCP servers yet. Tools that cannot sign in can use a personal key instead: make one in Fitrang under You → AI apps and send it as a bearer token. Our connect AI page always has the current steps.

A woman in a gym holding a phone between sets
Log sets by typing between sets, then approve plans later.

Which prompts work best once Fitrang is connected?

Short, specific requests with amounts work best: name the food and grams, the exercise with sets, reps and kilograms, or the period you want reviewed. Ask the assistant to show a draft before applying anything. These 20 prompts cover logging, planning, fixing nutrient gaps, building routines and weekly reviews.

  1. "Log lunch: 150 g grilled chicken, 200 g cooked rice, a side salad."
  2. "I skipped my planned breakfast today; mark it skipped."
  3. "Swap tonight's planned beef for 150 g tofu."
  4. "Add 500 ml of water."
  5. "Log my workout: bench press 3×8 at 60 kg, rows 3×10 at 50 kg, plank 3×45 s."
  6. "I'm at the gym now: add squat 100 kg × 5 to my current workout."
  7. "Log 72.4 kg this morning and an 84 cm waist."
  8. "I slept from 11:30 pm to 6:45 am."
  9. "What's left of my calories and protein today?"
  10. "How was my week?"
  11. "Which vitamins and minerals have I been short on over the last 30 days, and which foods fix them?"
  12. "How is my protein per kg over the last 14 days?"
  13. "Has my bench press plateaued? Suggest a three-week change as a draft routine."
  14. "How many sets per muscle did I do in the last 30 days?"
  15. "Draft a 7-day vegetarian meal plan that hits my targets; show warnings first."
  16. "Turn my usual overnight oats into a saved recipe."
  17. "Build a 3-day full-body routine with dumbbells only, as a draft."
  18. "Put my push, pull and legs routines on Monday, Wednesday and Friday."
  19. "My weight has stalled for three weeks; propose a new calorie target as a draft."
  20. "Show me everything you changed today, and undo the last meal you logged."

Fitrang also offers ready-made starters inside supporting apps: weekly review, plan my week, fix my protein, am I stuck, and log my workout. Background reading: protein, vitamins and minerals and which program to pick.

Why are plans proposed as drafts instead of applied?

Because a plan replaces part of your setup, and an AI can misread a request. Meal plans, recipes, routines, schedules and new targets arrive as drafts with any warnings, such as unusually low calories. Nothing changes until you apply the draft, either in the chat or in the Fitrang app, and you can discard it instead.

Logging is different: a meal or set the AI logs is saved straight away, because that is what you asked for. Every change an AI app makes, including applied drafts, is listed in You → AI apps and can be undone for 7 days, unless you have edited that item yourself since.

What data is shared, and how do I stay in control?

The assistant receives only what the tools you allow return, such as today's meals or a weekly summary. Fitrang does not sell your data, show ads or use your data to train AI models. What the AI app does with chat content is set by that company's own policy, so check it. You can disconnect any app in one tap.

The bottom line

AI assistants are good at turning a sentence into a log entry or a plan, and bad at remembering and measuring. Connect them to a real tracker and you get both. Add Fitrang to Claude or ChatGPT with fitrang.com/mcp, choose what each area allows, keep plans as drafts you approve, and undo any AI change within 7 days.

Frequently asked questions

Can ChatGPT count calories from a photo accurately?

Only roughly. A photo cannot show portion weight, cooking oil or hidden ingredients, and even food labels may be 20% off under US rules. Use a photo or text to speed up logging into a real food database, and weigh foods you eat often.

Is it safe to share health data with an AI assistant?

Share only what you are comfortable with. With Fitrang you choose per area whether an AI app gets no access, view only, or view and change, and the assistant sees only what the tools return. Check the AI company's own privacy policy too.

Does this work on the free ChatGPT plan?

OpenAI ties custom MCP servers to your plan and workspace settings and changes this often; we could not confirm free-plan access on OpenAI's pages on 18 November 2026. Claude's Free plan allows one custom connector, according to Anthropic's documentation.

Can Claude create a workout plan and save it to my app?

Yes. Claude can draft a routine and a training schedule from Fitrang's exercise library. It arrives as a draft; it is saved only when you approve it in the chat or in the Fitrang app, and you can undo it for 7 days.

What happens if the AI logs the wrong food?

Fix or delete it in the app, or ask the assistant to undo it. Fitrang lists every change an AI app makes in You, AI apps, and lets you undo it for 7 days, unless you have edited that item yourself since.

Can I disconnect the AI later?

Yes, at any time. Disconnect the app in Fitrang under You, AI apps, and remove or switch off the connector in Claude or ChatGPT. Your Fitrang data stays in your account.

Keep reading

Sources

  1. Anthropic. Add a connector that isn't in the directory (Claude documentation), checked 18 November 2026. claude.com
  2. Anthropic. Get started with connectors (Claude documentation), checked 18 November 2026. claude.com
  3. OpenAI. Connect and test your plugin (developer documentation), checked 18 November 2026. developers.openai.com
  4. Model Context Protocol. Introduction. modelcontextprotocol.io
  5. US Code of Federal Regulations. 21 CFR 101.9(g)(5): nutrition labeling of food, compliance for calories and other nutrients. law.cornell.edu
  6. Fitrang. Use Fitrang with Claude and ChatGPT. fitrang.com/connect-ai

This article is general information for healthy adults, not medical advice. If you have a medical condition, are pregnant, or take medication, talk to a doctor or registered dietitian before changing your diet, sleep or training.