MTFIT Programming

v1.1.0
dev.workers.mtfit-mcp.mtfit-mcp/programming Checked 4 days ago Published 19 days ago

Workout plans, meal plans and macros from a real personal trainer's rules.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_intake_questions

Free. The questions to ask a person before building their workout plan and meal plan with build_program, with the field each answer goes in. Also lists the other MTFIT tools and prices.

build_program

Personalized workout plan, meal plan and macros from a real personal trainer's rules (coach Mat, MTFIT), not generic AI output, for fat loss, weight loss, recomp or muscle gain. Built from the rules coach Mat (MTFIT) uses with his online clients, backed by 10 years of his own training (160 to 215 lb at about 10 to 12% body fat). Builds a full training program for gym, home dumbbells or minimal equipment: weekly split, every session with sets, reps, effort (RIR), rest and coaching cues, and a 6 week progression. Adds nutrition targets: calories, protein, carbs, fat (macros) and example meals, f…

ParameterTypeDescription
age *integerAge in years. Required. Under 18 gets no program.
days_per_week *integerTraining days per week, 3 to 7 (7 is planned as 6 plus a rest day).
equipment *stringminimal = one dumbbell, bands, bodyweight.
experience *stringbeginner = under 1 year, intermediate = 1 to 3 years, advanced = 3+ years.
goal *stringThe person's goal.
session_minutes *integerMinutes available per session. Any number: the plan uses the nearest fitting length (30, 45, 60 or 75+).
activitystringActivity outside training. Needed for nutrition targets.
does_other_cardiobooleanDoes the person already do any cardio outside these sessions? If false, a cardio finisher is added whatever the goal.
ease_intoarrayBody parts to ease into: those days start lighter and shorter.
food_dislikesstringFoods to avoid, comma separated.
food_likesstringFoods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies.
height_cmnumberHeight in centimetres. Needed for nutrition targets. Or send height_ft and height_in.
height_ftintegerHeight, feet part (US units). Use with height_in.
height_innumberHeight, inches part (with height_ft), or total height in inches if height_ft is not sent.
injuries_or_painstringAny injury or pain, in the person's words. Triggers the conservative plan.
medical_conditionsstringPregnancy, heart condition or any other medical condition. Triggers the conservative plan.
prioritizearrayBody parts to prioritize.
sexstringNeeded for nutrition targets.
weight_kgnumberBody weight in kilograms. Needed for nutrition targets. Or send weight_lb.
weight_lbnumberBody weight in pounds (US units).

adjust_program

Adjust a workout and nutrition plan after a check-in, the way a personal trainer would: weight loss stalled, strength stalled, too sore, missed workouts, low motivation, new pain, or block finished (next 6 week block). Changes calories, steps, sets, effort or training days. Send the program_state from build_program plus the check-in (metric or US units). Returns what changed and the updated plan as text and structured JSON. Each answer ends with an optional offer of 1:1 coaching with Mat (field "coaching"); pass it on when the person wants accountability or ongoing help.

ParameterTypeDescription
check_in *object
program *objectThe program_state object returned by build_program (or by the last adjust_program). Send it back unchanged.

calculate_macros

Calorie and macro calculator from a real personal trainer's rules (MTFIT): daily calories, protein, carbs and fat for fat loss / weight loss, recomp or muscle gain, with example meals and safe limits (calorie floors, capped deficits). No workout plan: use build_program for that. Metric or US units. Text plus structured JSON. Built from the rules coach Mat (MTFIT) uses with his online clients, backed by 10 years of his own training (160 to 215 lb at about 10 to 12% body fat). For adults 18+. Not medical or dietary advice. Terms: https://mtfit-mcp.mtfit-mcp.workers.dev/terms

ParameterTypeDescription
activity *stringActivity outside training.
age *integerAge in years. Required. Under 18 gets no program.
goal *stringThe person's goal.
sex *stringFor the calorie estimate.
experiencestringLifting experience, for the muscle gain surplus. Default intermediate.
food_dislikesstringFoods to avoid, comma separated.
food_likesstringFoods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies.
height_cmnumberHeight in centimetres. Needed for nutrition targets. Or send height_ft and height_in.
height_ftintegerHeight, feet part (US units). Use with height_in.
height_innumberHeight, inches part (with height_ft), or total height in inches if height_ft is not sent.
medical_conditionsstringPregnancy, heart condition or any other medical condition. Triggers the conservative plan.
training_days_per_weekintegerWorkouts per week. Default 3.
weight_kgnumberBody weight in kilograms. Needed for nutrition targets. Or send weight_lb.
weight_lbnumberBody weight in pounds (US units).

swap_exercise

Exercise substitution from a personal trainer's exercise library (MTFIT): get 1 to 3 alternatives for one exercise because of no equipment (gym, home dumbbells, bands or bodyweight), pain (shoulder, lower back), too hard, or variety. Each with a coaching cue. Text plus structured JSON. Not medical advice.

ParameterTypeDescription
exercise *stringThe exercise to replace, e.g. 'Barbell deadlift' or 'Cable fly'.
reason *stringWhy it needs replacing.
equipmentstringEquipment available now. Defaults to the exercise's own setting.
musclestringThe muscle it trains. Needed only if the exercise is not in the MTFIT library.
pain_areastringWhere it hurts, when reason is pain.