MyFitnessPal MCP
An open-source MCP server that allows AI agents to interact with MyFitnessPal by logging meals, searching the food database for macros, tracking nutritional trends, and exporting nutrition history. It reverse-engineers the web app's endpoints to support write operations like modifying and deleting diary entries.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 29 GitHub stars
What you can do with it
- Log meals by talking to the AI
- Search the food database with macros
- Track nutritional trends
- Export nutrition history
Source and maintenance
- Last repository push
- Latest release
- v0.4.3
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mfp-mcp 0.4.3
{
"version": "0.4.3",
"transport": "stdio",
"identifier": "mfp-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "MFP_COOKIE",
"format": "string",
"description": "MyFitnessPal session cookie (optional; 'mfp-mcp auth' is the guided alternative)"
},
{
"name": "MFP_USERNAME",
"format": "string",
"description": "MyFitnessPal username; only needed if MFP's profile lookup fails for your account"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"myfitnesspal-mcp": {
"command": "uvx",
"args": [
"mfp-mcp==0.4.3"
],
"env": {
"MFP_COOKIE": "<YOUR_MFP_COOKIE>",
"MFP_USERNAME": "<YOUR_MFP_USERNAME>"
}
}
}
}Cline
{
"mcpServers": {
"myfitnesspal-mcp": {
"command": "uvx",
"args": [
"mfp-mcp==0.4.3"
],
"env": {
"MFP_COOKIE": "<YOUR_MFP_COOKIE>",
"MFP_USERNAME": "<YOUR_MFP_USERNAME>"
}
}
}
}VS Code
{
"servers": {
"myfitnesspal-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mfp-mcp==0.4.3"
],
"env": {
"MFP_COOKIE": "<YOUR_MFP_COOKIE>",
"MFP_USERNAME": "<YOUR_MFP_USERNAME>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"myfitnesspal-mcp": {
"command": "uvx",
"args": [
"mfp-mcp==0.4.3"
],
"env": {
"MFP_COOKIE": "<YOUR_MFP_COOKIE>",
"MFP_USERNAME": "<YOUR_MFP_USERNAME>"
}
}
}
}Let your agent find its tools
Find servers like MyFitnessPal MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.