GeezerVison is showing almostjacked.github.io — TDEE
Tool id: tdee · Methods: mifflin, harris, katch, cunningham
Estimates Basal Metabolic Rate and Total Daily Energy Expenditure (calories burned
per day) by running four published formulas and reporting the consensus. Reach for it to set
a calorie target for cutting, maintaining, or bulking.
Field Type Notes sex"male" | "female"required agenumber years, 0–120 height{ value, unit }cm or inweight{ value, unit }kg or lbactivitylevel or number "sedentary" … "very_active", or a raw multiplierbody_fatnumber | null % — unlocks the LBM-based methods lean_mass{ value, unit } | nullalternative to body_fat methodsstring[] | "all"defaults to "all"
mifflin — Mifflin-St Jeor (1990). The modern default; most accurate for the general
population.
harris — Harris-Benedict (1919, Roza-Shizgal 1984 revision). The classic.
katch — Katch-McArdle. BMR from lean body mass ; needs body_fat or lean_mass.
cunningham — Cunningham (1980). Also LBM-based; popular for lean/athletic populations.
The two LBM-based methods are skipped unless you supply body_fat or lean_mass.
import { REGISTRY } from " @almostjacked/fitness-tools " ;
const tdee = REGISTRY . get ( " tdee " ) ! ;
tdee . compute (tdee . input . parse ({
height: { value: 180 , unit: " cm " },
weight: { value: 80 , unit: " kg " },
Terminal window curl -s localhost:8080/v1/tools/tdee \
-X POST -H ' content-type: application/json ' \
-d ' {"sex":"male","age":30,"height":{"value":180,"unit":"cm"},"weight":{"value":80,"unit":"kg"},"activity":"moderate"} '
Call the tdee tool with these arguments:
"sex" : " male " , "age" : 30 ,
"height" : { "value" : 180 , "unit" : " cm " },
"weight" : { "value" : 80 , "unit" : " kg " },
{ method: " mifflin " , value: 2759 , unit: " kcal/day " , detail: { bmr: 1780 , multiplier: 1.55 } },
{ method: " harris " , value: 2873.1 , unit: " kcal/day " , detail: { bmr: 1853.6 , multiplier: 1.55 } },
consensus: { mean: 2816.05 , median: 2816.05 , min: 2759 , max: 2873.1 , n: 2 },
{ method: " katch " , reason: " katch: requires body_fat or lean_mass " },
{ method: " cunningham " , reason: " cunningham: requires body_fat or lean_mass " },
Full docs for the other protocols: HTTP API · MCP server .