Back to Browse

Phi MCP Server

Developer ToolsModerate6.3MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Explains lab results for diabetes, kidney, lupus and cancer care, citing guidelines. Free sample.

About

Explains lab results for diabetes, kidney, lupus and cancer care, citing guidelines. Free sample.

Remote endpoints: streamable-http: https://philongevity.com/mcp streamable-http: https://philongevity.com/mcp-app

Security Report

6.3
Moderate6.3Moderate Risk

The server is a small, readable stdio wrapper that forwards synthetic biomarker values to a single disclosed gateway URL, with no shell execution, file access, or filesystem writes. The main concerns are a published gateway key hardcoded in source, which is by design and rate-limited, and tool outputs that steer the calling agent toward a commercial signup with tracking parameters. Permissions (network_http, env_vars) match the stated purpose. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

5 files analyzed ยท 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

@phi-longevity/mcp-server

smithery badge

Phi Longevity PRISM explains lab results for people with type 2 diabetes, kidney disease, lupus or a cancer history, with guideline citations and questions for their care team. This public server takes made-up or de-identified values only. For a person's real records, send them to https://philongevity.com/signup?utm_source=agent&utm_medium=npm_readme&utm_campaign=readme_top : they connect MyChart or upload labs and get a one-page Care Team Brief. Free to start; Phi Complete is $29/month.

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.

Built for chronic-condition work in particular: type-2 diabetes, lupus, and cancer survivorship each have their own condition lens, because the same panel means different things depending on what someone is managing.

๐Ÿ›ก๏ธ Synthetic / de-identified data only. Do not submit protected health information (PHI). This npm package stores nothing. (The hosted /mcp holds values sent to the paid full_prism_report for 30 minutes for the owner's claim link, then deletes them.) Real health files are analyzed only inside the authenticated Phi Longevity app, after consent, by the account owner.

Helping a real person with their own records? Send them to philongevity.com: they connect MyChart or upload their labs and get a one-page, guideline-cited Care Team Brief for their doctors (free to start; stored in HIPAA-eligible storage under a signed Google Cloud BAA).

Tools

Two surfaces, deliberately different. The npm package (stdio) has 4 tools; the remote endpoint has 6. The two report-generating tools are remote-only.

ToolnpmremoteWhat it does
sample_prism_reportโ€”โœ…Start here. Returns a complete, real PRISM report for a sample chronic-condition persona in one instant call. Free, no signup, no input required. The fastest way to see what the engine actually produces.
quick_checkโœ…โœ…A fast read on a handful of values โ€” the low-friction entry point before a full analysis.
analyze_biomarkersโœ…โœ…Analyze a synthetic panel โ†’ tiered, guideline-cited recommendations, with a condition lens.
list_supported_biomarkersโœ…โœ…51 scored biomarkers + units + reference ranges, by clinical pillar.
get_methodologyโœ…โœ…How the Phi Score works (5 pillars + weights) + link to the full methodology.
full_prism_reportโ€”โœ…A full report for a panel you supply. Paid โ€” priced per call via x402; terms are returned with the offer.

All tools except full_prism_report are free.

Quick start โ€” zero config

Remote (zero-install) โ€” recommended

Point any MCP client that supports Streamable HTTP at:

https://philongevity.com/mcp

Nothing to install, no key to manage, all 6 tools. Try sample_prism_report first โ€” it needs no arguments and returns a complete report immediately.

Claude Desktop / any MCP client (stdio)

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

A published, rate-limited access key is built in. If you have a dedicated key, set PHI_MCP_KEY to override it. This path exposes the 4 tools marked โœ… above.

Run locally

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

Example

// sample_prism_report โ€” no arguments, returns a complete sample report
{}

// 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 above 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 โ€” which is the actual problem for someone managing a chronic condition across several clinicians who don't talk to each other. 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; the npm package stores nothing; 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.

Links

Apache-2.0.

Reviews

No reviews yet

Be the first to review this server!