MyFitnessPal MCP
v0.5.0Log MyFitnessPal by talking to your AI: search foods with macros, log meals, weight, water and more.
Values you need
| Variable | What it is | |
|---|---|---|
MFP_COOKIE | optional secret | MyFitnessPal session cookie (optional; 'mfp-mcp auth' is the guided alternative) |
MFP_USERNAME | optional | MyFitnessPal username; only needed if MFP's profile lookup fails for your account |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add mfp-mcp -- uvx mfp-mcp==0.5.0Add to
claude_desktop_config.json{
"mcpServers": {
"mfp-mcp": {
"args": [
"mfp-mcp==0.5.0"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mfp-mcp": {
"args": [
"mfp-mcp==0.5.0"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mfp-mcp": {
"args": [
"mfp-mcp==0.5.0"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mfp-mcp]
command = "uvx"
args = ["mfp-mcp==0.5.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: fitness_get_day, fitness_search_food, fitness_draft_food, fitness_log_food, fitness_list_food_pins, fitness_clear_food_pin, fitness_delete_food, fitness_modify_food, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json