mason-levyy-myfitnesspalSAFE
MCP server for MyFitnessPal to log meals, search foods with macros, track trends from Claude or any MCP client
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Log MyFitnessPal by talking to your AI.
[](https://pypi.org/project/mfp-mcp/) [](https://github.com/Mason-Levyy/myfitnesspal-mcp/stargazers) [](https://github.com/Mason-Levyy/myfitnesspal-mcp/actions/workflows/ci.yml) [](https://pypi.org/project/mfp-mcp/) [](https://github.com/Mason-Levyy/myfitnesspal-mcp/blob/main/LICENSE)
Quickstart · Tools · Authentication · Changelog
Connect MyFitnessPal to Claude or any MCP client. Log meals by talking, search the food database with macros, track trends, and export your nutrition history, all against your real MyFitnessPal diary.
Published on PyPI as `mfp-mcp`.
Unofficial. MyFitnessPal has no public API; this reverse-engineers the web app's own endpoints. It
ce01d625344eOBSERVED · 2026-10-14Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mfp-mcp --env MFP_COOKIE=${MFP_COOKIE} -- uvx mfp-mcp==0.4.1Exposed tools (18)
12 read · 3 write · 3 destructive. Blast radius: 3 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
fitness_bulk_export | read | Export a whole date range at once for analysis: per-day nutrition |
fitness_clear_food_pin | destructive | Forget a remembered food choice for `query`, or every choice with |
fitness_delete_exercise | destructive | Remove exercise-diary entries by name match (case-insensitive). |
fitness_delete_food | destructive | Remove a food from the MyFitnessPal diary by name match. |
fitness_draft_food | read | Draft a food entry: numbered options to choose from before logging. |
fitness_get_day | read | Nutrition summary, diary entries, the MyFitnessPal daily note, and the |
fitness_get_exercise | read | Read the MyFitnessPal exercise diary (cardio + strength) for a day. |
fitness_get_exercise_entries | read | List a day |
fitness_get_note | read | Read the MyFitnessPal daily diary note (the free-text |
fitness_get_trends | read | A single metric over a date range, for charts/analysis. |
fitness_list_food_pins | read | List remembered food choices (query → food and serving) that |
fitness_log_feel | write | Save a |
fitness_log_food | read | Log a food to the real MyFitnessPal diary. |
fitness_log_note | write | Write the MyFitnessPal daily diary note (the free-text |
fitness_log_water | read | Log water to the real MyFitnessPal water tracker. |
fitness_log_weight | read | Log a weight measurement to MyFitnessPal. |
fitness_modify_food | write | Replace a MyFitnessPal diary entry: deletes the match, then adds a food. |
fitness_search_food | read | Search MyFitnessPal |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (4)
fitness_clear_food_pin, fitness_delete_exercise, fitness_delete_food
.pre-commit-config.yaml
demo.gif
This server handles a MyFitnessPal session cookie that grants full access to
Gates applied: no_behavioural_pass.
ce01d625344efull audit observations/trust-audit/mcp-server/mason-levyy__myfitnesspal-mcp.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-14 | ce01d625344e | SAFE | B | 89 | first audit |
Questions
What is the mason-levyy-myfitnesspal MCP server?
MCP server for MyFitnessPal to log meals, search foods with macros, track trends from Claude or any MCP client
What tools does mason-levyy-myfitnesspal expose?
18 in total: 12 read-only, 3 that write, and 3 that can delete or overwrite (fitness_clear_food_pin, fitness_delete_exercise, fitness_delete_food). Every one is listed on this page with its risk.
Is mason-levyy-myfitnesspal safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does mason-levyy-myfitnesspal need?
It reads MFP_COOKIE from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does mason-levyy-myfitnesspal run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mfp-mcp.
How current is this page?
The grade is for one exact copy of the source (ce01d625344e), read on 2026-10-14. The repository is watched and re-audited when it changes.