MyFitnessPal MCP Server
Connect Nutrition
Data to AI
16 tools for food diary access, macro tracking, weight trends, and nutrition analysis — right inside Claude Desktop.
What You Can Do
From daily meals to long-term nutrition trends.
Secure Connection
Auto-extracts session from your browser. No tokens to copy, no keys to manage.
Food Diary
Full daily diary with per-meal breakdowns — Breakfast, Lunch, Dinner, Snacks — and nutrition totals.
Macro Tracking
Protein, carbs, fat distribution with percentage analysis and daily goal comparison.
Weight Trends
Weight history, rate of change per week, min/max/avg, and trend direction over any date range.
Food Database
Search the MFP food database and get detailed nutritional information for any item.
Nutrition Analytics
Calorie trends, macro balance analysis, nutrition reports over custom date ranges, and estimated weight impact.
Quick Start
Up and running in 3 steps.
Install uv
Install the fast Python package manager. It includes uvx for running packages without setup.
Log In to MyFitnessPal
Log in to myfitnesspal.com in Chrome or Firefox. The server auto-extracts your session cookies — no manual copying required.
Add to Claude
Add to your Claude Desktop config and restart.
"mcpServers": {
"myfitnesspal": {
"command": "/path/to/uvx",
"args": ["mfp-mcp-server"]
}
}
}
Try Asking
Connect your Port, then ask.