🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@humanform/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@humanform/mcp - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+18
-3
dist/client.d.ts

@@ -1,2 +0,2 @@

import type { PredictToolInput } from "./schemas.js";
import type { PredictToolInput, PercentileLookupToolInput } from "./schemas.js";
export type HumanformClientOptions = {

@@ -13,9 +13,24 @@ apiKey: string;

predict(input: PredictToolInput): Promise<Record<string, unknown>>;
percentileLookup(input: PercentileLookupToolInput): Promise<Record<string, unknown>>;
listMeasurements(): Promise<{
measurements: string[];
groups: Array<{
measurements: Array<{
name: string;
description: string;
bodyGroup: string;
applicationGroup: string;
prominence: string;
}>;
bodyGroups: Array<{
id: string;
label: string;
description: string;
longDescription: string;
measurements: string[];
}>;
groups: Array<{
id: string;
label: string;
description: string;
longDescription: string;
}>;
}>;

@@ -22,0 +37,0 @@ listCountries(): Promise<{

+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBAErB,OAAO,EAAE,sBAAsB;IAK3C,OAAO,CAAC,OAAO;YAQD,OAAO;IAkBrB,OAAO,CAAC,KAAK,EAAE,gBAAgB;IAI/B,gBAAgB;sBAEE,MAAM,EAAE;gBACd,KAAK,CAAC;YACZ,EAAE,EAAE,MAAM,CAAC;YACX,KAAK,EAAE,MAA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EAAE,MAAM,CAAC;SACzB,CAAC;;IAIN,aAAa;mBAEE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;;CAGtE;AAED,wBAAgB,mBAAmB,IAAI,eAAe,CAYrD"}

@@ -30,2 +30,5 @@ import { readApiError } from "./errors.js";

}
percentileLookup(input) {
return this.request("POST", "/v1/percentile-lookup", input);
}
listMeasurements() {

@@ -32,0 +35,0 @@ return this.request("GET", "/v1/public/measurements");

@@ -1,1 +0,1 @@

{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQ3C,MAAM,OAAO,eAAe;IACT,MAAM,CAAS;IACf,OAAO,CAAS;IAEjC,YAAY,OAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;IAEO,OAAO;QACb,OAAO;YACL,aAAa,EAAE,UAAU,IAAI,CAAC,MAAM,EAAE;YACtC,MAAM,EAAE,kBAAkB;YAC1B,cAAc,EAAE,kBAAkB;SACnC,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,OAAO,CACnB,MAAc,EACd,IAAY,EACZ,IAAc;QAEd,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,EAAE,EAAE;YACrD,MAAM;YACN,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;YACvB,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;SAC5D,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ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iFAAiF,CAClF,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GACX,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,2BAA2B,CAAC;IAEvE,OAAO,IAAI,eAAe,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;AAClD,CAAC"}

@@ -6,3 +6,3 @@ #!/usr/bin/env node

import { HumanformApiError } from "./errors.js";
import { predictToolInputSchema } from "./schemas.js";
import { predictToolInputSchema, percentileLookupToolInputSchema } from "./schemas.js";
function toolError(error) {

@@ -50,3 +50,3 @@ const message = error instanceof HumanformApiError

server.registerTool("predict_measurement", {
description: "Predict a single anthropometric measurement via POST /v1/predict. Charges one credit on success (or uses free tier when credits are zero).",
description: "Predict a single anthropometric measurement via POST /v1/predict. Returns value, unit, and source (modeled or derived). Charges one credit on success (or uses free tier when credits are zero).",
inputSchema: predictToolInputSchema.shape,

@@ -63,2 +63,15 @@ }, async (input) => {

});
server.registerTool("percentile_lookup", {
description: "Given a measured body dimension, return the population percentile it corresponds to via POST /v1/percentile-lookup. Charges one credit on success (or uses free tier when credits are zero).",
inputSchema: percentileLookupToolInputSchema.shape,
}, async (input) => {
try {
const parsed = percentileLookupToolInputSchema.parse(input);
const result = await client.percentileLookup(parsed);
return toolSuccess(result);
}
catch (error) {
return toolError(error);
}
});
server.registerTool("list_measurements", {

@@ -65,0 +78,0 @@ description: "List all supported measurement names and body-region groups from GET /v1/public/measurements.",

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,c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AC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
/** Keep in sync with apps/api/src/measurements/names.ts */
export declare const MEASUREMENT_NAMES: readonly ["AbdominalDepth", "ArmRestHeight", "BackOfHeadToChin", "BackOfHeadToEye", "BackOfHeadToLip", "BackOfHeadToNoseTip", "BackOfHeadToSelion", "BackOfHeadToTragion", "Biocular", "BitragionWidth", "ButtockKneeLength", "ButtockPoplitealLength", "ChestBreadth", "ChestDepth", "CrotchHeight", "DorsomLength", "EarLength", "ElbowFingertipLength", "ElbowHeight", "ElbowSpan", "EyeBodyCentreDistance", "EyeHeight", "EyeScalpDistance", "EyeToSeat", "EyeToTableDistance", "FingertipHeight", "FootBreadth", "FootLength", "ForearmLength", "ForeheadWidth", "GripWidth", "HairLine", "HandBreadth", "HandLength", "HeadBreadth", "HeadGirth", "HeadLength", "HeadToGlabella", "HeadToNoseTip", "HeadToTragion", "HighCounterHeight", "HipBreadth", "HipHeight", "IndexFingerLength", "IndexFingerWidthPip", "IndexFingerWidthTip", "KneeHeight", "KnuckleHeight", "LegLength", "LegRoom", "LipLength", "LittleFingerLength", "LittleFingerWidthPip", "LittleFingerWidthTip", "LowCounterHeight", "MaximumSeatLength", "MaximumTableHeight", "MiddleFingerLength", "MiddleFingerWidthPip", "MiddleFingerWidthTip", "NeckCircumference", "NoseLength", "PalmLength", "PoplitealHeight", "RingFingerLength", "RingFingerWidthPip", "RingFingerWidthTip", "SeatHeight", "ShoulderBreadthBiacromial", "ShoulderBreadthBideltoid", "ShoulderElbowLength", "ShoulderGripLength", "ShoulderHeight", "SittingDistance", "SittingElbowHeight", "SittingEyeHeight", "SittingHeight", "SittingHipBreadth", "SittingShoulderHeight", "Span", "StandingHipBreadth", "Stature", "ThighLength", "ThighThickness", "ThumbTipToCrotch", "TopOfHeadToStomion", "TrunkLength", "UpperArmLength", "UpperLimbLength", "WorkReach", "WristWidth"];
/** Keep in sync with apps/api/src/measurements/derived/names.ts */
export declare const DERIVED_MEASUREMENT_NAMES: readonly ["ShoulderToWristLength", "SittingUpperLegLength", "BackOfElbowToWristLength", "ElbowToMiddleFingertipLength", "CreaseBehindKneeToAnkle", "ButtockToSoleSitting", "OutsideLegLength", "MidShoulderToWaistLength", "ShoulderToFingertipHorizontal", "UpperLegLengthSitting", "WaistToCrotchLength", "FrontOfNeckToWaistLength", "ThumbLength", "VerticalGripReachStanding", "VerticalGripReachSitting", "HorizontalPinchGripReach", "EarBreadth", "HandGripHeightStanding", "NapeHeightSitting", "SacralHeightSitting", "C7HeightStanding", "C7HeightSitting", "ArmpitHeightStanding", "JawWidth", "MidShoulderHeightStanding", "MidShoulderHeightSitting", "IndexFingerHeightStanding", "WristCircumference", "HandCircumference", "FistCircumference", "WaistHeightStanding", "WaistHeightSitting", "WaistDepthStanding", "FaceBreadth", "NoseBreadth", "InterNippleDistance", "ThighCircumferenceMidpoint", "UpperArmCircumferenceMidpoint", "NeckCircumferenceAdamsApple", "HipCircumferenceMax", "MidHipCircumference", "ChestCircumferenceArmpit", "ChestCircumferenceNipple", "CalfCircumference", "KneeCircumference", "WaistCircumferenceAbdominal", "FemaleChestCircumferenceBelowBreasts", "FootHeight", "FootCircumferenceBall", "FootCircumferenceInstep", "ThighCircumferenceBelowButtock", "CircumferenceBelowKnee", "TrunkDepthAtButtocks", "ThighDepthSitting", "ShoulderDepth", "WholeBodyBreadthMax", "WholeBodyDepthMax"];
export declare const PREDICTABLE_MEASUREMENT_NAMES: readonly ["AbdominalDepth", "ArmRestHeight", "BackOfHeadToChin", "BackOfHeadToEye", "BackOfHeadToLip", "BackOfHeadToNoseTip", "BackOfHeadToSelion", "BackOfHeadToTragion", "Biocular", "BitragionWidth", "ButtockKneeLength", "ButtockPoplitealLength", "ChestBreadth", "ChestDepth", "CrotchHeight", "DorsomLength", "EarLength", "ElbowFingertipLength", "ElbowHeight", "ElbowSpan", "EyeBodyCentreDistance", "EyeHeight", "EyeScalpDistance", "EyeToSeat", "EyeToTableDistance", "FingertipHeight", "FootBreadth", "FootLength", "ForearmLength", "ForeheadWidth", "GripWidth", "HairLine", "HandBreadth", "HandLength", "HeadBreadth", "HeadGirth", "HeadLength", "HeadToGlabella", "HeadToNoseTip", "HeadToTragion", "HighCounterHeight", "HipBreadth", "HipHeight", "IndexFingerLength", "IndexFingerWidthPip", "IndexFingerWidthTip", "KneeHeight", "KnuckleHeight", "LegLength", "LegRoom", "LipLength", "LittleFingerLength", "LittleFingerWidthPip", "LittleFingerWidthTip", "LowCounterHeight", "MaximumSeatLength", "MaximumTableHeight", "MiddleFingerLength", "MiddleFingerWidthPip", "MiddleFingerWidthTip", "NeckCircumference", "NoseLength", "PalmLength", "PoplitealHeight", "RingFingerLength", "RingFingerWidthPip", "RingFingerWidthTip", "SeatHeight", "ShoulderBreadthBiacromial", "ShoulderBreadthBideltoid", "ShoulderElbowLength", "ShoulderGripLength", "ShoulderHeight", "SittingDistance", "SittingElbowHeight", "SittingEyeHeight", "SittingHeight", "SittingHipBreadth", "SittingShoulderHeight", "Span", "StandingHipBreadth", "Stature", "ThighLength", "ThighThickness", "ThumbTipToCrotch", "TopOfHeadToStomion", "TrunkLength", "UpperArmLength", "UpperLimbLength", "WorkReach", "WristWidth", "ShoulderToWristLength", "SittingUpperLegLength", "BackOfElbowToWristLength", "ElbowToMiddleFingertipLength", "CreaseBehindKneeToAnkle", "ButtockToSoleSitting", "OutsideLegLength", "MidShoulderToWaistLength", "ShoulderToFingertipHorizontal", "UpperLegLengthSitting", "WaistToCrotchLength", "FrontOfNeckToWaistLength", "ThumbLength", "VerticalGripReachStanding", "VerticalGripReachSitting", "HorizontalPinchGripReach", "EarBreadth", "HandGripHeightStanding", "NapeHeightSitting", "SacralHeightSitting", "C7HeightStanding", "C7HeightSitting", "ArmpitHeightStanding", "JawWidth", "MidShoulderHeightStanding", "MidShoulderHeightSitting", "IndexFingerHeightStanding", "WristCircumference", "HandCircumference", "FistCircumference", "WaistHeightStanding", "WaistHeightSitting", "WaistDepthStanding", "FaceBreadth", "NoseBreadth", "InterNippleDistance", "ThighCircumferenceMidpoint", "UpperArmCircumferenceMidpoint", "NeckCircumferenceAdamsApple", "HipCircumferenceMax", "MidHipCircumference", "ChestCircumferenceArmpit", "ChestCircumferenceNipple", "CalfCircumference", "KneeCircumference", "WaistCircumferenceAbdominal", "FemaleChestCircumferenceBelowBreasts", "FootHeight", "FootCircumferenceBall", "FootCircumferenceInstep", "ThighCircumferenceBelowButtock", "CircumferenceBelowKnee", "TrunkDepthAtButtocks", "ThighDepthSitting", "ShoulderDepth", "WholeBodyBreadthMax", "WholeBodyDepthMax"];
//# sourceMappingURL=measurements.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"measurements.d.ts","sourceRoot":"","sources":["../src/measurements.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,soDA4FpB,CAAC"}
{"version":3,"file":"measurements.d.ts","sourceRoot":"","sources":["../src/measurements.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,soDA4FpB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,yBAAyB,u3CA0D5B,CAAC;AAEX,eAAO,MAAM,6BAA6B,k/FAGhC,CAAC"}

@@ -95,2 +95,66 @@ /** Keep in sync with apps/api/src/measurements/names.ts */

];
/** Keep in sync with apps/api/src/measurements/derived/names.ts */
export const DERIVED_MEASUREMENT_NAMES = [
"ShoulderToWristLength",
"SittingUpperLegLength",
"BackOfElbowToWristLength",
"ElbowToMiddleFingertipLength",
"CreaseBehindKneeToAnkle",
"ButtockToSoleSitting",
"OutsideLegLength",
"MidShoulderToWaistLength",
"ShoulderToFingertipHorizontal",
"UpperLegLengthSitting",
"WaistToCrotchLength",
"FrontOfNeckToWaistLength",
"ThumbLength",
"VerticalGripReachStanding",
"VerticalGripReachSitting",
"HorizontalPinchGripReach",
"EarBreadth",
"HandGripHeightStanding",
"NapeHeightSitting",
"SacralHeightSitting",
"C7HeightStanding",
"C7HeightSitting",
"ArmpitHeightStanding",
"JawWidth",
"MidShoulderHeightStanding",
"MidShoulderHeightSitting",
"IndexFingerHeightStanding",
"WristCircumference",
"HandCircumference",
"FistCircumference",
"WaistHeightStanding",
"WaistHeightSitting",
"WaistDepthStanding",
"FaceBreadth",
"NoseBreadth",
"InterNippleDistance",
"ThighCircumferenceMidpoint",
"UpperArmCircumferenceMidpoint",
"NeckCircumferenceAdamsApple",
"HipCircumferenceMax",
"MidHipCircumference",
"ChestCircumferenceArmpit",
"ChestCircumferenceNipple",
"CalfCircumference",
"KneeCircumference",
"WaistCircumferenceAbdominal",
"FemaleChestCircumferenceBelowBreasts",
"FootHeight",
"FootCircumferenceBall",
"FootCircumferenceInstep",
"ThighCircumferenceBelowButtock",
"CircumferenceBelowKnee",
"TrunkDepthAtButtocks",
"ThighDepthSitting",
"ShoulderDepth",
"WholeBodyBreadthMax",
"WholeBodyDepthMax",
];
export const PREDICTABLE_MEASUREMENT_NAMES = [
...MEASUREMENT_NAMES,
...DERIVED_MEASUREMENT_NAMES,
];
//# sourceMappingURL=measurements.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"measurements.js","sourceRoot":"","sources":["../src/measurements.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;IACrB,UAAU;IACV,gBAAgB;IAChB,mBAAmB;IACnB,wBAAwB;IACxB,cAAc;IACd,YAAY;IACZ,cAAc;IACd,cAAc;IACd,WAAW;IACX,sBAAsB;IACtB,aAAa;IACb,WAAW;IACX,uBAAuB;IACvB,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,oBAAoB;IACpB,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,eAAe;IACf,eAAe;IACf,WAAW;IACX,UAAU;IACV,aAAa;IACb,YAAY;IACZ,aAAa;IACb,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,mBAAmB;IACnB,qBAAqB;IACrB,qBAAqB;IACrB,YAAY;IACZ,eAAe;IACf,WAAW;IACX,SAAS;IACT,WAAW;IACX,oBAAoB;IACpB,sBAAsB;IACtB,sBAAsB;IACtB,kBAAkB;IAClB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;IACpB,sBAAsB;IACtB,sBAAsB;IACtB,mBAAmB;IACnB,YAAY;IACZ,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,YAAY;IACZ,2BAA2B;IAC3B,0BAA0B;IAC1B,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,kBAAkB;IAClB,eAAe;IACf,mBAAmB;IACnB,uBAAuB;IACvB,MAAM;IACN,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,gBAAgB;IAChB,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;IACb,gBAAgB;IAChB,iBAAiB;IACjB,WAAW;IACX,YAAY;CACJ,CAAC"}
{"version":3,"file":"measurements.js","sourceRoot":"","sources":["../src/measurements.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;IACrB,UAAU;IACV,gBAAgB;IAChB,mBAAmB;IACnB,wBAAwB;IACxB,cAAc;IACd,YAAY;IACZ,cAAc;IACd,cAAc;IACd,WAAW;IACX,sBAAsB;IACtB,aAAa;IACb,WAAW;IACX,uBAAuB;IACvB,WAAW;IACX,kBAAkB;IAClB,WAAW;IACX,oBAAoB;I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B,iBAAiB;IACjB,sBAAsB;IACtB,UAAU;IACV,2BAA2B;IAC3B,0BAA0B;IAC1B,2BAA2B;IAC3B,oBAAoB;IACpB,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,oBAAoB;IACpB,oBAAoB;IACpB,aAAa;IACb,aAAa;IACb,qBAAqB;IACrB,4BAA4B;IAC5B,+BAA+B;IAC/B,6BAA6B;IAC7B,qBAAqB;IACrB,qBAAqB;IACrB,0BAA0B;IAC1B,0BAA0B;IAC1B,mBAAmB;IACnB,mBAAmB;IACnB,6BAA6B;IAC7B,sCAAsC;IACtC,YAAY;IACZ,uBAAuB;IACvB,yBAAyB;IACzB,gCAAgC;IAChC,wBAAwB;IACxB,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;IACf,qBAAqB;IACrB,mBAAmB;CACX,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,GAAG,iBAAiB;IACpB,GAAG,yBAAyB;CACpB,CAAC"}
import { z } from "zod";
/** Mirrors apps/api/src/schemas/predict.ts */
export declare const predictToolInputSchema: z.ZodObject<{
measurement: z.ZodEnum<["AbdominalDepth", "ArmRestHeight", "BackOfHeadToChin", "BackOfHeadToEye", "BackOfHeadToLip", "BackOfHeadToNoseTip", "BackOfHeadToSelion", "BackOfHeadToTragion", "Biocular", "BitragionWidth", "ButtockKneeLength", "ButtockPoplitealLength", "ChestBreadth", "ChestDepth", "CrotchHeight", "DorsomLength", "EarLength", "ElbowFingertipLength", "ElbowHeight", "ElbowSpan", "EyeBodyCentreDistance", "EyeHeight", "EyeScalpDistance", "EyeToSeat", "EyeToTableDistance", "FingertipHeight", "FootBreadth", "FootLength", "ForearmLength", "ForeheadWidth", "GripWidth", "HairLine", "HandBreadth", "HandLength", "HeadBreadth", "HeadGirth", "HeadLength", "HeadToGlabella", "HeadToNoseTip", "HeadToTragion", "HighCounterHeight", "HipBreadth", "HipHeight", "IndexFingerLength", "IndexFingerWidthPip", "IndexFingerWidthTip", "KneeHeight", "KnuckleHeight", "LegLength", "LegRoom", "LipLength", "LittleFingerLength", "LittleFingerWidthPip", "LittleFingerWidthTip", "LowCounterHeight", "MaximumSeatLength", "MaximumTableHeight", "MiddleFingerLength", "MiddleFingerWidthPip", "MiddleFingerWidthTip", "NeckCircumference", "NoseLength", "PalmLength", "PoplitealHeight", "RingFingerLength", "RingFingerWidthPip", "RingFingerWidthTip", "SeatHeight", "ShoulderBreadthBiacromial", "ShoulderBreadthBideltoid", "ShoulderElbowLength", "ShoulderGripLength", "ShoulderHeight", "SittingDistance", "SittingElbowHeight", "SittingEyeHeight", "SittingHeight", "SittingHipBreadth", "SittingShoulderHeight", "Span", "StandingHipBreadth", "Stature", "ThighLength", "ThighThickness", "ThumbTipToCrotch", "TopOfHeadToStomion", "TrunkLength", "UpperArmLength", "UpperLimbLength", "WorkReach", "WristWidth"]>;
measurement: z.ZodEnum<["AbdominalDepth", "ArmRestHeight", "BackOfHeadToChin", "BackOfHeadToEye", "BackOfHeadToLip", "BackOfHeadToNoseTip", "BackOfHeadToSelion", "BackOfHeadToTragion", "Biocular", "BitragionWidth", "ButtockKneeLength", "ButtockPoplitealLength", "ChestBreadth", "ChestDepth", "CrotchHeight", "DorsomLength", "EarLength", "ElbowFingertipLength", "ElbowHeight", "ElbowSpan", "EyeBodyCentreDistance", "EyeHeight", "EyeScalpDistance", "EyeToSeat", "EyeToTableDistance", "FingertipHeight", "FootBreadth", "FootLength", "ForearmLength", "ForeheadWidth", "GripWidth", "HairLine", "HandBreadth", "HandLength", "HeadBreadth", "HeadGirth", "HeadLength", "HeadToGlabella", "HeadToNoseTip", "HeadToTragion", "HighCounterHeight", "HipBreadth", "HipHeight", "IndexFingerLength", "IndexFingerWidthPip", "IndexFingerWidthTip", "KneeHeight", "KnuckleHeight", "LegLength", "LegRoom", "LipLength", "LittleFingerLength", "LittleFingerWidthPip", "LittleFingerWidthTip", "LowCounterHeight", "MaximumSeatLength", "MaximumTableHeight", "MiddleFingerLength", "MiddleFingerWidthPip", "MiddleFingerWidthTip", "NeckCircumference", "NoseLength", "PalmLength", "PoplitealHeight", "RingFingerLength", "RingFingerWidthPip", "RingFingerWidthTip", "SeatHeight", "ShoulderBreadthBiacromial", "ShoulderBreadthBideltoid", "ShoulderElbowLength", "ShoulderGripLength", "ShoulderHeight", "SittingDistance", "SittingElbowHeight", "SittingEyeHeight", "SittingHeight", "SittingHipBreadth", "SittingShoulderHeight", "Span", "StandingHipBreadth", "Stature", "ThighLength", "ThighThickness", "ThumbTipToCrotch", "TopOfHeadToStomion", "TrunkLength", "UpperArmLength", "UpperLimbLength", "WorkReach", "WristWidth", "ShoulderToWristLength", "SittingUpperLegLength", "BackOfElbowToWristLength", "ElbowToMiddleFingertipLength", "CreaseBehindKneeToAnkle", "ButtockToSoleSitting", "OutsideLegLength", "MidShoulderToWaistLength", "ShoulderToFingertipHorizontal", "UpperLegLengthSitting", "WaistToCrotchLength", "FrontOfNeckToWaistLength", "ThumbLength", "VerticalGripReachStanding", "VerticalGripReachSitting", "HorizontalPinchGripReach", "EarBreadth", "HandGripHeightStanding", "NapeHeightSitting", "SacralHeightSitting", "C7HeightStanding", "C7HeightSitting", "ArmpitHeightStanding", "JawWidth", "MidShoulderHeightStanding", "MidShoulderHeightSitting", "IndexFingerHeightStanding", "WristCircumference", "HandCircumference", "FistCircumference", "WaistHeightStanding", "WaistHeightSitting", "WaistDepthStanding", "FaceBreadth", "NoseBreadth", "InterNippleDistance", "ThighCircumferenceMidpoint", "UpperArmCircumferenceMidpoint", "NeckCircumferenceAdamsApple", "HipCircumferenceMax", "MidHipCircumference", "ChestCircumferenceArmpit", "ChestCircumferenceNipple", "CalfCircumference", "KneeCircumference", "WaistCircumferenceAbdominal", "FemaleChestCircumferenceBelowBreasts", "FootHeight", "FootCircumferenceBall", "FootCircumferenceInstep", "ThighCircumferenceBelowButtock", "CircumferenceBelowKnee", "TrunkDepthAtButtocks", "ThighDepthSitting", "ShoulderDepth", "WholeBodyBreadthMax", "WholeBodyDepthMax"]>;
gender: z.ZodEnum<["Male", "Female"]>;

@@ -11,3 +11,3 @@ age: z.ZodNumber;

}, "strip", z.ZodTypeAny, {
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth";
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth" | "ShoulderToWristLength" | "SittingUpperLegLength" | "BackOfElbowToWristLength" | "ElbowToMiddleFingertipLength" | "CreaseBehindKneeToAnkle" | "ButtockToSoleSitting" | "OutsideLegLength" | "MidShoulderToWaistLength" | "ShoulderToFingertipHorizontal" | "UpperLegLengthSitting" | "WaistToCrotchLength" | "FrontOfNeckToWaistLength" | "ThumbLength" | "VerticalGripReachStanding" | "VerticalGripReachSitting" | "HorizontalPinchGripReach" | "EarBreadth" | "HandGripHeightStanding" | "NapeHeightSitting" | "SacralHeightSitting" | "C7HeightStanding" | "C7HeightSitting" | "ArmpitHeightStanding" | "JawWidth" | "MidShoulderHeightStanding" | "MidShoulderHeightSitting" | "IndexFingerHeightStanding" | "WristCircumference" | "HandCircumference" | "FistCircumference" | "WaistHeightStanding" | "WaistHeightSitting" | "WaistDepthStanding" | "FaceBreadth" | "NoseBreadth" | "InterNippleDistance" | "ThighCircumferenceMidpoint" | "UpperArmCircumferenceMidpoint" | "NeckCircumferenceAdamsApple" | "HipCircumferenceMax" | "MidHipCircumference" | "ChestCircumferenceArmpit" | "ChestCircumferenceNipple" | "CalfCircumference" | "KneeCircumference" | "WaistCircumferenceAbdominal" | "FemaleChestCircumferenceBelowBreasts" | "FootHeight" | "FootCircumferenceBall" | "FootCircumferenceInstep" | "ThighCircumferenceBelowButtock" | "CircumferenceBelowKnee" | "TrunkDepthAtButtocks" | "ThighDepthSitting" | "ShoulderDepth" | "WholeBodyBreadthMax" | "WholeBodyDepthMax";
gender: "Male" | "Female";

@@ -19,3 +19,3 @@ age: number;

}, {
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth";
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth" | "ShoulderToWristLength" | "SittingUpperLegLength" | "BackOfElbowToWristLength" | "ElbowToMiddleFingertipLength" | "CreaseBehindKneeToAnkle" | "ButtockToSoleSitting" | "OutsideLegLength" | "MidShoulderToWaistLength" | "ShoulderToFingertipHorizontal" | "UpperLegLengthSitting" | "WaistToCrotchLength" | "FrontOfNeckToWaistLength" | "ThumbLength" | "VerticalGripReachStanding" | "VerticalGripReachSitting" | "HorizontalPinchGripReach" | "EarBreadth" | "HandGripHeightStanding" | "NapeHeightSitting" | "SacralHeightSitting" | "C7HeightStanding" | "C7HeightSitting" | "ArmpitHeightStanding" | "JawWidth" | "MidShoulderHeightStanding" | "MidShoulderHeightSitting" | "IndexFingerHeightStanding" | "WristCircumference" | "HandCircumference" | "FistCircumference" | "WaistHeightStanding" | "WaistHeightSitting" | "WaistDepthStanding" | "FaceBreadth" | "NoseBreadth" | "InterNippleDistance" | "ThighCircumferenceMidpoint" | "UpperArmCircumferenceMidpoint" | "NeckCircumferenceAdamsApple" | "HipCircumferenceMax" | "MidHipCircumference" | "ChestCircumferenceArmpit" | "ChestCircumferenceNipple" | "CalfCircumference" | "KneeCircumference" | "WaistCircumferenceAbdominal" | "FemaleChestCircumferenceBelowBreasts" | "FootHeight" | "FootCircumferenceBall" | "FootCircumferenceInstep" | "ThighCircumferenceBelowButtock" | "CircumferenceBelowKnee" | "TrunkDepthAtButtocks" | "ThighDepthSitting" | "ShoulderDepth" | "WholeBodyBreadthMax" | "WholeBodyDepthMax";
gender: "Male" | "Female";

@@ -28,2 +28,26 @@ age: number;

export type PredictToolInput = z.infer<typeof predictToolInputSchema>;
/** Mirrors apps/api/src/schemas/percentile-lookup.ts */
export declare const percentileLookupToolInputSchema: z.ZodObject<{
measurement: z.ZodEnum<["AbdominalDepth", "ArmRestHeight", "BackOfHeadToChin", "BackOfHeadToEye", "BackOfHeadToLip", "BackOfHeadToNoseTip", "BackOfHeadToSelion", "BackOfHeadToTragion", "Biocular", "BitragionWidth", "ButtockKneeLength", "ButtockPoplitealLength", "ChestBreadth", "ChestDepth", "CrotchHeight", "DorsomLength", "EarLength", "ElbowFingertipLength", "ElbowHeight", "ElbowSpan", "EyeBodyCentreDistance", "EyeHeight", "EyeScalpDistance", "EyeToSeat", "EyeToTableDistance", "FingertipHeight", "FootBreadth", "FootLength", "ForearmLength", "ForeheadWidth", "GripWidth", "HairLine", "HandBreadth", "HandLength", "HeadBreadth", "HeadGirth", "HeadLength", "HeadToGlabella", "HeadToNoseTip", "HeadToTragion", "HighCounterHeight", "HipBreadth", "HipHeight", "IndexFingerLength", "IndexFingerWidthPip", "IndexFingerWidthTip", "KneeHeight", "KnuckleHeight", "LegLength", "LegRoom", "LipLength", "LittleFingerLength", "LittleFingerWidthPip", "LittleFingerWidthTip", "LowCounterHeight", "MaximumSeatLength", "MaximumTableHeight", "MiddleFingerLength", "MiddleFingerWidthPip", "MiddleFingerWidthTip", "NeckCircumference", "NoseLength", "PalmLength", "PoplitealHeight", "RingFingerLength", "RingFingerWidthPip", "RingFingerWidthTip", "SeatHeight", "ShoulderBreadthBiacromial", "ShoulderBreadthBideltoid", "ShoulderElbowLength", "ShoulderGripLength", "ShoulderHeight", "SittingDistance", "SittingElbowHeight", "SittingEyeHeight", "SittingHeight", "SittingHipBreadth", "SittingShoulderHeight", "Span", "StandingHipBreadth", "Stature", "ThighLength", "ThighThickness", "ThumbTipToCrotch", "TopOfHeadToStomion", "TrunkLength", "UpperArmLength", "UpperLimbLength", "WorkReach", "WristWidth", "ShoulderToWristLength", "SittingUpperLegLength", "BackOfElbowToWristLength", "ElbowToMiddleFingertipLength", "CreaseBehindKneeToAnkle", "ButtockToSoleSitting", "OutsideLegLength", "MidShoulderToWaistLength", "ShoulderToFingertipHorizontal", "UpperLegLengthSitting", "WaistToCrotchLength", "FrontOfNeckToWaistLength", "ThumbLength", "VerticalGripReachStanding", "VerticalGripReachSitting", "HorizontalPinchGripReach", "EarBreadth", "HandGripHeightStanding", "NapeHeightSitting", "SacralHeightSitting", "C7HeightStanding", "C7HeightSitting", "ArmpitHeightStanding", "JawWidth", "MidShoulderHeightStanding", "MidShoulderHeightSitting", "IndexFingerHeightStanding", "WristCircumference", "HandCircumference", "FistCircumference", "WaistHeightStanding", "WaistHeightSitting", "WaistDepthStanding", "FaceBreadth", "NoseBreadth", "InterNippleDistance", "ThighCircumferenceMidpoint", "UpperArmCircumferenceMidpoint", "NeckCircumferenceAdamsApple", "HipCircumferenceMax", "MidHipCircumference", "ChestCircumferenceArmpit", "ChestCircumferenceNipple", "CalfCircumference", "KneeCircumference", "WaistCircumferenceAbdominal", "FemaleChestCircumferenceBelowBreasts", "FootHeight", "FootCircumferenceBall", "FootCircumferenceInstep", "ThighCircumferenceBelowButtock", "CircumferenceBelowKnee", "TrunkDepthAtButtocks", "ThighDepthSitting", "ShoulderDepth", "WholeBodyBreadthMax", "WholeBodyDepthMax"]>;
gender: z.ZodEnum<["Male", "Female"]>;
age: z.ZodNumber;
country: z.ZodString;
unit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["mm", "cm", "in"]>>>;
value: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth" | "ShoulderToWristLength" | "SittingUpperLegLength" | "BackOfElbowToWristLength" | "ElbowToMiddleFingertipLength" | "CreaseBehindKneeToAnkle" | "ButtockToSoleSitting" | "OutsideLegLength" | "MidShoulderToWaistLength" | "ShoulderToFingertipHorizontal" | "UpperLegLengthSitting" | "WaistToCrotchLength" | "FrontOfNeckToWaistLength" | "ThumbLength" | "VerticalGripReachStanding" | "VerticalGripReachSitting" | "HorizontalPinchGripReach" | "EarBreadth" | "HandGripHeightStanding" | "NapeHeightSitting" | "SacralHeightSitting" | "C7HeightStanding" | "C7HeightSitting" | "ArmpitHeightStanding" | "JawWidth" | "MidShoulderHeightStanding" | "MidShoulderHeightSitting" | "IndexFingerHeightStanding" | "WristCircumference" | "HandCircumference" | "FistCircumference" | "WaistHeightStanding" | "WaistHeightSitting" | "WaistDepthStanding" | "FaceBreadth" | "NoseBreadth" | "InterNippleDistance" | "ThighCircumferenceMidpoint" | "UpperArmCircumferenceMidpoint" | "NeckCircumferenceAdamsApple" | "HipCircumferenceMax" | "MidHipCircumference" | "ChestCircumferenceArmpit" | "ChestCircumferenceNipple" | "CalfCircumference" | "KneeCircumference" | "WaistCircumferenceAbdominal" | "FemaleChestCircumferenceBelowBreasts" | "FootHeight" | "FootCircumferenceBall" | "FootCircumferenceInstep" | "ThighCircumferenceBelowButtock" | "CircumferenceBelowKnee" | "TrunkDepthAtButtocks" | "ThighDepthSitting" | "ShoulderDepth" | "WholeBodyBreadthMax" | "WholeBodyDepthMax";
value: number;
gender: "Male" | "Female";
age: number;
country: string;
unit: "mm" | "cm" | "in";
}, {
measurement: "AbdominalDepth" | "ArmRestHeight" | "BackOfHeadToChin" | "BackOfHeadToEye" | "BackOfHeadToLip" | "BackOfHeadToNoseTip" | "BackOfHeadToSelion" | "BackOfHeadToTragion" | "Biocular" | "BitragionWidth" | "ButtockKneeLength" | "ButtockPoplitealLength" | "ChestBreadth" | "ChestDepth" | "CrotchHeight" | "DorsomLength" | "EarLength" | "ElbowFingertipLength" | "ElbowHeight" | "ElbowSpan" | "EyeBodyCentreDistance" | "EyeHeight" | "EyeScalpDistance" | "EyeToSeat" | "EyeToTableDistance" | "FingertipHeight" | "FootBreadth" | "FootLength" | "ForearmLength" | "ForeheadWidth" | "GripWidth" | "HairLine" | "HandBreadth" | "HandLength" | "HeadBreadth" | "HeadGirth" | "HeadLength" | "HeadToGlabella" | "HeadToNoseTip" | "HeadToTragion" | "HighCounterHeight" | "HipBreadth" | "HipHeight" | "IndexFingerLength" | "IndexFingerWidthPip" | "IndexFingerWidthTip" | "KneeHeight" | "KnuckleHeight" | "LegLength" | "LegRoom" | "LipLength" | "LittleFingerLength" | "LittleFingerWidthPip" | "LittleFingerWidthTip" | "LowCounterHeight" | "MaximumSeatLength" | "MaximumTableHeight" | "MiddleFingerLength" | "MiddleFingerWidthPip" | "MiddleFingerWidthTip" | "NeckCircumference" | "NoseLength" | "PalmLength" | "PoplitealHeight" | "RingFingerLength" | "RingFingerWidthPip" | "RingFingerWidthTip" | "SeatHeight" | "ShoulderBreadthBiacromial" | "ShoulderBreadthBideltoid" | "ShoulderElbowLength" | "ShoulderGripLength" | "ShoulderHeight" | "SittingDistance" | "SittingElbowHeight" | "SittingEyeHeight" | "SittingHeight" | "SittingHipBreadth" | "SittingShoulderHeight" | "Span" | "StandingHipBreadth" | "Stature" | "ThighLength" | "ThighThickness" | "ThumbTipToCrotch" | "TopOfHeadToStomion" | "TrunkLength" | "UpperArmLength" | "UpperLimbLength" | "WorkReach" | "WristWidth" | "ShoulderToWristLength" | "SittingUpperLegLength" | "BackOfElbowToWristLength" | "ElbowToMiddleFingertipLength" | "CreaseBehindKneeToAnkle" | "ButtockToSoleSitting" | "OutsideLegLength" | "MidShoulderToWaistLength" | "ShoulderToFingertipHorizontal" | "UpperLegLengthSitting" | "WaistToCrotchLength" | "FrontOfNeckToWaistLength" | "ThumbLength" | "VerticalGripReachStanding" | "VerticalGripReachSitting" | "HorizontalPinchGripReach" | "EarBreadth" | "HandGripHeightStanding" | "NapeHeightSitting" | "SacralHeightSitting" | "C7HeightStanding" | "C7HeightSitting" | "ArmpitHeightStanding" | "JawWidth" | "MidShoulderHeightStanding" | "MidShoulderHeightSitting" | "IndexFingerHeightStanding" | "WristCircumference" | "HandCircumference" | "FistCircumference" | "WaistHeightStanding" | "WaistHeightSitting" | "WaistDepthStanding" | "FaceBreadth" | "NoseBreadth" | "InterNippleDistance" | "ThighCircumferenceMidpoint" | "UpperArmCircumferenceMidpoint" | "NeckCircumferenceAdamsApple" | "HipCircumferenceMax" | "MidHipCircumference" | "ChestCircumferenceArmpit" | "ChestCircumferenceNipple" | "CalfCircumference" | "KneeCircumference" | "WaistCircumferenceAbdominal" | "FemaleChestCircumferenceBelowBreasts" | "FootHeight" | "FootCircumferenceBall" | "FootCircumferenceInstep" | "ThighCircumferenceBelowButtock" | "CircumferenceBelowKnee" | "TrunkDepthAtButtocks" | "ThighDepthSitting" | "ShoulderDepth" | "WholeBodyBreadthMax" | "WholeBodyDepthMax";
value: number;
gender: "Male" | "Female";
age: number;
country: string;
unit?: "mm" | "cm" | "in" | undefined;
}>;
export type PercentileLookupToolInput = z.infer<typeof percentileLookupToolInputSchema>;
//# sourceMappingURL=schemas.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8CAA8C;AAC9C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EASjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8CAA8C;AAC9C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EASjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,wDAAwD;AACxD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;EAS1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
import { z } from "zod";
import { MEASUREMENT_NAMES } from "./measurements.js";
import { PREDICTABLE_MEASUREMENT_NAMES } from "./measurements.js";
/** Mirrors apps/api/src/schemas/predict.ts */
export const predictToolInputSchema = z.object({
measurement: z.enum(MEASUREMENT_NAMES),
measurement: z.enum(PREDICTABLE_MEASUREMENT_NAMES),
gender: z.enum(["Male", "Female"]),

@@ -14,2 +14,13 @@ age: z.number().min(0).max(120),

});
/** Mirrors apps/api/src/schemas/percentile-lookup.ts */
export const percentileLookupToolInputSchema = z.object({
measurement: z.enum(PREDICTABLE_MEASUREMENT_NAMES),
gender: z.enum(["Male", "Female"]),
age: z.number().min(0).max(120),
country: z
.string()
.describe("Country code from list_countries (e.g. US, UK)."),
unit: z.enum(["mm", "cm", "in"]).optional().default("mm"),
value: z.number().positive(),
});
//# sourceMappingURL=schemas.js.map

@@ -1,1 +0,1 @@

{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAA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C,GAAG,CAAC,EAAE,CAAC;IACrC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CAC1D,CAAC,CAAC;AAIH,wDAAwD;AACxD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC;IAClD,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAClC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC/B,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC"}
{
"name": "@humanform/mcp",
"version": "0.1.3",
"version": "0.1.4",
"mcpName": "app.humanform/mcp",

@@ -5,0 +5,0 @@ "description": "Model Context Protocol server for the Humanform anthropometric prediction API",

@@ -45,7 +45,8 @@ # Humanform MCP server

| Tool | API |
|------|-----|
| `predict_measurement` | `POST /v1/predict` |
| `list_measurements` | `GET /v1/public/measurements` |
| `list_countries` | `GET /v1/countries` |
| Tool | API | Description |
|------|-----|-------------|
| `predict_measurement` | `POST /v1/predict` | Forward lookup: percentile → measurement value |
| `percentile_lookup` | `POST /v1/percentile-lookup` | Reverse lookup: measured value → percentile |
| `list_measurements` | `GET /v1/public/measurements` | All supported measurement names and body groups |
| `list_countries` | `GET /v1/countries` | Supported country codes and labels |

@@ -64,2 +65,3 @@ API errors (401, 402, 404, 422, 429, etc.) are returned as MCP tool errors with the original `error` and `message` fields from the API.

- `predict_measurement` with valid inputs (e.g. Stature, Male, 30, 50, US, cm)
- `percentile_lookup` with a measured value (e.g. PoplitealHeight, Female, 34, US, cm, 43.1)
- Invalid API key (expect 401)

@@ -66,0 +68,0 @@ - Unknown measurement name (expect MCP input validation or API validation_error)