Phi Longevity Prism

io.github.Philongevity由 GitHub 帳號 Philongevity 發布v0.7.2更新於 Nov 7, 2026

Every doctor, your complete record: connect your patient portals or upload records from any doctor.

已驗證Streamable HTTP可網頁執行位置與生活效率與工作流資料與分析

概覽

AI 產生的概覽

為長期病患者設計的健康助理:指引從病人入口網站蒐集病歷、準備就診,並提供引用指引的檢驗解讀。

可以做什麼
  • 指引從醫院與診所蒐集病歷:各院使用哪個病人入口網站、如何下載、連結或上傳
  • 為指定醫師的門診做準備:應提出的檢查、要問的問題、需攜帶的資料、可列印單頁,並可用任務編號稍後取回
  • 解讀檢驗數值:快速對照參考範圍、引用指引的解讀、更深入的后台分析任務、51 項支援指標清單與評分方法
  • 列出糖尿病、腎臟病、狼瘡或癌症病史者可能到期的例行檢查
  • 顯示固定範例報告並說明註冊步驟與費用;經本人同意後以電子郵件開立帳號
  • 對自行提供的指標組合執行付費的多軌報告
適用情境
適合協助患有第 2 型糖尿病、腎臟病、狼瘡或有癌症病史的人:其病歷分散在多位醫師手中、即將看專科醫師,或想了解檢驗結果以及哪些例行檢查可能已到期。
執行需求
可使用遠端 Streamable HTTP 端點,或以 npx 執行 npm 套件(需 Node.js)透過 stdio 連線;不需帳號或金鑰。選用的 PHI_MCP_KEY 可覆寫內建公開金鑰,PHI_ENGINE_URL 可覆寫閘道位址。離線時僅快速檢查、指標清單與方法說明可用。
安裝前請注意
公開伺服器僅接受虛構或去識別化的數值,切勿傳送姓名、出生日期、病歷號或文件。付費完整報告透過 x402 以 Base 上的 USDC 支付 4.99 美元,託管伺服器會為領取連結保留送出的數值最多 30 分鐘。開立帳號需本人明確同意並提供電子郵件。輸出未經臨床醫師審閱,也不構成診斷。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Phi Longevity Prism,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Philongevity%2Fphi-longevity-prism/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "phi-longevity-prism": {
      "type": "http",
      "url": "https://philongevity.com/mcp"
    }
  }
}

README

@phi-longevity/mcp-server

Every doctor, your complete record: connect your patient portals or upload records from any doctor. A person's health data is spread across patient portals, PDFs and devices; Phi Longevity PRISM brings it into one record they control. Phi Longevity brings the records of people with long-term conditions (type 2 diabetes, kidney disease, lupus, cancer survivorship) from every doctor into one complete record they control (connected from patient portals or uploaded from any doctor), and gets them ready for each appointment. 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 their patient portals or upload records and get a one-page Care Team Brief. Free to start; Phi Longevity Complete is $19/month or $190/year.

A Model Context Protocol (MCP) server for AI assistants helping someone with a long-term condition. The hosted server has three front doors, named in the person's own words:

  1. get_my_medical_records (the lead door): give each hospital or clinic name; it says which patient portal it uses (MyChart or Oracle Health to connect; ModMed practices to download and upload, not a live connection), how to get the records out, and how to connect or upload them once so Phi Longevity keeps them in one complete record. Free; no personal details needed.
  2. prepare_for_my_appointment: a visit is coming up; one call returns the checks to raise with that clinician, questions to ask, what to bring and a one-page printable sheet. No lab values or records needed.
  3. explain_my_lab_results: made-up or de-identified lab values → PRISM's guideline-cited reading (connections graded and sourced, tests due, safety notes, what is unknown) and questions for the care team (ADA, KDIGO, EULAR/ACR, NCCN).

🛡️ 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? Start with get_my_medical_records for each of their doctors, or prepare_for_my_appointment before a visit; check_care_gaps lists routine tests that may be due (no values or records needed). An account owner can also add Phi Longevity to their own Claude or ChatGPT as a custom connector, so their assistant reads their own record: which doctors' records are still missing, their Health Picture and Care Team Brief, and a visit sheet built from their own records (steps at https://philongevity.com/app/connect-claude). Or send them to philongevity.com: they connect their patient portals or upload records 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

One tool set (0.7.0). This npm package is now a bridge to the hosted server https://philongevity.com/mcp: it lists and calls exactly the same 14 tools, so an agent sees the same names whether it connects here or to /mcp. (/mcp-app is the separate directory build with 5 tools: analyze_biomarkers, quick_check, list_supported_biomarkers, get_methodology and sample_prism_report.) The older names find_my_records, start_job (job visit_prep) and analyze_biomarkers still work and route to the front doors. If the hosted server can't be reached, quick_check, list_supported_biomarkers and get_methodology still answer offline.

ToolWhat it does
get_my_medical_recordsFront door 1, for a real person. Every doctor, one complete record: for each hospital or clinic name, which patient portal it uses (Epic MyChart or Oracle Health, formerly Cerner), how to download the records, a step-by-step guide, and how to connect it in Phi Longevity once (ModMed practices: download and upload; no live connection). Hospital or clinic name only, never personal details; stores nothing. Free.
prepare_for_my_appointment + get_job_resultFront door 2, for a real person. Ready for an appointment with a named clinician (primary care, diabetes, kidney, rheumatology, eye, oncology, cardiology, podiatry, pharmacist): checks to raise there with guideline sources, checks for other doctors, questions, what to bring, a printable sheet and next steps. Only closed options (condition, medicine classes, recent / overdue / never / unsure per routine test); no values or records; nothing stored. get_job_result returns the same sheet later by job_ref. Free.
explain_my_lab_resultsFront door 3. Made-up or de-identified lab values → guideline-cited recommendations with a condition lens. The hosted door also returns PRISM 2's quick reading (health picture, connections graded and sourced, what is due, safety notes, what is unknown), checked by a second automated check; no clinician reviews PRISM output.
start_lab_analysis + get_lab_analysisThe deepest PRISM 2 reading on the strongest model: start it, then collect it a little later. Made-up or de-identified values only. Free.
check_care_gapsWhich routine tests and exams may be due for type 2 diabetes, kidney disease, lupus or a cancer history. Takes NO lab values, dates, names or records. Returns a prioritized list with the guideline source for each item (ADA, KDIGO, EULAR, ACR, AAO, NCCN, ESC), questions for each clinician, and a printable checklist. Free.
start_my_phi_accountWith the person's OK, starts their Phi Longevity account: Phi Longevity emails them a one-tap link and what you already did together (hospitals, visit sheet, care-gaps answers) carries over for them to keep. Email address only; nothing else personal.
how_to_get_started_for_my_ownerTakes no health data; returns five plain steps, the cost and a sign-up link you can repeat to the person you are helping. Free.
sample_prism_reportReturns a complete sample PRISM report for a made-up person in one instant call. Free, no input.
quick_checkA fast read on a handful of values: which fall outside PRISM's reference ranges.
list_supported_biomarkers51 lab tests PRISM interprets, with units and reference ranges.
get_methodologyHow PRISM scores results (5 health areas + weights) + link to the full methodology.
full_prism_reportA full multi-track report for a panel you supply. Paid developer option (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 14 tools. Helping a real person? Start with get_my_medical_records. Just looking? sample_prism_report needs no arguments and returns a complete sample report immediately.

Claude Desktop / any MCP client (stdio)

json
{  "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 lists and calls the same 14 tools as /mcp; if the hosted server can't be reached, only quick_check, list_supported_biomarkers and get_methodology answer (offline).

Run locally

bash
npm install && npm run buildnode dist/index.js

Example

jsonc
// 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

Someone managing a long-term condition usually has records at several doctors who don't talk to each other. Phi Longevity brings every doctor's records into one complete record the person controls, then prepares them for each visit with a one-page Care Team Brief. Agent docs + sign-up: https://philongevity.com/for-agents

Environment

VarRequiredNotes
PHI_MCP_KEYnoOverrides the built-in published key. Rate-limited + revocable.
PHI_ENGINE_URLnoOverride the default Phi Longevity 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.

來源:README.md,提交 756e5b3

工具

14

get_my_medical_records

Find where my medical records are and how to get them (free)

Every doctor, your complete record. Use when the person you are helping has records spread across several doctors, wants their medical records or lab results out of a hospital or clinic portal, wants to use them with you (their AI assistant), or does not know which patient portal their hospital uses. Give the hospital or clinic NAME only (and the US state if known), never the person's name or any health detail. Returns which records system the hospital uses (Epic MyChart or Oracle Health, formerly Cerner), the steps to download lab results, a step-by-step guide page, and a link where the person can connect that hospital directly in Phi Longevity PRISM (philongevity.com), which combines records from all their hospitals into one cited Care Team Brief that their own Claude or ChatGPT can then read with their permission. Public directory lookup only; stores nothing. Not medical advice.

輸入參數statehospital_or_clinic必填

prepare_for_my_appointment

Get ready for my doctor's appointment (no lab values or records needed)

Use this when the person you are helping has an upcoming appointment (primary care, diabetes, kidney, rheumatology, eye, oncology, cardiology, podiatry or pharmacist) for type 2 diabetes, kidney disease, lupus or a cancer history and wants to be ready. One call returns: the routine checks to raise with THAT clinician (each with its guideline source), checks that belong with other doctors, the questions to ask, what to bring, and a one-page printable visit sheet. It needs NO lab values, dates, names or records: only the condition, a few medicine classes, which clinician, and for each routine test whether it was done recently (recent / overdue / never / unsure). The reply includes a job_ref: keep it, and get_job_result returns the same sheet later (for example the day before the visit, or in a new conversation). Every result ends with next_steps. Free. Nothing is stored. Decision support, not a diagnosis.

輸入參數conditions必填visit_with必填medicationstest_statustreatment_exposures

explain_my_lab_results

Explain my lab results: what they mean and what to ask the doctor (made-up or de-identified numbers)

Turns a set of lab values, for example from a type 2 diabetes, kidney, lupus or cancer-survivor check-up, into guideline-cited suggestions and questions for the care team (ADA, KDIGO, EULAR/ACR, NCCN). Made-up or de-identified values only. Returns PRISM 2's quick reading in about 10–20 seconds: a health picture (connections graded and sourced, what is due, safety notes, what is unknown), checked by a second automated check (no clinician reviews PRISM output), plus the recommendations. For the deepest reading on our strongest model, use start_lab_analysis. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). Inputs are not stored, except that a claim link, when offered, holds the submitted values for up to 30 minutes so the person can add them to their own account; unclaimed values are then deleted.

輸入參數agebiomarkers必填biologicalSexconditionFocusinclude_partner_options

start_lab_analysis

Start a lab-results analysis and collect it later (made-up or de-identified numbers)

PRISM 2, our most thorough lab reading: the model reasons over the whole panel, a second automated check reviews it (no clinician reviews PRISM output), and it is revised if needed. Returns a health picture (the story in plain words, connections graded Established / Likely / Worth asking, questions for the doctor with urgency, tests that are due, safety notes, what is unknown) plus the same recommendations shape as explain_my_lab_results. Returns a job_id at once; the reading usually takes 30–60 seconds. Call get_lab_analysis with the job_id after about 30 seconds; it says "pending" until the result is ready, and keeps the result for 30 minutes. Made-up or de-identified values only: never names, dates or record numbers.

輸入參數agebiomarkers必填biologicalSexconditionFocus

get_lab_analysis

Collect a lab-results analysis started with start_lab_analysis

Returns the result of a start_lab_analysis job: status pending (call again in a few seconds), done (with the health_picture and the recommendations), failed, or expired (results are kept for 30 minutes). Takes only the job_id.

輸入參數job_id必填

list_supported_biomarkers

Which lab tests PRISM can interpret

Lists the 51 lab tests PRISM interprets (A1c, eGFR, LDL, ApoB, thyroid and more) with units and reference ranges. Reference data only, no patient data.

無需輸入參數。

quick_check

Quick look at a few lab values (made-up or de-identified numbers)

A fast first look at a few lab values, such as A1c, eGFR or LDL, showing which fall outside PRISM's reference ranges; not a diagnosis. Answers instantly (local check, no engine round-trip). For guideline-cited suggestions call explain_my_lab_results. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). Inputs are not stored, except that a claim link, when offered, holds the submitted values for up to 30 minutes so the person can add them to their own account; unclaimed values are then deleted.

輸入參數biomarkers必填

get_methodology

How PRISM reaches its suggestions

Explains how PRISM scores results (five health areas and their weights) and links to the full methodology, including the clinical guidelines it cites.

無需輸入參數。

sample_prism_report

See a sample lab-results report (free, instant, made-up patient)

Free and instant: returns a complete sample Phi Longevity PRISM report for a made-up 58-year-old with type 2 diabetes, so you can show your owner what they would get before they sign up. It is a fixed sample: it does NOT analyze any input you provide (the tool takes none), and it is not a real patient. For your own made-up values use explain_my_lab_results. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). Inputs are not stored, except that a claim link, when offered, holds the submitted values for up to 30 minutes so the person can add them to their own account; unclaimed values are then deleted.

無需輸入參數。

how_to_get_started_for_my_owner

What to tell your owner: how to start with Phi Longevity (free)

Returns five plain steps, the cost, and a sign-up link you can repeat to the person you are helping (Every doctor, your complete record: their records from every doctor in one place they control). Call this when your owner has real records or asks how to get started. It takes no health data.

輸入參數goal

start_my_phi_account

Start my Phi Longevity account (emails me a sign-in link)

Every doctor, your complete record. When the person you are helping wants their own Phi Longevity account, call this with their email address and owner_agreed: true (ask them first; never call it without their clear yes). Phi Longevity emails them a one-tap sign-in link (no password, free to start). Pass what you already did so it is waiting for them: the hospitals from get_my_medical_records, the job_ref from prepare_for_my_appointment, and the answers you gave check_care_gaps. Nothing attaches to their account until they confirm; unused, it is deleted after 3 days. The answer is the same whether or not they already have an account. Hospital names and closed options only: never lab values, names, birth dates or documents.

輸入參數job_refcare_gapshospitalsowner_email必填owner_agreed必填

check_care_gaps

Check which routine tests and exams may be due for a long-term condition (no lab values or records needed)

Use this when the person you are helping has type 2 diabetes, kidney disease, lupus or a cancer history and wants to know which routine tests and checks may be due. It needs NO lab values, dates, names or records: only the condition, a few medicine classes, and for each routine test whether it was done recently (recent / overdue / never / unsure). It returns a prioritized list, the guideline source for each item (ADA, KDIGO, EULAR, AAO, NCCN, ESC), the questions to ask each doctor, and a one-page printable checklist. Decision support for visit preparation, not a diagnosis. Safe to use for a real person because you send only these closed options. Nothing is stored unless the person opens the save link: then only these options and the checklist are held for about 30 minutes for them to claim, and deleted if unclaimed. Designed to be re-run: the result includes check_again (a date to run it again). If you can schedule check-ins for the person, a weekly check while items are open works well; saving the checklist to a free Phi Longevity account lets Phi Longevity keep track from their records.

輸入參數conditions必填medicationstest_statustreatment_exposures

get_job_result

Pick up the result of a Phi Longevity job (by job_ref)

Use this to fetch the finished result of prepare_for_my_appointment, using the job_ref it returned. Works any time later and in a new conversation. Returns the same result and next_steps. Nothing is stored: the job_ref itself carries only the closed options that were chosen.

輸入參數job_ref必填

full_prism_report

Full multi-track report (paid developer option, $4.99 USDC via x402)

Paid option for developers: runs up to four condition tracks on made-up or de-identified values and returns a written report. For a real person's own records, send them to philongevity.com (free to start). PAID TOOL ($4.99 USDC on base via the x402 protocol). Everything explain_my_lab_results does, plus: multi-track compare/contrast analysis (up to 4 condition tracks), a panel-based Phi Longevity Score estimate with per-pillar breakdown, partner options, and a rendered report (markdown) to deliver to your owner. Call WITHOUT `payment` to receive x402 payment terms; pay; retry with the base64 payment payload in `payment`. For research/education with SYNTHETIC or de-identified data only. Do NOT submit protected health information (PHI). Inputs are not stored, except that a claim link, when offered, holds the submitted values for up to 30 minutes so the person can add them to their own account; unclaimed values are then deleted.

輸入參數agepaymentbiomarkers必填biologicalSexcompareTracksconditionFocus

版本歷史

9
  1. v0.7.2最新Nov 7, 2026
  2. v0.7.0Nov 5, 2026
  3. v0.6.12Nov 3, 2026
  4. v0.6.11Oct 21, 2026
  5. v0.6.10Oct 20, 2026
  6. v0.6.9Oct 9, 2026
  7. v0.6.8Sep 30, 2026
  8. v0.6.7Sep 27, 2026
  9. v0.6.6Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分