StackBiomed Biomedical MCP Server

Máy chủ MCP y sinh không dùng đám mây, chỉ đọc (không có phụ thuộc npm) để kiểm tra ngăn xếp thực phẩm bổ sung theo cách xác định, tra cứu Mức dung nạp tối đa (Tolerable Upper Intake Level) của NIH ODS, các con đường tương tác thuốc–dinh dưỡng được PubMed xác minh (93 bản tóm tắt), tìm kiếm nhãn trong NIH DSLD v9.4.0 (N=121,959) và BioBench v1.0 (42 trường hợp kiểm chứng cơ sở cho LLM, CC BY 4.0).

Tài liệu

StackBiomed — Read-Only Biomedical MCP Server, Open Supplement Dataset (CC BY 4.0) & BioBench v1.0

License: MIT + CC BY 4.0 NIH DSLD v9.4.0 BioBench v1.0 Glama MCP Server

StackBiomed Biomedical MCP Server

Zero-cloud, zero-PHI computational pharmacology infrastructure for grounding biomedical LLMs, clinical RAG pipelines, and AI coding/research agents (Claude Desktop, Cursor, Windsurf, LangGraph).

Built and maintained by StackBiomed — a free, browser-local supplement stack auditor & pharmacokinetic evidence engine anchored directly to:

  • NIH Dietary Supplement Label Database (DSLD v9.4.0): Full-corpus census of N = 121,959 active On-Market product labels (87,643 focused <8-ingredient formulas + 34,306 multivitamins)
  • NIH Office of Dietary Supplements (ODS) / National Academies DRI: 16 statutory adult Tolerable Upper Intake Levels (UL) with explicit intake-scope separation (supplement_only vs. total_food_and_supplement, Age 51+ Calcium 2,000 mg, and form exemptions for Beta-Carotene & L-5-MTHF)
  • NCBI PubMed E-utilities: 164 individual pharmacokinetic claims verified across 93 real PubMed titles/abstracts (0 retracted records)

Why This Exists

General-purpose LLMs frequently hallucinate supplement safety math:

  1. Confusing compound salt weight with elemental mineral mass (e.g., treating 2,000 mg Magnesium L-Threonate as 2,000 mg elemental Mg instead of 144 mg).
  2. Misapplying NIH UL intake scopes & exemptions (counting food magnesium toward the 350 mg supplemental-only UL, or applying the 3,000 mcg RAE preformed retinol UL to provitamin A beta-carotene).
  3. Confusing chronic stoichiometry with acute 2-hour clock spacing (suggesting a 2-hour gap fixes multi-day zinc-induced enterocyte metallothionein copper trapping).
  4. Fabricating PubMed PMIDs or omitting prescription drug-nutrient depletions (Metformin–B12, PPIs–Mg/B12/Fe, Statins–CoQ10, Levothyroxine chelation, Warfarin–Vitamin K2, ACEi/ARB–Potassium).

This repository ships:

  • A zero-dependency Node.js Read-Only MCP Server (mcp/stackbiomed-mcp-server.mjs) that executes stack math 100% locally.
  • The CC BY 4.0 machine-readable datasets (datasets/).
  • StackBiomed-BioBench v1.0 (42 adversarial & standard ground-truth evaluation cases).

Quick Start: Connect the Read-Only MCP Server

Requires Node.js 18+ (zero npm install dependencies required).

git clone https://github.com/379173546hotmail-hub/stackbiomed-mcp-biobench.git
cd stackbiomed-mcp-biobench
npm test

Claude Desktop / Cursor Configuration

Add the following to claude_desktop_config.json or .cursor/mcp.json:

{
  "mcpServers": {
    "stackbiomed-readonly": {
      "command": "node",
      "args": ["/absolute/path/to/stackbiomed-mcp-biobench/mcp/stackbiomed-mcp-server.mjs"]
    }
  }
}

Exposed MCP Tools (6)

Tool NameExecutionDescription
lookup_nih_ul_and_pathway100% LocalAdult NIH RDA, statutory UL, supplement_only vs total_food_and_supplement scope, chemical form bioavailability tiers, DSLD quantiles, and verified PMID
check_nutrient_interaction100% LocalDeterministic antagonism, competition, or synergy between any two tracked compounds with evidence tier & PMIDs
audit_supplement_stack_local100% Local (Zero PHI)Cumulative elemental summation, intake-scope UL checks, Age 51+ Calcium toggle, decoupled Safety vs. Optimization scores, and chronic Zn:Cu screening
lookup_drug_nutrient_pathway100% Local8 PubMed-verified Drug-Nutrient Depletion, CYP3A4/P-gp & Nutrigenomics monographs (CUBN/AMN, TRPM6, HMGCR, MTHFR C677T, VKORC1, RAAS)
get_biobench_cases100% LocalQuery any of the 42 ground-truth evaluation cases in StackBiomed-BioBench v1.0
search_nih_dsld_labelsRead-Only ProxyLive On-Market lookup against NIH DSLD v9 via https://stackbiomed.com/api/dsld-search

Datasets Included (v2026.11.9 · CC BY 4.0)

FileContentsLive Endpoint
datasets/stackaudit-open-dataset-v3.json37 ingredients, 16 statutory NIH ULs, chemical form tiers, interaction rules, N=121,959 DSLD quantilesJSON
datasets/stackaudit-open-dataset-v3.csvFlat tabular summary for spreadsheet / pandas ingestionCSV
datasets/stackaudit-pharmacology-v1.json8 Drug-Nutrient Depletion, CYP3A4/P-gp & MTHFR C677T monographs with verified PubMed metadataJSON
datasets/stackaudit-llm-grounding-benchmark-v1.jsonStackBiomed-BioBench v1.0 — 42 verifiable clinical pharmacology LLM grounding casesJSON
datasets/stackaudit-mcp-tools.jsonMachine-readable MCP tool manifestJSON
datasets/openapi.jsonOpenAPI 3.1.0 read-only specificationOpenAPI 3.1

Python Quickstart

python examples/rag_quickstart.py

Live Interactive Web Tools & Verification Standards


Clinical Scope & License

  • Informational Reference Only: StackBiomed and this repository are deterministic dosage and primary-source literature reference tools—not medical advice, clinical diagnosis, or personalized prescribing guidance. Always consult a licensed physician or clinical pharmacist before modifying supplements or prescription medications.
  • License: Source code (mcp/, examples/) is released under the MIT License. Reference datasets (datasets/) are released under Creative Commons Attribution 4.0 International (CC BY 4.0) with link attribution to https://stackbiomed.com/data/.