MTFIT Programming
v1.1.0Workout 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…
| Parameter | Type | Description |
|---|---|---|
age * | integer | Age in years. Required. Under 18 gets no program. |
days_per_week * | integer | Training days per week, 3 to 7 (7 is planned as 6 plus a rest day). |
equipment * | string | minimal = one dumbbell, bands, bodyweight. |
experience * | string | beginner = under 1 year, intermediate = 1 to 3 years, advanced = 3+ years. |
goal * | string | The person's goal. |
session_minutes * | integer | Minutes available per session. Any number: the plan uses the nearest fitting length (30, 45, 60 or 75+). |
activity | string | Activity outside training. Needed for nutrition targets. |
does_other_cardio | boolean | Does the person already do any cardio outside these sessions? If false, a cardio finisher is added whatever the goal. |
ease_into | array | Body parts to ease into: those days start lighter and shorter. |
food_dislikes | string | Foods to avoid, comma separated. |
food_likes | string | Foods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies. |
height_cm | number | Height in centimetres. Needed for nutrition targets. Or send height_ft and height_in. |
height_ft | integer | Height, feet part (US units). Use with height_in. |
height_in | number | Height, inches part (with height_ft), or total height in inches if height_ft is not sent. |
injuries_or_pain | string | Any injury or pain, in the person's words. Triggers the conservative plan. |
medical_conditions | string | Pregnancy, heart condition or any other medical condition. Triggers the conservative plan. |
prioritize | array | Body parts to prioritize. |
sex | string | Needed for nutrition targets. |
weight_kg | number | Body weight in kilograms. Needed for nutrition targets. Or send weight_lb. |
weight_lb | number | Body 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.
| Parameter | Type | Description |
|---|---|---|
check_in * | object | |
program * | object | The 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
| Parameter | Type | Description |
|---|---|---|
activity * | string | Activity outside training. |
age * | integer | Age in years. Required. Under 18 gets no program. |
goal * | string | The person's goal. |
sex * | string | For the calorie estimate. |
experience | string | Lifting experience, for the muscle gain surplus. Default intermediate. |
food_dislikes | string | Foods to avoid, comma separated. |
food_likes | string | Foods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies. |
height_cm | number | Height in centimetres. Needed for nutrition targets. Or send height_ft and height_in. |
height_ft | integer | Height, feet part (US units). Use with height_in. |
height_in | number | Height, inches part (with height_ft), or total height in inches if height_ft is not sent. |
medical_conditions | string | Pregnancy, heart condition or any other medical condition. Triggers the conservative plan. |
training_days_per_week | integer | Workouts per week. Default 3. |
weight_kg | number | Body weight in kilograms. Needed for nutrition targets. Or send weight_lb. |
weight_lb | number | Body 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.
| Parameter | Type | Description |
|---|---|---|
exercise * | string | The exercise to replace, e.g. 'Barbell deadlift' or 'Cable fly'. |
reason * | string | Why it needs replacing. |
equipment | string | Equipment available now. Defaults to the exercise's own setting. |
muscle | string | The muscle it trains. Needed only if the exercise is not in the MTFIT library. |
pain_area | string | Where it hurts, when reason is pain. |