@phi-longevity/mcp-server 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.js +48 -25
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/catalog.js
CHANGED
|
@@ -1,35 +1,58 @@
|
|
|
1
1
|
export const BIOMARKER_CATALOG = [
|
|
2
2
|
// Metabolic
|
|
3
|
-
{ name: "Hemoglobin A1c", unit: "%", pillar: "Metabolic", refLow: 4.0, refHigh: 5.6 },
|
|
4
3
|
{ name: "Fasting Glucose", unit: "mg/dL", pillar: "Metabolic", refLow: 70, refHigh: 99 },
|
|
5
|
-
{ name: "
|
|
6
|
-
{ name: "
|
|
4
|
+
{ name: "HbA1c", unit: "%", pillar: "Metabolic", refHigh: 5.7 },
|
|
5
|
+
{ name: "Fasting Insulin", unit: "\u00b5IU/mL", pillar: "Metabolic", refHigh: 15 },
|
|
6
|
+
{ name: "Triglycerides", unit: "mg/dL", pillar: "Metabolic", refHigh: 150 },
|
|
7
|
+
{ name: "Uric Acid", unit: "mg/dL", pillar: "Metabolic", refLow: 2.5, refHigh: 7 },
|
|
7
8
|
// Cardiovascular
|
|
8
|
-
{ name: "ApoB", unit: "mg/dL", pillar: "Cardiovascular",
|
|
9
|
-
{ name: "
|
|
10
|
-
{ name: "
|
|
11
|
-
{ name: "HDL
|
|
12
|
-
{ name: "Total Cholesterol", unit: "mg/dL", pillar: "Cardiovascular", refLow:
|
|
9
|
+
{ name: "ApoB", unit: "mg/dL", pillar: "Cardiovascular", refHigh: 100 },
|
|
10
|
+
{ name: "LDL-C", unit: "mg/dL", pillar: "Cardiovascular", refHigh: 130 },
|
|
11
|
+
{ name: "Lp(a)", unit: "nmol/L", pillar: "Cardiovascular", refHigh: 75 },
|
|
12
|
+
{ name: "HDL-C", unit: "mg/dL", pillar: "Cardiovascular", refLow: 40 },
|
|
13
|
+
{ name: "Total Cholesterol", unit: "mg/dL", pillar: "Cardiovascular", refLow: 150, refHigh: 240 },
|
|
13
14
|
// Hormonal
|
|
14
|
-
{ name: "TSH", unit: "
|
|
15
|
-
{ name: "
|
|
15
|
+
{ name: "TSH", unit: "mIU/L", pillar: "Hormonal", refLow: 0.4, refHigh: 4.5 },
|
|
16
|
+
{ name: "Total Testosterone", unit: "ng/dL", pillar: "Hormonal", refLow: 300 },
|
|
17
|
+
{ name: "Free Testosterone", unit: "ng/dL", pillar: "Hormonal", refLow: 9 },
|
|
18
|
+
{ name: "DHEA-S", unit: "\u00b5g/dL", pillar: "Hormonal", refLow: 80 },
|
|
16
19
|
{ name: "Free T3", unit: "pg/mL", pillar: "Hormonal", refLow: 2.3, refHigh: 4.2 },
|
|
17
|
-
{ name: "
|
|
18
|
-
{ name: "Estradiol", unit: "pg/mL", pillar: "Hormonal" },
|
|
19
|
-
{ name: "
|
|
20
|
-
{ name: "Cortisol", unit: "
|
|
20
|
+
{ name: "Free T4", unit: "ng/dL", pillar: "Hormonal", refLow: 0.8, refHigh: 1.8 },
|
|
21
|
+
{ name: "Estradiol", unit: "pg/mL", pillar: "Hormonal", refLow: 10, refHigh: 50 },
|
|
22
|
+
{ name: "SHBG", unit: "nmol/L", pillar: "Hormonal", refLow: 10, refHigh: 57 },
|
|
23
|
+
{ name: "Cortisol", unit: "\u00b5g/dL", pillar: "Hormonal", refLow: 6, refHigh: 23 },
|
|
21
24
|
// Inflammation & Immunity
|
|
22
|
-
{ name: "
|
|
23
|
-
{ name: "Homocysteine", unit: "
|
|
24
|
-
{ name: "
|
|
25
|
-
{ name: "
|
|
25
|
+
{ name: "hsCRP", unit: "mg/L", pillar: "Inflammation & Immunity", refHigh: 3 },
|
|
26
|
+
{ name: "Homocysteine", unit: "\u00b5mol/L", pillar: "Inflammation & Immunity", refHigh: 15 },
|
|
27
|
+
{ name: "Omega-3 Index", unit: "%", pillar: "Inflammation & Immunity", refLow: 4 },
|
|
28
|
+
{ name: "Fibrinogen", unit: "mg/dL", pillar: "Inflammation & Immunity", refHigh: 400 },
|
|
29
|
+
{ name: "IL-6", unit: "pg/mL", pillar: "Inflammation & Immunity", refHigh: 3.5 },
|
|
30
|
+
{ name: "WBC", unit: "\u00d710\u00b3/\u00b5L", pillar: "Inflammation & Immunity", refLow: 3.5, refHigh: 11 },
|
|
31
|
+
{ name: "Platelets", unit: "\u00d710\u00b3/\u00b5L", pillar: "Inflammation & Immunity", refLow: 150, refHigh: 400 },
|
|
32
|
+
{ name: "ANA", unit: "titer", pillar: "Inflammation & Immunity", refHigh: 80 },
|
|
33
|
+
{ name: "anti-dsDNA", unit: "IU/mL", pillar: "Inflammation & Immunity", refHigh: 30 },
|
|
34
|
+
{ name: "C3", unit: "mg/dL", pillar: "Inflammation & Immunity", refLow: 75 },
|
|
35
|
+
{ name: "C4", unit: "mg/dL", pillar: "Inflammation & Immunity", refLow: 8 },
|
|
36
|
+
{ name: "anti-Sm", unit: "AU/mL", pillar: "Inflammation & Immunity", refHigh: 40 },
|
|
37
|
+
{ name: "anti-Ro (SSA)", unit: "AU/mL", pillar: "Inflammation & Immunity", refHigh: 40 },
|
|
38
|
+
{ name: "anti-La (SSB)", unit: "AU/mL", pillar: "Inflammation & Immunity", refHigh: 40 },
|
|
39
|
+
{ name: "ESR", unit: "mm/hr", pillar: "Inflammation & Immunity", refHigh: 40 },
|
|
26
40
|
// Foundational Health
|
|
27
|
-
{ name: "eGFR", unit: "mL/min", pillar: "Foundational Health", refLow: 60
|
|
28
|
-
{ name: "
|
|
29
|
-
{ name: "ALT", unit: "U/L", pillar: "Foundational Health", refLow: 0, refHigh: 44 },
|
|
30
|
-
{ name: "AST", unit: "U/L", pillar: "Foundational Health", refLow: 0, refHigh: 40 },
|
|
31
|
-
{ name: "Vitamin D 25-OH", unit: "ng/mL", pillar: "Foundational Health", refLow: 30, refHigh: 100 },
|
|
32
|
-
{ name: "Vitamin B12", unit: "pg/mL", pillar: "Foundational Health", refLow: 200, refHigh: 900 },
|
|
33
|
-
{ name: "Ferritin", unit: "ng/mL", pillar: "Foundational Health", refLow: 30, refHigh: 400 },
|
|
41
|
+
{ name: "eGFR", unit: "mL/min/1.73m\u00b2", pillar: "Foundational Health", refLow: 60 },
|
|
42
|
+
{ name: "Vitamin D", unit: "ng/mL", pillar: "Foundational Health", refLow: 30, refHigh: 100 },
|
|
34
43
|
{ name: "Hemoglobin", unit: "g/dL", pillar: "Foundational Health", refLow: 13.5, refHigh: 17.5 },
|
|
44
|
+
{ name: "Ferritin", unit: "ng/mL", pillar: "Foundational Health", refLow: 18, refHigh: 270 },
|
|
45
|
+
{ name: "Albumin", unit: "g/dL", pillar: "Foundational Health", refLow: 3.5 },
|
|
46
|
+
{ name: "Magnesium", unit: "mg/dL", pillar: "Foundational Health", refLow: 1.7 },
|
|
47
|
+
{ name: "B12", unit: "pg/mL", pillar: "Foundational Health", refLow: 200 },
|
|
48
|
+
{ name: "ALT", unit: "U/L", pillar: "Foundational Health", refHigh: 56 },
|
|
49
|
+
{ name: "MCV", unit: "fL", pillar: "Foundational Health", refLow: 80, refHigh: 100 },
|
|
50
|
+
{ name: "GGT", unit: "U/L", pillar: "Foundational Health", refHigh: 48 },
|
|
51
|
+
{ name: "IGF-1", unit: "ng/mL", pillar: "Foundational Health", refLow: 80, refHigh: 300 },
|
|
52
|
+
{ name: "Folate", unit: "ng/mL", pillar: "Foundational Health", refLow: 3 },
|
|
53
|
+
{ name: "Zinc", unit: "\u00b5g/dL", pillar: "Foundational Health", refLow: 70 },
|
|
54
|
+
{ name: "AST", unit: "U/L", pillar: "Foundational Health", refHigh: 40 },
|
|
55
|
+
{ name: "Bilirubin", unit: "mg/dL", pillar: "Foundational Health", refLow: 0.2, refHigh: 1.2 },
|
|
56
|
+
{ name: "BUN", unit: "mg/dL", pillar: "Foundational Health", refLow: 7, refHigh: 25 },
|
|
57
|
+
{ name: "Creatinine", unit: "mg/dL", pillar: "Foundational Health", refLow: 0.6, refHigh: 1.35 },
|
|
35
58
|
];
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ async function callEngine(body) {
|
|
|
75
75
|
throw new Error(`Engine returned ${res.status}.`);
|
|
76
76
|
return res.json();
|
|
77
77
|
}
|
|
78
|
-
const server = new McpServer({ name: "phi-longevity", version: "0.
|
|
78
|
+
const server = new McpServer({ name: "phi-longevity", version: "0.4.0" }, {
|
|
79
79
|
instructions: "Phi Longevity PRISM — longevity-optimized analysis of biomarker panels. " + SYNTHETIC_WARNING,
|
|
80
80
|
});
|
|
81
81
|
// ── Tool 1: analyze_biomarkers (the core) ─────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phi-longevity/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Model Context Protocol server for Phi Longevity — agents can call the PRISM longevity recommendation engine on SYNTHETIC biomarker panels. Synthetic/de-identified data only; no PHI; stateless.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|