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
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,959active On-Market product labels (87,643focused<8-ingredientformulas +34,306multivitamins) - NIH Office of Dietary Supplements (ODS) / National Academies DRI:
16statutory adult Tolerable Upper Intake Levels (UL) with explicit intake-scope separation (supplement_onlyvs.total_food_and_supplement, Age 51+ Calcium2,000 mg, and form exemptions for Beta-Carotene & L-5-MTHF) - NCBI PubMed E-utilities:
164individual pharmacokinetic claims verified across93real PubMed titles/abstracts (0retracted records)
Why This Exists
General-purpose LLMs frequently hallucinate supplement safety math:
- Confusing compound salt weight with elemental mineral mass (e.g., treating
2,000 mgMagnesium L-Threonate as2,000 mgelemental Mg instead of144 mg). - Misapplying NIH UL intake scopes & exemptions (counting food magnesium toward the
350 mgsupplemental-only UL, or applying the3,000 mcg RAEpreformed retinol UL to provitamin A beta-carotene). - Confusing chronic stoichiometry with acute 2-hour clock spacing (suggesting a 2-hour gap fixes multi-day zinc-induced enterocyte metallothionein copper trapping).
- 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 (
42adversarial & 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 Name | Execution | Description |
|---|---|---|
lookup_nih_ul_and_pathway | 100% Local | Adult NIH RDA, statutory UL, supplement_only vs total_food_and_supplement scope, chemical form bioavailability tiers, DSLD quantiles, and verified PMID |
check_nutrient_interaction | 100% Local | Deterministic antagonism, competition, or synergy between any two tracked compounds with evidence tier & PMIDs |
audit_supplement_stack_local | 100% 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_pathway | 100% Local | 8 PubMed-verified Drug-Nutrient Depletion, CYP3A4/P-gp & Nutrigenomics monographs (CUBN/AMN, TRPM6, HMGCR, MTHFR C677T, VKORC1, RAAS) |
get_biobench_cases | 100% Local | Query any of the 42 ground-truth evaluation cases in StackBiomed-BioBench v1.0 |
search_nih_dsld_labels | Read-Only Proxy | Live On-Market lookup against NIH DSLD v9 via https://stackbiomed.com/api/dsld-search |
Datasets Included (v2026.11.9 · CC BY 4.0)
| File | Contents | Live Endpoint |
|---|---|---|
datasets/stackaudit-open-dataset-v3.json | 37 ingredients, 16 statutory NIH ULs, chemical form tiers, interaction rules, N=121,959 DSLD quantiles | JSON |
datasets/stackaudit-open-dataset-v3.csv | Flat tabular summary for spreadsheet / pandas ingestion | CSV |
datasets/stackaudit-pharmacology-v1.json | 8 Drug-Nutrient Depletion, CYP3A4/P-gp & MTHFR C677T monographs with verified PubMed metadata | JSON |
datasets/stackaudit-llm-grounding-benchmark-v1.json | StackBiomed-BioBench v1.0 — 42 verifiable clinical pharmacology LLM grounding cases | JSON |
datasets/stackaudit-mcp-tools.json | Machine-readable MCP tool manifest | JSON |
datasets/openapi.json | OpenAPI 3.1.0 read-only specification | OpenAPI 3.1 |
Python Quickstart
python examples/rag_quickstart.py
Live Interactive Web Tools & Verification Standards
- Multi-Bottle Stack Auditor Workbench: https://stackbiomed.com/
- Open Dataset Directory (CC BY 4.0): https://stackbiomed.com/data/
- BioBench v1.0 Evaluation Suite: https://stackbiomed.com/benchmark/
- Developers, MCP & OpenAPI 3.1 Docs: https://stackbiomed.com/developers/
- 4-Tier Primary-Source Verification Policy: https://stackbiomed.com/about/reviewers/
- LLM Flat Compendiums:
/llms.txt·/llms-full.txt
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 tohttps://stackbiomed.com/data/.