[Cotlet](https://cotlet.dev/index.md) · [Integrations](https://cotlet.dev/integrations.md) · [How it works](https://cotlet.dev/how-it-works.md) · [Security](https://cotlet.dev/security.md) · [For developers](https://cotlet.dev/for-developers.md) · [For automation agencies](https://cotlet.dev/for-agencies.md) · [Blog](https://cotlet.dev/blog.md) · [API docs](https://cotlet.dev/docs.md) · [Help center](https://cotlet.dev/help.md) · [Changelog](https://cotlet.dev/changelog.md) · [Contact](https://cotlet.dev/contact.md) · [Pricing](https://cotlet.dev/pricing.md) · [Sign up](https://cotlet.dev/signup)

# MyFitnessPal MCP server: Let your AI agent keep your food diary.

> MyFitnessPal's API site says "We are not accepting requests for API access at this time" (checked 6 Nov 2026). Its own app in ChatGPT, live since 7 Jan 2026, answers nutrition questions, and the launch post says logging meals there is not available. We found no MyFitnessPal connector for Claude. Cotlet runs 15 MyFitnessPal tools hosted, over MCP for agents and REST for scripts, in your own login with no API key from MyFitnessPal.

Tell your agent what you ate and it finds the foods and logs them to the right meal in MyFitnessPal. It also logs water, weight and exercise and reads your diary and goals back. It works inside Claude and ChatGPT, with no developer setup.

- Free 7-day trial, no card
- Unofficial, not affiliated with MyFitnessPal
- Page: https://cotlet.dev/integrations/myfitnesspal-api-mcp-server

## What can your AI agent do in MyFitnessPal?

- Log meals you describe
- Log a saved meal to today
- Quick add a calorie amount
- Log weight, water and workouts
- Sum a day for a sheet
- Check calories against your goals

## Does MyFitnessPal have an MCP server or an API?

- In ChatGPT you write @myfitnesspal before a nutrition question and get recipes, calorie targets and macro splits from its database of 20 million foods and 2,000 recipes.
- Zapier has no MyFitnessPal app, and n8n lists none. One n8n community node asks for API credentials from the MyFitnessPal API portal.
- Free GitHub servers exist, for example Mason-Levyy/myfitnesspal-mcp (30 stars, MIT, pushed 6 Nov 2026). You install and run them on your own computer.

| What you need | MyFitnessPal in ChatGPT | GitHub MCP server | Cotlet |
|---|---|---|---|
| Search foods and read their nutrition | Yes | Yes | Yes |
| Log a meal to your diary | Not in the launch post | Yes | Yes |
| Read your diary and goals | No account link at launch | Yes | Yes |
| Works in Claude | ChatGPT only | Yes, you run it | Yes, hosted |
| Nothing to install or host | Yes | No | Yes |

Checked 6 Nov 2026. Sources: [MyFitnessPal API site](https://myfitnesspalapi.com/), [MyFitnessPal blog: MyFitnessPal + ChatGPT](https://blog.myfitnesspal.com/myfitnesspal-chatgpt-your-nutrition-questions-answered-in-seconds/), [GitHub: Mason-Levyy/myfitnesspal-mcp](https://github.com/Mason-Levyy/myfitnesspal-mcp), [npm: n8n MyFitnessPal community node](https://www.npmjs.com/package/@olavarriaga/n8n-nodes-myfitnesspal)

## How does the MyFitnessPal MCP server work?

1. **Sign in to MyFitnessPal.** Use your own account in its Cotlet Cloud Browser.
2. **Connect your AI agent.** Add the Cotlet address to Claude or ChatGPT.
3. **Ask in plain words.** Say what you ate or what you want to know.

We never keep your MyFitnessPal password, and no tool touches your payment, password or account.

## How to connect MyFitnessPal to your AI agent

Pick your client in the tabs. The steps are the same everywhere.

1. **Turn MyFitnessPal on for agents.** Create a Cotlet account, log in to MyFitnessPal in its Cloud Browser, then press Enable for agents.
2. **Add the Cotlet address.** Put https://cotlet.dev/mcp/v1 in the MCP or connector settings of your agent.
3. **Sign in or use a key.** Claude and ChatGPT ask you to sign in to Cotlet. Cursor, Codex, n8n and scripts take an API key from the console.

One shared address, `https://cotlet.dev/mcp/v1`, carries MyFitnessPal next to your other apps. If you enable MyFitnessPal after connecting, refresh the connector so the new tools show up.

Claude:

```
Settings > Connectors > Add custom connector
URL: https://cotlet.dev/mcp/v1/connect

Claude Code:
claude mcp add --transport http cotlet-myfitnesspal \
  https://cotlet.dev/mcp/v1 \
  --header "Authorization: Bearer $COTLET_API_KEY"
```

ChatGPT:

```
Settings > Apps & Connectors > Create
MCP server URL: https://cotlet.dev/mcp/v1/connect
Authentication: OAuth
```

Cursor:

```
// ~/.cursor/mcp.json
{
  "mcpServers": {
    "cotlet-myfitnesspal": {
      "url": "https://cotlet.dev/mcp/v1",
      "headers": { "Authorization": "Bearer ${env:COTLET_API_KEY}" }
    }
  }
}
```

Codex:

```
# ~/.codex/config.toml
[mcp_servers.cotlet-myfitnesspal]
url = "https://cotlet.dev/mcp/v1"
bearer_token_env_var = "COTLET_API_KEY"
```

n8n:

```
MCP Client Tool (inside an AI Agent)
Transport: HTTP Streamable
URL: https://cotlet.dev/mcp/v1
Auth: Bearer, <your key>
Tool: myfitnesspal_read
```

Make, Zapier:

```
Make: MCP Client > Call a tool
Zapier: MCP Client by Zapier > Run Tool
Server URL: https://cotlet.dev/mcp/v1
Token: <your key>
Tool: myfitnesspal_write
```

## All 15 MyFitnessPal MCP tools

### Food diary and foods

Quick Add takes calories only on the free plan; protein, carbs and fat need Premium (MyFitnessPal Help, 6 Nov 2026). Logging a food needs the food_id from a search.

- **Get a diary day** (`get_diary_day`, read): Returns one day of the food diary: each meal with its foods and the day's totals.
- **Search foods** (`search_foods`, read): Searches the MyFitnessPal food database by name or brand.
- **Get a food** (`get_food`, read): Returns the nutrition of one food and the servings MyFitnessPal offers for it.
- **List saved meals** (`list_saved_meals`, read): Lists the meals you saved under My Meals.
- **Log a food** (`log_food`, write): Adds one food to a meal in your diary.
- **Log a saved meal** (`log_saved_meal`, write): Adds a meal from My Meals to a meal in your diary.
- **Quick add calories** (`quick_add_calories`, write): Adds a calorie amount to a meal without choosing a food.
- **Delete a diary entry** (`delete_diary_entry`, write): Removes one food or exercise entry from your diary.

### Water, weight and exercise

Weight and water use the unit your account uses. The exercise tool logs cardio by name and minutes, not sets and reps.

- **Get water for a day** (`get_water`, read): Returns the water logged for one day.
- **Log water** (`log_water`, write): Adds water to a day.
- **Get weight entries** (`get_weight_entries`, read): Returns the weights you logged in a date range.
- **Log weight** (`log_weight`, write): Records your weight for a day.
- **List exercises for a day** (`list_exercises`, read): Returns the exercise logged for one day, including entries synced from a connected device.
- **Log exercise** (`log_exercise`, write): Adds a cardio exercise to a day.

### Goals

Read only. MyFitnessPal sets fat, carb and protein goals as percentages of calories in 5% steps (MyFitnessPal Help, 6 Nov 2026).

- **Get nutrition goals** (`get_nutrition_goals`, read): Returns your daily calorie and macro goals.

Inputs, REST path and example response of every tool: https://cotlet.dev/integrations/myfitnesspal-api-mcp-server#tools

## Who can see my MyFitnessPal session, and how do I revoke it?

- **What we store.** Your logged-in MyFitnessPal profile, encrypted with AES-256-GCM, in Finland. Not the password.
- **What your agent gets.** The 15 MyFitnessPal tools. Never the cookie.
- **What the session sees.** Your diary, goals, weights, water, exercise and saved meals.
- **What no tool touches.** Premium plan, payment, password, two-factor and deleting your account.
- **If MyFitnessPal asks to verify.** A code goes to you. You type it in, we never do.
- **How to cut access.** Disable for agents, reset the browser, or log out of MyFitnessPal.

Our site scores A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory ([live results](https://cotlet.dev/security.md)). There is no SOC 2 report or third-party pentest yet.

## What happens when MyFitnessPal changes?

- **12 h** between tests of the MyFitnessPal tools
- **$0** for a call to a MyFitnessPal tool paused for repair

MyFitnessPal has just redesigned its home screen: the Diary became the Today tab (MyFitnessPal Help, 6 Nov 2026). When screens move or fields are renamed, the fix happens on our side and your prompts keep working. [status.cotlet.dev](https://status.cotlet.dev) watches the site, console and API every 3 minutes.

## Undo and mistakes

1. **Finds the food.** Searches the database and offers the matches.
2. **Picks a serving.** Reads the servings the food lists and uses yours.
3. **Logs it.** Adds it to the meal and day you named.
4. **Reports the result.** Entry ID, calories and the date it landed on.

| Action | Undo |
|---|---|
| Log a food or a saved meal | delete_diary_entry, one entry per call |
| Quick add calories | delete_diary_entry |
| Log exercise | delete_diary_entry |
| Log water | Log a correcting amount |
| Log weight | Log the right weight; a new call corrects the day |

None of the 15 tools waits for your OK: every write lands in your own diary and reaches no one, and each one has an undo. Scheduled runs need no approval.

> A wrong day or serving is a diary edit, not a lost record. Ask the agent to fix the entry or delete it.

MCP call:

```
{
  "name": "log_food",
  "arguments": {
    "food_id": "f_88120",
    "meal": "Snacks",
    "serving": "170 g",
    "quantity": 1,
    "date": "2026-11-04"
  }
}
```

REST:

```
curl -X POST https://cotlet.dev/api/v1/myfitnesspal/foods/f_88120 \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"meal":"Snacks","serving":"170 g","quantity":1,"date":"2026-11-04"}'
```

Tool output:

```
{
  "entry_id": "e_1060",
  "meal": "Snacks",
  "food": "Greek Yogurt, Plain, Nonfat",
  "serving": "170 g",
  "quantity": 1,
  "calories": 100,
  "date": "2026-11-04"
}
```

Scripts and cron jobs reach the same tools over REST at `/api/v1/myfitnesspal`, with the same key and price. A failed call costs nothing. The tools table lists the REST path of each tool.

## How much does the MyFitnessPal MCP server cost?

**About $37 a month** for logging 6 foods a day with weight and water, 6,360 credits. Your MyFitnessPal plan is billed by MyFitnessPal as before.

| Job | Calls | Credits |
|---|---|---|
| Log a day of meals from your words, daily | 13 × 30 | 3,900 |
| Log weight and water, daily | 2 × 30 | 600 |
| Weekly review: 7 diary days, goals, weights | 9 × 4 | 360 |
| Cloud Browser, 30 days |  | 1,500 |
| Total |  | 6,360 |

- Free 7-day trial, no card
- 10 credits per successful call, MCP or REST
- 50 credits a day for the Cloud Browser
- Works on the free MyFitnessPal plan too

The month is our example. A research dataset of MyFitnessPal diaries averages 5.86 foods a user-day, so we use 6, each with one search call and one log call. MyFitnessPal's own advertiser page says engaged US members log about 16, which would cost more. Dollars at the $29 pack rate.

## MyFitnessPal MCP server on GitHub, in ChatGPT or hosted: which to use

| Option | What it does | Where it stops |
|---|---|---|
| [Mason-Levyy/myfitnesspal-mcp](https://github.com/Mason-Levyy/myfitnesspal-mcp) | 19 tools for diary, food search, weight, water, exercise and trends. PyPI package mfp-mcp, 2,685 downloads last month, 30 stars, MIT, last commit 6 Nov 2026. | Runs on your computer. Claude on the web, your phone and ChatGPT need you to host it. |
| [AdamWalt/myfitnesspal-mcp-python](https://github.com/AdamWalt/myfitnesspal-mcp-python) | Local server with about 20 tools, 70 stars, MIT, last commit 20 Oct 2026. | Local only, you keep it running. |
| [delize/myfitness-mcp](https://github.com/delize/myfitness-mcp) | Remote server for a Claude custom connector, Docker, 4 stars, last commit 31 Oct 2026. | You host it and refresh its login when it expires. |
| [thesaaspreneur/myfitnesspal-mcp](https://github.com/thesaaspreneur/myfitnesspal-mcp) | 33 tools including custom foods and recipes, 0 stars, last commit 1 Sep 2026. | Local, single maintainer. |
| [MyFitnessPal in ChatGPT](https://blog.myfitnesspal.com/myfitnesspal-chatgpt-your-nutrition-questions-answered-in-seconds/) | Official since 7 Jan 2026: recipes, calorie targets and macro advice from MyFitnessPal data. | ChatGPT only. The launch post says logging meals there is not available. |
| [learntospeak.ai](https://learntospeak.ai/providers/myfitnesspal) | Hosted connector with 14 tools, key based. | A third-party service; price not listed on the page. |

If you are happy to install a server and keep it running, a GitHub server is free. Cotlet is for people who want the same diary tools in Claude or ChatGPT with nothing to host, on any device, on a schedule if you like.

## Who runs Cotlet

Take Group sp. z o.o. runs Cotlet. It is a software company registered in Poland, EU (VAT PL6342984273), working since 2019, founded by Bart Krawczyk (Co-founder, CTO) and Jake Slugocki (Co-founder, SEO, sales and marketing). Write to contact@cotlet.dev with questions about the MyFitnessPal tools.

## MyFitnessPal MCP server: questions

### How do I connect MyFitnessPal to ChatGPT or Claude?

Sign up at cotlet.dev, log in to MyFitnessPal once in its Cloud Browser and add Cotlet to ChatGPT or Claude, following the steps in your console. No API key is needed. ChatGPT and Claude then work in your MyFitnessPal account through Cotlet, in their phone apps too.

### What can ChatGPT do in MyFitnessPal?

With Cotlet, ChatGPT, Claude and other AI agents handle jobs like these in MyFitnessPal: log meals from a text or photo description; add a daily nutrition summary to a spreadsheet; copy a usual meal to today. You ask in plain words, and anything that reaches other people waits for your OK first.

### How do I get access?

Create a free account at https://cotlet.dev, open MyFitnessPal under Integrations in the console and log in to MyFitnessPal in its Cloud Browser. The trial starts with your first app, no card asked.

### Do I need MyFitnessPal Premium?

No for logging foods and calorie-only Quick Add. Premium adds fat, carbs and protein to Quick Add entries, and the quick_add_calories tool fails if you pass grams without it (MyFitnessPal Help: Getting started with Quick Add, checked 6 Nov 2026).

### Is there an official MyFitnessPal app in ChatGPT?

Yes, since 7 Jan 2026. You write @myfitnesspal before a nutrition question. Its launch post says logging meals there is not available and may come in future versions, so Cotlet is the way to log from a chat today.

### Does it use the MyFitnessPal website?

Yes. Cotlet works in the MyFitnessPal website in your own Cloud Browser, where the food diary is at myfitnesspal.com/food/diary, so you need no app on the phone.

### Is the MCP server different from the REST API?

Only the door is different. Both expose the same 15 tools, inputs and answers, with one API key and one price. Agents use MCP; scripts and HTTP steps use REST.

### Is Cotlet affiliated with MyFitnessPal?

No. Cotlet is independent and not affiliated with MyFitnessPal.

---

Give your AI agents your signed-in browser.

**Product:** [Integrations](https://cotlet.dev/integrations.md) · [How it works](https://cotlet.dev/how-it-works.md) · [Pricing](https://cotlet.dev/pricing.md) · [Security](https://cotlet.dev/security.md)

**Resources:** [Blog](https://cotlet.dev/blog.md) · [API docs](https://cotlet.dev/docs.md) · [Help center](https://cotlet.dev/help.md) · [Changelog](https://cotlet.dev/changelog.md) · [GitHub](https://github.com/cotletdev/cotlet)

**Solutions:** [For developers](https://cotlet.dev/for-developers.md) · [For automation agencies](https://cotlet.dev/for-agencies.md)

**Company:** [About](https://cotlet.dev/about.md) · [AI info: company facts](https://cotlet.dev/ai-info.md) · [Contact](https://cotlet.dev/contact.md)

**Legal:** [Terms of service](https://cotlet.dev/terms) · [Privacy policy](https://cotlet.dev/privacy) · [Refund policy](https://cotlet.dev/refunds) · [Acceptable use](https://cotlet.dev/acceptable-use) · [Cookie policy](https://cotlet.dev/cookies) · [DPA](https://cotlet.dev/dpa) · [Subprocessors](https://cotlet.dev/subprocessors)

**Elsewhere:** [Status page](https://status.cotlet.dev) · [Cotlet on GitHub](https://github.com/cotletdev) · [Cotlet on X](https://x.com/cotletdev) · [Cotlet on LinkedIn](https://www.linkedin.com/company/cotletdev) · [Cotlet on Product Hunt](https://www.producthunt.com/products/cotlet) · [Cotlet on Crunchbase](https://www.crunchbase.com/organization/cotlet) · [Cotlet on SaaSHub](https://www.saashub.com/cotlet)

Cotlet.dev is built by Bart Krawczyk and Jake Slugocki, the founders of Take Group sp. z o.o., ul. Wincentego Janasa 4, 40-855 Katowice, Poland. KRS 0000871398, NIP 6342984273, VAT EU: PL6342984273. [About us](https://cotlet.dev/about.md)

Cotlet is an independent service. It is not affiliated with, endorsed by or sponsored by any of the products listed on this site. Product names are trademarks of their respective owners.
