MyFitnessPal MCP Server
by mason-levyyio.github.Mason-Levyy/mfp-mcpv0.4.1
MCP server for MyFitnessPal: log, search, and analyze your food diary.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install MyFitnessPal MCP server
Install in Claude Code
claude mcp add mfp -e MFP_COOKIE='<mfp-cookie>' -- uvx mfp-mcpInstall in Cursor
{
"mcpServers": {
"mfp": {
"command": "uvx",
"args": [
"mfp-mcp"
],
"env": {
"MFP_COOKIE": "<mfp-cookie>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mfp": {
"command": "uvx",
"args": [
"mfp-mcp"
],
"env": {
"MFP_COOKIE": "<mfp-cookie>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mfp": {
"type": "stdio",
"command": "uvx",
"args": [
"mfp-mcp"
],
"env": {
"MFP_COOKIE": "<mfp-cookie>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mfp": {
"command": "uvx",
"args": [
"mfp-mcp"
],
"env": {
"MFP_COOKIE": "<mfp-cookie>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MFP_COOKIE | — | yes | MyFitnessPal session cookie (optional; 'mfp-mcp auth' is the guided alternative) |
| MFP_USERNAME | — | — | MyFitnessPal username; only needed if MFP's profile lookup fails for your account |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 9d ago · GitHub
Latest release
2026-09-30 · 9d ago · GitHub · v0.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-30 · 9d ago · official registry · v0.4.1
FAQ
›How do I install the MyFitnessPal MCP server in Claude Code?
Run: claude mcp add mfp -e MFP_COOKIE='<mfp-cookie>' -- uvx mfp-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does MyFitnessPal require an API key?
Yes. It expects MFP_COOKIE, of which 1 is a secret.
›Can I use MyFitnessPal as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is MyFitnessPal in the official MCP registry?
Yes, as io.github.Mason-Levyy/mfp-mcp.