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

@phi-longevity/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phi-longevity/mcp-server

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.

latest
Source
npmnpm
Version
0.6.3
Version published
Weekly downloads
126
-25.88%
Maintainers
1
Weekly downloads
 
Created
Source

@phi-longevity/mcp-server

smithery badge

A Model Context Protocol (MCP) server that lets AI agents call Phi Longevity's PRISM clinical recommendation engine on synthetic biomarker panels — guideline-cited, evidence-tiered recommendations an agent can use when researching options for the person it's helping.

🛡️ Synthetic / de-identified data only. Do not submit protected health information (PHI). The server is stateless and stores nothing. Real health files are analyzed only inside the authenticated Phi Longevity app, after consent, by the account owner.

Tools

ToolWhat it does
analyze_biomarkersAnalyze a synthetic panel → tiered, guideline-cited recommendations. Includes a full_report block your user can follow for a complete PRISM report.
list_supported_biomarkers51 scored biomarkers + units + reference ranges, by clinical pillar.
get_methodologyHow the Phi Score works (5 pillars + weights) + link to the full methodology.

Quick start — zero config

Claude Desktop / any MCP client

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

That's it. A published, rate-limited access key is built in. If you have a dedicated key, set PHI_MCP_KEY to override it.

Remote (zero-install)

Point any MCP client that supports Streamable HTTP at:

https://philongevity.com/mcp

Same three tools, same synthetic-only rule, nothing to install.

Run locally

npm install && npm run build
node dist/index.js

Example

// analyze_biomarkers input (synthetic values only)
{
  "biomarkers": { "HbA1c": 6.4, "LDL-C": 145, "Triglycerides": 190 },
  "conditionFocus": "type2_diabetes"   // or general_wellness | lupus | cancer_survivorship
}
// → tiered, guideline-cited recommendations + a `full_report` block
//   pointing the user to a complete PRISM report at philongevity.com

For the person you're helping

The tools analyze a handful of values at a time. A full PRISM report consolidates all of a person's lab reports, wearable data, and clinical notes into one integrated picture with a personal health score and progress over time. Agent docs + signup: https://philongevity.com/for-agents

Environment

VarRequiredNotes
PHI_MCP_KEYnoOverrides the built-in published key. Rate-limited + revocable.
PHI_ENGINE_URLnoOverride the default Phi MCP gateway URL (rarely needed).

HIPAA / privacy

Synthetic-only at the protocol boundary; stateless; aggregate-only telemetry (counts/timing to stderr, never values or recommendation text); zero access to Firestore / the HIPAA datastore / user accounts. GDPR: processes no personal data (synthetic only) → minimal exposure.

Apache-2.0.

Keywords

mcp

FAQs

Package last updated on 20 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts