{"slug":"mtfit-mcp-mtfit-mcp-workers-dev-api-calculate-macros-133e2c","title":"Calorie and macro calculator from a real personal trainer's rules (MTFIT)","host":"mtfit-mcp.mtfit-mcp.workers.dev","method":"POST","resource":"https://mtfit-mcp.mtfit-mcp.workers.dev/api/calculate_macros","category":"other","description":"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. ","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":362,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"activity":"on_feet","age":28,"goal":"muscle_gain","height_cm":180,"sex":"male","training_days_per_week":4,"weight_kg":78},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"activity":{"description":"Activity outside training.","enum":["desk_job","on_feet","physical_job"],"type":"string"},"age":{"description":"Age in years. Required. Under 18 gets no program.","maximum":100,"minimum":1,"type":"integer"},"experience":{"description":"Lifting experience, for the muscle gain surplus. Default intermediate.","enum":["beginner","intermediate","advanced"],"type":"string"},"food_dislikes":{"description":"Foods to avoid, comma separated.","maxLength":300,"type":"string"},"food_likes":{"description":"Foods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies.","maxLength":300,"type":"string"},"goal":{"description":"The person's goal.","enum":["fat_loss","muscle_gain","recomp"],"type":"string"},"height_cm":{"description":"Height in centimetres. Needed for nutrition targets. Or send height_ft and height_in.","maximum":230,"minimum":120,"type":"number"},"height_ft":{"description":"Height, feet part (US units). Use with height_in.","maximum":7,"minimum":3,"type":"integer"},"height_in":{"description":"Height, inches part (with height_ft), or total height in inches if height_ft is not sent.","maximum":95,"minimum":0,"type":"number"},"medical_conditions":{"description":"Pregnancy, heart condition or any other medical condition. Triggers the conservative plan.","maxLength":500,"type":"string"},"sex":{"description":"For the calorie estimate.","enum":["male","female"],"type":"string"},"training_days_per_week":{"description":"Workouts per week. Default 3.","maximum":7,"minimum":0,"type":"integer"},"weight_kg":{"description":"Body weight in kilograms. Needed for nutrition targets. Or send weight_lb.","maximum":300,"minimum":35,"type":"number"},"weight_lb":{"description":"Body weight in pounds (US units).","maximum":660,"minimum":77,"type":"number"}},"required":["goal","age","sex","activity"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":416,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":338,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":469,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":280,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":362,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":367,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":285,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":467,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":308,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":364,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":373,"error":null}],"description_full":"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. For adults 18+. Not medical or dietary advice.","last_updated":"2026-11-17T06:47:25.333Z","schemes":["exact"]}