Oak Longevity Mcp Server

io.github.Goingparabolic由 GitHub 帳號 Goingparabolic 發布v0.1.0更新於 Oct 25, 2026

Longevity medicine MCP: medication dosing, labs, monitoring, drug interactions & intake screening

已驗證STDIO僅桌面位置與生活知識與記憶

概覽

AI 產生的概覽

本機 MCP 伺服器,為助理提供長壽與代謝醫學參考:35 種化合物目錄、給藥方案、檢驗、監測、交互作用與禁忌篩檢。

可以做什麼
依類別瀏覽藥物目錄,含 id、藥物類別與 DEA/處方管制等級,並可用名稱、id 或品牌別名查詢單一化合物的機轉、劑型與適用對象。查詢 FDA 核准狀態、DEA 管制等級及 503A/503B 調製注意事項。依適應症取得附證據等級的給藥方案、開立前所需基線檢驗與持續監測計畫。將藥物與病人資料比對篩檢禁忌,並檢查用藥清單中兩兩藥物的交互作用。依病人症狀與目標對應建議的收案路徑。
適用情境
適合臨床醫師或長壽與代謝醫學機構,讓助理在草擬或複核方案時調閱化合物、給藥、檢驗、監測、禁忌與交互作用的結構化參考資料。僅免費層即可滿足目錄與法規資訊查詢。
執行需求
以本機 Node.js 程序透過 stdio 執行,可從 npm 套件安裝或由原始碼建置;需要 Claude Desktop、Claude Code 等桌面 MCP 用戶端。免費層無需帳號。進階工具需要 LONGEVITY_LICENSE_KEY 中的授權金鑰;選用變數可設定層級、金鑰允許清單或遠端驗證端點。README 另述可用於遠端託管的 HTTP 傳輸方式。
安裝前請注意
僅為臨床決策支援,不構成醫療建議;輸出須由執業臨床醫師審閱,且許多化合物屬仿單外使用、調製或研究性藥物。給藥、交互作用、檢驗與法規資料變動頻繁,應核對最新原始文獻與 FDA 資源。無有效授權時進階工具只回傳升級提示。授權金鑰屬機密;若設定遠端驗證端點,金鑰會傳送至該服務。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

oak-longevity-mcp-server

An MCP server for longevity & metabolic medicine — a medication catalog, evidence-based dosing protocols, contraindication screening, drug-interaction checks, required baseline labs, ongoing monitoring plans, FDA/compounding regulatory status, and patient-intake pathway suggestions across 35 compounds.

Built for Oak Longevity Institute by Keith Schmidt, MD — a telemedicine longevity practice in Illinois. This server makes the practice's clinical reference data available to any MCP client (Claude Desktop, Claude Code, or your own agent), and is structured for a free/premium monetization model.

⚠️ Clinical decision-support, not medical advice. All output must be reviewed by a licensed clinician. Many longevity compounds here are used off-label, are compounded, or are investigational/not FDA-approved. Dosing, contraindication, interaction, lab, and regulatory data change frequently — always verify against current primary literature, FDA/DEA resources, and your state board of pharmacy.


What it does

ToolTierDescription
get_medication_listFreeFull medication catalog grouped by category, with ids, drug class, and DEA/Rx schedule.
get_medication_detailsFreeMechanism, formulations, who it's for / not for, and schedule for one medication.
get_fda_statusFreeFDA approval status, DEA schedule, 503A/503B compounding considerations, approved uses, off-label notes.
get_dosing_protocolPremiumEvidence-based dosing: route, start, titration, maintenance, max, evidence grade, pearls — by indication.
get_required_labsPremiumRecommended baseline labs/assessments before prescribing, grouped by panel with rationale.
get_monitoring_planPremiumOngoing monitoring schedule — what to check, interval, and action/threshold.
check_contraindicationsPremiumScreens a medication against a patient profile (age, sex, conditions, meds) → PASS / FLAG / REJECT with the triggering findings.
check_drug_interactionsPremiumPairwise interaction warnings across a medication list, ranked by severity, with mechanism + management.
screen_patient_intakePremiumMaps a patient's symptoms/goals to suggested treatment pathways with first-line + adjunct medications and workup.

The eight categories: Weight Management, Peptide Therapy, Hormone Optimization, Longevity & Metabolic, Sexual Health, Immune & Inflammation, Hair Restoration, Dermatology.

Every tool accepts a medication as a name, id, or brand/alias (e.g. "Tirzepatide", "tirzepatide", "Mounjaro", or "copper peptide" → GHK-Cu). Unrecognized queries return "did you mean" suggestions.

Compounds covered

Semaglutide · Tirzepatide · Liraglutide · Naltrexone/Bupropion · BPC-157 · Sermorelin · CJC-1295/Ipamorelin · Ipamorelin · Tesamorelin · Thymosin Beta-4 (TB-500) · Testosterone (cypionate & cream) · Estradiol · Progesterone · DHEA · Anastrozole · Pregnenolone · hCG · NAD+ · Metformin · Rapamycin · Berberine · Resveratrol · NMN · PT-141 · Oxytocin · Tadalafil · Sildenafil · Thymosin Alpha-1 · Glutathione · Low-Dose Naltrexone · Finasteride · Oral Minoxidil · GHK-Cu · Tretinoin.


Install & build

bash
git clone <repo> longevity-mcp-servercd longevity-mcp-servernpm install
npm run build             # compile TypeScript → dist/ and copy datanpm run smoke             # end-to-end test (optional)

The clinical data ships as JSON in src/data/ and is copied into dist/data/ at build.


Use with Claude Desktop

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

json
{  "mcpServers": {    "oak-longevity": {      "command": "node",      "args": ["/absolute/path/to/longevity-mcp-server/dist/index.js"],      "env": { "LONGEVITY_LICENSE_KEY": "OAK-XXXX-XXXX-XXXX" }    }  }}

Restart Claude Desktop. You can then ask things like:

  • "List the peptide therapy options."
  • "What's the dosing protocol for tirzepatide for weight loss?"
  • "Can I prescribe tadalafil to a 60-year-old man taking nitroglycerin?"
  • "Check interactions between rapamycin, simvastatin, and clarithromycin."
  • "What baseline labs do I need before starting testosterone?"
  • "A patient reports fatigue, low libido, and wants to lose weight — what pathways fit?"

See examples/claude_desktop_config.json for an npx variant.

Use with Claude Code

bash
claude mcp add oak-longevity -- node /absolute/path/to/longevity-mcp-server/dist/index.js

Inspect locally

bash
npm run inspect          # opens the MCP Inspector against the stdio server

Remote hosting (HTTP / SSE)

The same tools are served over Streamable HTTP for remote deployment (MCPize, a VPS, or serverless):

bash
npm run buildPORT=3000 node dist/http.js# → POST http://localhost:3000/mcp     (GET /health for a liveness check)

The HTTP transport is stateless and multi-tenant: the per-customer license key is read from a request header, so a single deployment can serve many customers.

X-Oak-License: OAK-XXXX-XXXX-XXXX        (preferred)Authorization: Bearer OAK-XXXX-XXXX-XXXX (also accepted)

Monetization & licensing

The server has a built-in free / premium split designed to be wired to a billing provider (Stripe, MCPize) with minimal change.

  • Free tier: get_medication_list, get_medication_details, get_fda_status — the catalog and regulatory reference.
  • Premium tier: the clinical decision-support engine — dosing protocols, baseline labs, monitoring plans, contraindication screening, drug-interaction checks, and intake pathway suggestions.

Premium tools remain discoverable (they appear in tools/list so clients can advertise the upgrade), but calling one without a valid entitlement returns an upgrade prompt instead of data.

Entitlement resolution

Configured via environment variables (stdio) or request headers (HTTP):

VariablePurpose
LONGEVITY_LICENSE_KEYThe customer's license key.
LONGEVITY_TIERForce premium or free (self-hosted / enterprise override).
LONGEVITY_VALID_KEYSComma-separated allowlist of keys treated as valid premium (manual provisioning / testing).
LONGEVITY_LICENSE_VERIFY_URLOptional HTTP endpoint for remote key verification. When set, keys are validated against this service instead of locally.

A locally-issued key matches the format OAK-XXXX-XXXX-XXXX. For production, point LONGEVITY_LICENSE_VERIFY_URL at your billing webhook; it should accept { "key": "..." } and return { "valid": true, "tier": "premium", "expiresAt": "..." }.

The verification layer lives entirely in src/licensing.ts behind a LicenseProvider interface — swap the implementation without touching any tool.


Project structure

longevity-mcp-server/├── src/│   ├── index.ts          # stdio entry point (Claude Desktop / Code)│   ├── http.ts           # Streamable HTTP entry point (remote hosting)│   ├── server.ts         # builds the MCP server + tier gating│   ├── licensing.ts      # free/premium entitlement (pluggable)│   ├── data.ts           # data loading + medication resolver│   ├── types.ts          # clinical data types│   ├── tools/            # one file per MCP tool (9 tools)│   └── data/             # clinical data (JSON)│       ├── categories.json│       ├── medications.json│       ├── dosing.json│       ├── contraindications.json│       ├── interactions.json│       ├── labs.json│       ├── fda.json│       └── pathways.json├── scripts/│   ├── copy-assets.mjs   # copy JSON into dist/ at build│   └── smoke-test.mjs    # end-to-end MCP client/server test├── examples/│   └── claude_desktop_config.json├── package.json├── tsconfig.json├── LICENSE└── README.md

Data model

The clinical data is hand-curated from standard pharmacology references and longevity-medicine practice (Endocrine Society / Menopause Society / ISSWSH guidance, FDA labeling and shortage/bulk-substance lists, and the peer-reviewed literature for off-label and investigational compounds). Each dataset is keyed by medication id:

  • medications.json — class, mechanism, formulations, candidate profile, schedule.
  • dosing.json — per-indication route / start / titration / maintenance / max / evidence grade.
  • contraindications.json — boxed warnings, absolute & relative contraindications (with machine-matchable condition keywords), cautions, pregnancy.
  • interactions.json — per-drug interaction rules (severity, effect, management).
  • labs.json — baseline panels and ongoing monitoring schedule.
  • fda.json — approval status, schedule, 503A/503B compounding considerations, approved uses, references.
  • pathways.json — 15 intake pathways mapping symptoms/goals → first-line + adjunct medications.

Because regulatory status (especially FDA drug-shortage listings and 503A bulk-substance eligibility for peptides) shifts frequently, treat get_fda_status output as a starting point and confirm against the current FDA database before compounding.


License

MIT © 2026 Keith Schmidt, MD — Oak Longevity Institute

The clinical reference content is provided for educational and decision-support purposes only and does not constitute medical advice. See the disclaimer in LICENSE.

來源:README.md,提交 5ee072e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。