Skip to main content
Glama
ansonyuu

MyFitnessPal MCP Server

by ansonyuu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MFP_USERNAMEYesYour MyFitnessPal username.
MFP_SESSION_COOKIEYesYour MyFitnessPal session cookie from browser.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_diaryA

Get food diary entries for a specific date. Returns all meals with their food entries and calorie/macro totals.

get_nutrition_summaryA

Get a nutrition summary for a specific date, including calories, carbs, fat, protein, sodium, and sugar with their goals.

get_goalsA

Get your daily calorie and macro goals from MyFitnessPal.

quick_add_caloriesB

Add calories to your diary using Quick Add. Optionally specify carbs, fat, and protein.

search_foodA

Search the MyFitnessPal food database. Returns food items with calories and macros.

get_food_detailsA

Get detailed nutrition information and serving sizes for a specific food item. Use the food ID from search_food results.

add_foodA

Add a food item to your diary. Use search_food to find the food ID first. Optionally use get_food_details to find a specific serving size.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 7 tools

Disambiguation4/5

Most tools are clearly distinct: search_food and get_food_details relate to the food database, while get_diary and get_nutrition_summary relate to daily records. There is minor overlap between get_diary and get_nutrition_summary since both expose calorie/macro totals, but their descriptions clarify the different levels of detail.

Naming Consistency5/5

Tool names follow a consistent snake_case verb_noun pattern: get_diary, get_goals, search_food, add_food, quick_add_calories. The naming style is uniform and predictable across all seven tools.

Tool Count5/5

Seven tools is a well-scoped size for a nutrition diary server. Each tool covers a meaningful part of the workflow—viewing data, searching foods, and logging entries—without unnecessary redundancy.

Completeness3/5

The server covers core read and add workflows: viewing diary data, searching foods, getting details, and adding entries. However, it lacks update and delete operations for diary entries, which is a notable gap when correcting mistakes or modifying logged food.

Maintenance

ActivityInactive
ResponsivenessNo issues