My Fitness Pal MCP Server
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. Its 12 documented tools cover fitness, food, log, note. It runs locally over stdio via the published package.
People who work with fitness, food and log and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-09-16 · ★ 13 · #131 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18
MIT · Python servers · how we verify → /methodology
01 · Install My Fitness Pal
Claude Code
claude mcp add mason-levyy-myfitnesspal-mcp -- uvx mfp-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"mason-levyy-myfitnesspal-mcp": {
"command": "uvx",
"args": [
"mfp-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package mfp-mcp - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.Mason-Levyy is GitHub-verified and matches the repo owner
03 · What My Fitness Pal can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can log a food to the real diary (top match, or an exact search candidate), remove a diary entry by name match, replace an entry (or change its quantity), and log a weight measurement (updates the same day on re-log).
The 12 tools it gives your agent
Extracted from the project's README - what MyFitnessPal lets an agent do.
- fitness_get_day
- - Nutrition totals, diary entries, the MFP daily note, and feel note for a day
- fitness_search_food
- - Candidate matches with brand, calories, macros, serving, and ids
- fitness_log_food
- - Log a food to the real diary (top match, or an exact search candidate)
- fitness_delete_food
- - Remove a diary entry by name match
- fitness_modify_food
- - Replace an entry (or change its quantity)
- fitness_log_weight
- - Log a weight measurement (updates the same day on re-log)
- fitness_get_exercise
- - Read the exercise diary (cardio + strength)
- fitness_get_note
- - Read the MyFitnessPal daily diary note (the "Notes" box) for a day
- fitness_log_note
- - Write that daily note to MFP (replace, or append a new line)
- fitness_log_feel
- - Save a subjective "how I feel" note (stored locally, never sent to MFP)
- fitness_get_trends
- - One metric over a date range: weight, calories_in, protein, carbs, fat
- fitness_bulk_export
- - Whole date range in one call, for analysis
Latest releases
v0.3.0 · 2026-07-27
Disambiguate diary entry matching instead of guessing · v0.3.0: robust diary entry matching
v0.2.1 · 2026-07-26
v0.2.0 · 2026-07-09
Simple demo added to the readme file
04 · Who maintains My Fitness Pal
MyFitnessPal is maintained by mason-levyy. It's the only MCP server we track from this author; the repo dates to Jul 2026.
05 · Facts
- repository
- github.com/mason-levyy/myfitnesspal-mcp
- category
- other - ranked #131 of 945 actively-maintained other servers as of 2026-09-18.
- release cadence
- 7 releases in the last 90 days (latest 2026-07-27)
- registry
- io.github.Mason-Levyy/mfp-mcp (active, first published 2026-07-09 · 4 versions)
- packages
- pypi:mfp-mcp
06 · My Fitness Pal FAQ
Is My Fitness Pal still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-16 and it shipped 7 releases in the last 90 days. We re-verify nightly.
What can My Fitness Pal do?
With this server connected, an agent can log a food to the real diary (top match, or an exact search candidate), remove a diary entry by name match, replace an entry (or change its quantity), and log a weight measurement (updates the same day on re-log).
How do I install My Fitness Pal?
Run `uvx mfp-mcp`. You can also paste the ready-made client config above.
Does My Fitness Pal run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to My Fitness Pal
Alternatives to My Fitness Pal
Maintained other servers if My Fitness Pal isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,552 · 2026-09-17
- Server Commands An MCP server to run arbitrary commands ★ 39,038 · 2026-09-11
- basebalance.cloud - x402 RPC & MCP gateway USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger. ★ 6,432 · 2026-08-26
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 5,069 · 2026-09-15
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,470 · 2026-09-18
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,681 · 2026-09-17
More MCP servers to compare · Pomera AI Commander · De Eli MCP · Kio Orzeczenia MCP · Sg Eli MCP · Materialmodel
More Python MCP servers · Selvedge · Sylex Search · Fr Eli MCP · see all