🎩 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.

Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
126
-25.88%
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.

🛡️ 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.

Install / run

npm install
npm run build
PHI_ENGINE_URL="https://us-central1-philongevity-aiapp-v2.cloudfunctions.net/runRecommendationsForBiomarkers" \
PHI_MIGRATION_SECRET="<server-side secret>" \
PHI_MCP_KEY="<published key>" \
node dist/index.js

Claude Desktop config (claude_desktop_config.json)

{
  "mcpServers": {
    "phi-longevity": {
      "command": "npx",
      "args": ["-y", "@phi-longevity/mcp-server"],
      "env": {
        "PHI_ENGINE_URL": "https://us-central1-philongevity-aiapp-v2.cloudfunctions.net/runRecommendationsForBiomarkers",
        "PHI_MIGRATION_SECRET": "<server-side secret>",
        "PHI_MCP_KEY": "<published key>"
      }
    }
  }
}

Environment

VarRequiredNotes
PHI_ENGINE_URLyesThe runRecommendationsForBiomarkers Cloud Function URL
PHI_MIGRATION_SECRETyesx-migration-secret header — server-side only, never exposed to the agent
PHI_MCP_KEYnoPublished-but-revocable access key; sent to the engine for rate-limit/validation (enforced server-side)

Status — v0 scaffold (2026-06-10)

Built by cloud-cos. Needs npm install && npm run build to validate against the live SDK (the SDK wasn't installed in the scaffold environment). Decisions locked: revocable key + rate-limit · npm stdio · no affiliate URLs by default · pkg @phi-longevity/mcp-server · own repo phi-mcp-server.

TODO before publish

  • npm install && npm run build → fix any SDK API drift (the server.tool(...) shape).
  • Sync src/catalog.ts with the canonical BIOMARKER_CATALOG (45 markers).
  • Confirm runRecommendationsForBiomarkers accepts an unauthenticated call with PHI_MCP_KEY + add server-side key/rate-limit enforcement.
  • Local test with the synthetic peri fixtures (dossier/v2.0/scenarios/).
  • agents.philongevity.com landing page (separate; install snippet + 3 tools + no-PHI terms).
  • npm publish --access public under the @phi-longevity org.

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: v0 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