Snowbelly Nutrition
v1.0.0Food calories (USDA data), daily calorie needs, protein and fiber targets, macro calories.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
food_calories Calories in a food
Calories, protein, fiber, carbs and fat for an everyday food (USDA FoodData Central values), per 100 g and per common portion, or for a given number of grams.
| Parameter | Type | Description |
|---|---|---|
food * | string | e.g. banana, egg, rice, avocado |
grams | number | optional portion in grams |
daily_calories Daily calorie needs
Estimated resting (BMR) and daily (TDEE) calories with the Mifflin-St Jeor equation, plus a gentle weight-loss target (TDEE - 500). Estimates for general wellness, not medical advice.
| Parameter | Type | Description |
|---|---|---|
age * | number | |
height_cm * | number | |
sex * | string | |
weight_kg * | number | |
activity | string |
protein_fiber_targets Protein and fiber targets
Protein RDA (0.8 g/kg/day, a minimum) and fiber Adequate Intake (14 g per 1,000 kcal).
| Parameter | Type | Description |
|---|---|---|
weight_kg * | number | |
calories | number | daily calories, default 2000 |
macro_calories Calories from macros
Calories from grams of protein, carbs, fat and alcohol (4/4/9/7 kcal per gram).
| Parameter | Type | Description |
|---|---|---|
alcohol_g | number | |
carbs_g | number | |
fat_g | number | |
protein_g | number |