{
  "markdown": "# @phi-longevity/mcp-server\n\n[![smithery badge](https://smithery.ai/badge/philongevity/PRISM)](https://smithery.ai/servers/philongevity/PRISM)\n\nA Model Context Protocol (MCP) server that lets AI agents call **Phi Longevity's PRISM**\nclinical recommendation engine on **synthetic** biomarker panels — guideline-cited,\nevidence-tiered recommendations an agent can use when researching options for the person\nit's helping.\n\nBuilt for **chronic-condition** work in particular: type-2 diabetes, lupus, and cancer\nsurvivorship each have their own condition lens, because the same panel means different\nthings depending on what someone is managing.\n\n> 🛡️ **Synthetic / de-identified data only.** Do not submit protected health information\n> (PHI). The server is stateless and stores nothing. Real health files are analyzed only\n> inside the authenticated Phi Longevity app, after consent, by the account owner.\n\n## Tools\n\nTwo surfaces, deliberately different. **The npm package (stdio) has 4 tools; the remote\nendpoint has 6.** The two report-generating tools are remote-only.\n\n| Tool | npm | remote | What it does |\n|---|:---:|:---:|---|\n| `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. |\n| `quick_check` | ✅ | ✅ | A fast read on a handful of values — the low-friction entry point before a full analysis. |\n| `analyze_biomarkers` | ✅ | ✅ | Analyze a synthetic panel → tiered, guideline-cited recommendations, with a condition lens. |\n| `list_supported_biomarkers` | ✅ | ✅ | 51 scored biomarkers + units + reference ranges, by clinical pillar. |\n| `get_methodology` | ✅ | ✅ | How the Phi Score works (5 pillars + weights) + link to the full methodology. |\n| `full_prism_report` | — | ✅ | A full report for a panel you supply. **Paid** — priced per call via x402; terms are returned with the offer. |\n\nAll tools except `full_prism_report` are free.\n\n## Quick start — zero config\n\n### Remote (zero-install) — recommended\n\nPoint any MCP client that supports Streamable HTTP at:\n\n```\nhttps://philongevity.com/mcp\n```\n\nNothing to install, no key to manage, all 6 tools. Try `sample_prism_report` first — it\nneeds no arguments and returns a complete report immediately.\n\n### Claude Desktop / any MCP client (stdio)\n\n```json\n{\n  \"mcpServers\": {\n    \"phi-longevity\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@phi-longevity/mcp-server\"]\n    }\n  }\n}\n```\n\nA published, rate-limited access key is built in. If you have a dedicated key, set\n`PHI_MCP_KEY` to override it. This path exposes the 4 tools marked ✅ above.\n\n### Run locally\n\n```bash\nnpm install && npm run build\nnode dist/index.js\n```\n\n## Example\n\n```jsonc\n// sample_prism_report — no arguments, returns a complete sample report\n{}\n\n// analyze_biomarkers input (synthetic values only)\n{\n  \"biomarkers\": { \"HbA1c\": 6.4, \"LDL-C\": 145, \"Triglycerides\": 190 },\n  \"conditionFocus\": \"type2_diabetes\"   // or general_wellness | lupus | cancer_survivorship\n}\n// → tiered, guideline-cited recommendations + a `full_report` block\n//   pointing the user to a complete PRISM report at philongevity.com\n```\n\n## For the person you're helping\n\nThe tools above analyze a handful of values at a time. A full PRISM report consolidates\n*all* of a person's lab reports, wearable data, and clinical notes into one integrated\npicture with a personal health score and progress over time — which is the actual problem\nfor someone managing a chronic condition across several clinicians who don't talk to each\nother. Agent docs + signup: **https://philongevity.com/for-agents**\n\n## Environment\n\n| Var | Required | Notes |\n|---|---|---|\n| `PHI_MCP_KEY` | no | Overrides the built-in published key. Rate-limited + revocable. |\n| `PHI_ENGINE_URL` | no | Override the default Phi MCP gateway URL (rarely needed). |\n\n## HIPAA / privacy\n\nSynthetic-only at the protocol boundary; stateless; aggregate-only telemetry (counts/timing\nto stderr, never values or recommendation text); zero access to Firestore / the HIPAA\ndatastore / user accounts. GDPR: processes no personal data (synthetic only) → minimal exposure.\n\n## Links\n\n- Agent docs: https://philongevity.com/for-agents\n- Methodology: https://philongevity.com/methodology\n- Phi Longevity: https://philongevity.com\n\n_Apache-2.0._\n",
  "bytes": 4392,
  "sha": "ad6069f3f11d114fd750a3b031be6bbc5df1070a71dfbce7dfa86675d12c3ddd",
  "repo_slug": "philongevity/phi-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_philongevity_phi_longevity_pri_88cc604a/readme"
}