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. For adults 18+. Not medical or dietary advice.
POST https://mtfit-mcp.mtfit-mcp.workers.dev/api/calculate_macros
0.02 USDC on Base · payTo 0x2eDB61aE5aAAfDC59b715C2cBB5672cA0C402B80
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"activity": "on_feet",
"age": 28,
"goal": "muscle_gain",
"height_cm": 180,
"sex": "male",
"training_days_per_week": 4,
"weight_kg": 78
}{
"nutrition": {
"...": "example meals and notes in the real answer",
"calories": 2910,
"carbs_g": 360,
"explanation": "A small surplus of about 300 kcal over your estimated maintenance (2610 kcal).",
"fat_g": 95,
"protein_g": 155
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 66 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 533 ms |
| Paid calls (30d, on-chain) | 2 calls · 1 buyers · shared price cohort of 2 |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
POST https://mtfit-mcp.mtfit-mcp.workers.dev/api/calculate_macros · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"goal": {
"type": "string",
"enum": [
"fat_loss",
"muscle_gain",
"recomp"
],
"description": "The person's goal."
},
"age": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Age in years. Required. Under 18 gets no program."
},
"sex": {
"type": "string",
"enum": [
"male",
"female"
],
"description": "For the calorie estimate."
},
"activity": {
"type": "string",
"enum": [
"desk_job",
"on_feet",
"physical_job"
],
"description": "Activity outside training."
},
"height_cm": {
"description": "Height in centimetres. Needed for nutrition targets. Or send height_ft and height_in.",
"type": "number",
"minimum": 120,
"maximum": 230
},
"height_ft": {
"description": "Height, feet part (US units). Use with height_in.",
"type": "integer",
"minimum": 3,
"maximum": 7
},
"height_in": {
"description": "Height, inches part (with height_ft), or total height in inches if height_ft is not sent.",
"type": "number",
"minimum": 0,
"maximum": 95
},
"weight_kg": {
"description": "Body weight in kilograms. Needed for nutrition targets. Or send weight_lb.",
"type": "number",
"minimum": 35,
"maximum": 300
},
"weight_lb": {
"description": "Body weight in pounds (US units).",
"type": "number",
"minimum": 77,
"maximum": 660
},
"training_days_per_week": {
"description": "Workouts per week. Default 3.",
"type": "integer",
"minimum": 0,
"maximum": 7
},
"experience": {
"description": "Lifting experience, for the muscle gain surplus. Default intermediate.",
"type": "string",
"enum": [
"beginner",
"intermediate",
"advanced"
]
},
"medical_conditions": {
"description": "Pregnancy, heart condition or any other medical condition. Triggers the conservative plan.",
"type": "string",
"maxLength": 500
},
"food_likes": {
"description": "Foods the person likes, comma separated. Include 'vegetarian' or 'vegan' if that applies.",
"type": "string",
"maxLength": 300
},
"food_dislikes": {
"description": "Foods to avoid, comma separated.",
"type": "string",
"maxLength": 300
}
},
"required": [
"goal",
"age",
"sex",
"activity"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://mtfit-mcp.mtfit-mcp.workers.dev/api/calculate_macros' \
-H 'content-type: application/json' -d '{"goal":"muscle_gain","age":28,"sex":"male","activity":"on_feet","height_cm":180,"weight_kg":78,"training_days_per_week":4}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs