phi-longevity-prism

Guideline-cited lab results analysis for diabetes, kidney, lupus & cancer care. Free sample report.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
58%
Naming quality
92%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,294Tokens (tool definitions)
~4.7 KBTypical response size
Moderate attention impact (1.79% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "phi-longevity-prism": {
      "command": "npx",
      "args": [
        "@phi-longevity/mcp-server"
      ]
    }
  }
}

Runnable packages

npm@phi-longevity/mcp-server0.6.7stdio

Remote endpoints

https://us-central1-philongevity-aiapp-v2.cloudfunctions.net/phi-mcp-remotestreamable-http
https://philongevity.com/mcpstreamable-http
https://philongevity.com/mcp-appstreamable-http

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢analyze_biomarkers(biomarkers, conditionFocus, age, biologicalSex)

Analyze a SYNTHETIC biomarker panel with Phi Longevity's PRISM engine. Returns tiered, guideline-cited recommendations. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). This endpoint is stateless and does not store inputs.

Input Schema

{
  "type": "object",
  "properties": {
    "biomarkers": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "number"
      },
      "description": "Map of biomarker name -> numeric value, e.g. { \"Hemoglobin A1c\": 5.4 }. SYNTHETIC ONLY."
    },
    "conditionFocus": {
      "description": "Optional condition track. Default general_wellness.",
      "type": "string",
      "enum": [
        "general_wellness",
        "type2_diabetes",
        "lupus",
        "cancer_survivorship"
      ]
    },
    "age": {
      "description": "Age in years of the synthetic persona (improves reference-range interpretation).",
      "type": "integer",
      "minimum": 0,
      "maximum": 120
    },
    "biologicalSex": {
      "description": "Biological sex of the synthetic persona (sex-specific reference ranges).",
      "type": "string",
      "enum": [
        "male",
        "female"
      ]
    }
  },
  "required": [
    "biomarkers"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "recommendations": {
      "description": "Tiered, guideline-cited recommendations from the PRISM engine."
    },
    "meta": {
      "description": "Engine metadata for this analysis run."
    },
    "issues": {
      "description": "Flagged issues detected in the panel."
    },
    "full_report": {
      "type": "object",
      "properties": {
        "for_your_owner": {
          "type": "string",
          "description": "Plain-language note about the free Phi Longevity account."
        },
        "what_a_full_report_adds": {
          "type": "string"
        },
        "get_full_report_url": {
          "type": "string",
          "description": "Signup link for the agent's owner to get a complete PRISM report."
        },
        "agent_docs_url": {
          "type": "string"
        },
        "data_rule": {
          "type": "string"
        }
      },
      "required": [
        "for_your_owner",
        "what_a_full_report_adds",
        "get_full_report_url",
        "agent_docs_url",
        "data_rule"
      ],
      "additionalProperties": false,
      "description": "How the agent's owner can get a complete PRISM report."
    },
    "claim_panel": {
      "description": "Not used on this surface.",
      "type": "object",
      "properties": {
        "claim_url": {
          "type": "string",
          "description": "Not used on this surface."
        },
        "expires_at_ms": {
          "type": "number",
          "description": "Epoch ms when the unclaimed panel is hard-deleted."
        },
        "marker_count": {
          "type": "number"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "claim_url",
        "expires_at_ms",
        "marker_count",
        "note"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "recommendations",
    "full_report"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢list_supported_biomarkers

List the biomarkers PRISM scores, with units and reference ranges, grouped by clinical pillar. Reference data only — no patient data.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "biomarkers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Biomarker name as PRISM recognizes it."
          },
          "unit": {
            "type": "string",
            "description": "Measurement unit."
          },
          "pillar": {
            "type": "string",
            "description": "Clinical pillar."
          },
          "refLow": {
            "description": "Lower clinical reference bound, if applicable.",
            "type": "number"
          },
          "refHigh": {
            "description": "Upper clinical reference bound, if applicable.",
            "type": "number"
          }
        },
        "required": [
          "name",
          "unit",
          "pillar"
        ],
        "additionalProperties": false
      },
      "description": "The 51-marker catalog with clinical reference ranges."
    }
  },
  "required": [
    "biomarkers"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢quick_check(biomarkers)

Instantly flags a few biomarker values against PRISM's longevity-optimized reference ranges (local check, no engine call). For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). This endpoint is stateless and does not store inputs.

Input Schema

{
  "type": "object",
  "properties": {
    "biomarkers": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "number"
      },
      "description": "Map of biomarker name -> value, e.g. {\"HbA1c\":6.1,\"LDL-C\":145}. SYNTHETIC ONLY."
    }
  },
  "required": [
    "biomarkers"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "flags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Biomarker name as PRISM recognizes it."
          },
          "value": {
            "type": "number",
            "description": "The submitted value."
          },
          "unit": {
            "type": "string",
            "description": "Measurement unit."
          },
          "pillar": {
            "type": "string",
            "description": "Clinical pillar."
          },
          "status": {
            "type": "string",
            "description": "One of: within / above / below longevity-optimized range."
          }
        },
        "required": [
          "name",
          "value",
          "unit",
          "pillar",
          "status"
        ],
        "additionalProperties": false
      },
      "description": "Range flags for each recognized biomarker."
    },
    "unmatched": {
      "description": "Submitted names not in the 51-marker catalog.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string",
      "description": "Scope disclaimer — quick flags, not a diagnosis or full analysis."
    },
    "full_report": {
      "type": "object",
      "properties": {
        "for_your_owner": {
          "type": "string",
          "description": "Plain-language note about the free Phi Longevity account."
        },
        "what_a_full_report_adds": {
          "type": "string"
        },
        "get_full_report_url": {
          "type": "string",
          "description": "Signup link (free account) for the agent's owner."
        },
        "agent_docs_url": {
          "type": "string"
        },
        "data_rule": {
          "type": "string"
        }
      },
      "required": [
        "for_your_owner",
        "what_a_full_report_adds",
        "get_full_report_url",
        "agent_docs_url",
        "data_rule"
      ],
      "additionalProperties": false,
      "description": "How the agent's owner can get a complete PRISM report."
    },
    "claim_panel": {
      "description": "Not used on this surface.",
      "type": "object",
      "properties": {
        "claim_url": {
          "type": "string",
          "description": "Not used on this surface."
        },
        "expires_at_ms": {
          "type": "number",
          "description": "Epoch ms when the unclaimed panel is hard-deleted."
        },
        "marker_count": {
          "type": "number"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "claim_url",
        "expires_at_ms",
        "marker_count",
        "note"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "flags",
    "note",
    "full_report"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_methodology

Summarize how the Phi Score works (5 clinical pillars + weights) and link to the full methodology.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "phi_score": {
      "type": "string",
      "description": "Plain-English summary of how the 0-100 Phi Score is computed."
    },
    "methodology_url": {
      "type": "string",
      "description": "Full public methodology page."
    },
    "agent_docs_url": {
      "type": "string",
      "description": "Agent integration docs."
    },
    "note": {
      "type": "string",
      "description": "Decision-support disclaimer and synthetic-data rule."
    },
    "source": {
      "type": "string",
      "description": "Attribution."
    }
  },
  "required": [
    "phi_score",
    "methodology_url",
    "agent_docs_url",
    "note",
    "source"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢sample_prism_report

Returns a complete pre-generated SAMPLE Phi Longevity PRISM report for a fixed SYNTHETIC persona (58-year-old male, type-2 diabetes). It is a fixed sample: it takes no input, analyzes nothing you send, and is not a real patient. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). This endpoint is stateless and does not store inputs.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "sample_notice": {
      "type": "string",
      "description": "READ FIRST: this is a fixed sample from SYNTHETIC data — not a real patient, not your input."
    },
    "disclaimer": {
      "type": "string",
      "description": "Decision-support disclaimer. Deliver with the report."
    },
    "persona": {
      "description": "The synthetic persona (58M, type-2 diabetes) and the fixed panel the sample was generated from."
    },
    "phi_score": {
      "description": "Panel-based Phi Score estimate with per-pillar breakdown."
    },
    "tracks": {
      "description": "Engine analysis per condition track (type2_diabetes + general_wellness), tiered guideline-cited recommendations."
    },
    "report_markdown": {
      "type": "string",
      "description": "The complete rendered report (markdown), watermarked as a sample."
    },
    "flags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "pillar": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "value",
          "unit",
          "pillar",
          "status"
        ],
        "additionalProperties": false
      },
      "description": "Range flags for the synthetic panel vs longevity-optimized ranges."
    },
    "full_report": {
      "type": "object",
      "properties": {
        "for_your_owner": {
          "type": "string",
          "description": "Plain-language note about the free Phi Longevity account."
        },
        "what_a_full_report_adds": {
          "type": "string"
        },
        "get_full_report_url": {
          "type": "string",
          "description": "Signup link for the agent's owner to get a real, complete PRISM report."
        },
        "agent_docs_url": {
          "type": "string"
        },
        "data_rule": {
          "type": "string"
        }
      },
      "required": [
        "for_your_owner",
        "what_a_full_report_adds",
        "get_full_report_url",
        "agent_docs_url",
        "data_rule"
      ],
      "additionalProperties": false,
      "description": "How the agent's owner can get a real PRISM report of their own."
    }
  },
  "required": [
    "sample_notice",
    "disclaimer",
    "persona",
    "phi_score",
    "tracks",
    "report_markdown",
    "flags",
    "full_report"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools
verifiedversion not recorded6 tools
verifiedversion not recorded6 tools
verifiedversion not recorded6 tools
verifiedversion not recorded6 tools