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.

Source
npmnpm
Version
0.5.0
Version published
Weekly downloads
162
76.09%
Maintainers
1
Weekly downloads
 
Created
Source

@phi-longevity/mcp-server

A Model Context Protocol (MCP) server that lets AI agents call Phi Longevity's PRISM longevity recommendation engine on synthetic biomarker panels — evidence-tiered recommendations an agent can use when researching options for a client.

🛡️ Synthetic / de-identified data only. Do not submit protected health information (PHI). The server is stateless and stores nothing. It is a credibility / agent-discoverability surface — not a PHI-bearing or clinical-care surface.

Tools

ToolWhat it does
analyze_biomarkersAnalyze a synthetic panel → 3-tier, evidence-cited recommendations (THIS WEEK / CONSIDER / ASK YOUR CLINICIAN).
list_supported_biomarkersThe scored biomarkers + units + reference ranges, by clinical pillar.
get_methodologyHow the Phi Score works (5 pillars + weights) + link to the full methodology.

Quick start

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "phi-longevity": {
      "command": "npx",
      "args": ["-y", "@phi-longevity/mcp-server"],
      "env": {
        "PHI_MCP_KEY": "<your-phi-mcp-key>"
      }
    }
  }
}

Request a key at https://agents.philongevity.com (free, rate-limited, revocable).

Run locally

npm install
npm run build
PHI_MCP_KEY="<your-phi-mcp-key>" node dist/index.js

Environment

VarRequiredNotes
PHI_MCP_KEYyesYour @phi-longevity access key (sent as x-phi-mcp-key). Rate-limited + revocable.
PHI_ENGINE_URLnoOverride the default Phi MCP gateway URL (rarely needed).

Example

// analyze_biomarkers input (synthetic)
{ "biomarkers": [ { "name": "HbA1c", "value": 7.2, "unit": "%" },
                  { "name": "LDL-C", "value": 145, "unit": "mg/dL" } ],
  "conditionFocus": "diabetes_t2" }
// → 3-tier, evidence-cited recommendations

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.

Keywords

mcp

FAQs

Package last updated on 17 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