Medical Research Toolkit
Query 14+ biomedical databases for drug repurposing, target discovery, clinical evidence, and literature research — all via a unified MCP endpoint.
⚡ 30-Second Start
CODEBLOCK0
That's it! You now have approved and investigational drugs for the disease.
Quick Recipes
Find Drugs for a Disease
CODEBLOCK1
Returns: Approved + investigational drugs with max phase reached
Find Disease Targets
CODEBLOCK2
Returns: Top disease targets ranked by evidence strength (0-1 score)
Search Literature
CODEBLOCK3
Returns: PubMed articles on myasthenia gravis immunotherapy
Find Active Clinical Trials
CODEBLOCK4
Returns: Actively recruiting trials for the disease
Check Drug Safety
CODEBLOCK5
Returns: FDA adverse event reports—check for serious outcomes, death, hospitalization
What You Get
14+ Integrated Databases
| Database | What's Inside | Use For |
|---|
| ChEMBL | 2M drugs, bioactivity data | Finding approved/investigational drugs |
| OpenTargets |
Disease-target links + evidence | Identifying therapeutic targets |
|
PubMed | 35M+ articles + preprints | Literature review & validation |
|
ClinicalTrials.gov | 400K+ active trials | Finding ongoing studies |
|
OpenFDA | Adverse events, drug labels | Safety assessment |
|
OMIM | Genetic diseases, genes → phenotypes | Understanding disease genetics |
|
Reactome | Pathways, protein interactions | Mechanism understanding |
|
UniProt | Protein sequences, annotations | Protein properties |
|
KEGG | Metabolic & disease pathways | Systems-level view |
|
GWAS Catalog | Genetic associations | Variant discovery |
|
Pathway Commons | Integrated pathway data | Network analysis |
|
MyGene.info | Gene annotations | ID mapping |
|
MyVariant.info | Variant effects | Variant interpretation |
| + more | | |
Use Cases
🧬 Drug Repurposing
Find non-standard-care drugs for rare/complex diseases:
- 1. Find disease targets (OpenTargets)
- Search for drugs targeting those genes (ChEMBL)
- Check ongoing trials (ClinicalTrials)
- Verify safety (OpenFDA, PubMed)
🔬 Target Discovery
Identify novel therapeutic targets:
- 1. Find disease associations (OpenTargets, GWAS)
- Get pathway context (Reactome, KEGG)
- Review literature (PubMed)
- Check protein properties (UniProt)
📋 Clinical Evidence Review
Compile evidence for a hypothesis:
- 1. Search trials (ClinicalTrials.gov)
- Find literature (PubMed)
- Check FDA data (OpenFDA)
📊 Literature Mining
Systematically search biomedical research:
- 1. PubMed: 35M+ articles searchable by gene, disease, drug, chemical
- Preprints: bioRxiv, medRxiv
- Filter by keywords, date, study type
API Endpoint
Production (No setup needed):
CODEBLOCK6
All 14+ databases unified into one endpoint.
Running Locally:
pip install medical-mcps
medical-mcps
# Available at: http://localhost:8000/tools/unified/mcp
Complete References
See detailed guides for each database:
Workflow Example
Complete Drug Repurposing Pipeline:
See drug-repurposing-workflow.md for step-by-step example with all 8 steps + curl commands.
API Keys
Most APIs are free, no key required. Optional keys for higher rate limits:
| Database | Key? | Why | Get Key |
|---|
| ChEMBL | No | Public data | (not needed) |
| OpenTargets |
No | Public data | (not needed) |
| PubMed | No | Public data | (not needed) |
| ClinicalTrials | No | Public data | (not needed) |
|
OMIM |
Yes | Proprietary data | https://omim.org/api |
| OpenFDA | Optional | Higher rate limits | https://open.fda.gov |
| NCI Clinical Trials | Optional | Higher rate limits | https://clinicaltrialsapi.cancer.gov |
Rate Limits & Caching
- - No authentication for production endpoint (public)
- Rate limits: Generous (~1000+ requests/day per database)
- Caching: Automatic 30-day HTTP caching (RFC 9111)
- Cost: $0 (all databases public or researcher-accessible)
Common Patterns
Batch Query Loop
CODEBLOCK8
ID Conversion
Need to convert IDs between databases?
CODEBLOCK9
Returns: Equivalent IDs in NCBI Gene, Uniprot, Ensembl, MyGene, etc.
Troubleshooting
No results?
- - Try alternative terms (gene symbol vs protein name)
- Check spelling
- Use standardized IDs (gene symbols, disease names)
- Some APIs use specific ID formats (EFO vs MONDO, etc.)
Too many results?
- - Add filters (max_results, phase, recruitment status)
- Use
limit or size parameters - Combine with other databases to narrow focus
API key errors?
- - OMIM requires API key — get from https://omim.org/api
- Other databases optional — request key if hitting rate limits
Next Steps
- 1. Pick a use case (drug repurposing, target discovery, etc.)
- Read the relevant database guide from References section
- Copy a quick recipe from above
- Customize parameters for your disease/gene/drug
- Scale up — build your full research workflow
Resources
- - Source Code: https://github.com/pascalwhoop/medical-mcps
- Author: Pascal Brockmeyer (@pascalwhoop)
- Organization: Every Cure (https://www.everycure.org)
- License: MIT
Getting Help
医学研究工具包
通过统一的MCP端点,查询14+生物医学数据库,用于药物重定位、靶点发现、临床证据和文献研究。
⚡ 30秒快速启动
bash
查找重症肌无力药物
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:chembl
finddrugs
byindication,arguments:{indication:myasthenia gravis,max_results:10}},id:1}
就这么简单! 您现在已获得该疾病的已批准和试验性药物。
快速配方
查找疾病药物
bash
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:chemblfinddrugsbyindication,arguments:{indication:myasthenia gravis,max_results:20}},id:1}
返回:已批准 + 试验性药物,含最高试验阶段
查找疾病靶点
bash
第一步:查找疾病ID
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:opentargets
search,arguments:{query:myasthenia gravis,entitytype:disease}},id:1}
返回:疾病ID(例如 EFO_0004991)
然后:获取靶点
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:opentargets
getassociations,arguments:{disease
id:EFO0004991,size:20}},id:2}
返回:按证据强度(0-1分)排序的顶级疾病靶点
搜索文献
bash
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:pubmedsearcharticles,arguments:{diseases:[myasthenia gravis],keywords:[immunotherapy],max_results:20}},id:1}
返回:关于重症肌无力免疫治疗的PubMed文章
查找活跃临床试验
bash
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:ctgsearchstudies,arguments:{condition:myasthenia gravis,recruitmentstatus:RECRUITING,maxresults:20}},id:1}
返回:该疾病正在招募的试验
检查药物安全性
bash
curl -X POST https://mcp.cloud.curiloo.com/tools/unified/mcp \
-H Content-Type: application/json -H Accept: application/json \
-d {jsonrpc:2.0,method:tools/call,params:{name:openfdasearchadverseevents,arguments:{drugname:eculizumab,limit:50}},id:1}
返回:FDA不良事件报告——检查严重结局、死亡、住院情况
您将获得
14+集成数据库
| 数据库 | 内容 | 用途 |
|---|
| ChEMBL | 200万药物,生物活性数据 | 查找已批准/试验性药物 |
| OpenTargets |
疾病-靶点关联+证据 | 识别治疗靶点 |
|
PubMed | 3500万+文章+预印本 | 文献综述与验证 |
|
ClinicalTrials.gov | 40万+活跃试验 | 查找进行中的研究 |
|
OpenFDA | 不良事件,药物标签 | 安全性评估 |
|
OMIM | 遗传病,基因→表型 | 理解疾病遗传学 |
|
Reactome | 通路,蛋白质相互作用 | 机制理解 |
|
UniProt | 蛋白质序列,注释 | 蛋白质特性 |
|
KEGG | 代谢与疾病通路 | 系统级视图 |
|
GWAS Catalog | 遗传关联 | 变异发现 |
|
Pathway Commons | 整合通路数据 | 网络分析 |
|
MyGene.info | 基因注释 | ID映射 |
|
MyVariant.info | 变异效应 | 变异解读 |
| + 更多 | | |
使用场景
🧬 药物重定位
为罕见/复杂疾病查找非标准治疗药物:
- 1. 查找疾病靶点(OpenTargets)
- 搜索靶向这些基因的药物(ChEMBL)
- 检查进行中的试验(ClinicalTrials)
- 验证安全性(OpenFDA, PubMed)
🔬 靶点发现
识别新型治疗靶点:
- 1. 查找疾病关联(OpenTargets, GWAS)
- 获取通路背景(Reactome, KEGG)
- 综述文献(PubMed)
- 检查蛋白质特性(UniProt)
📋 临床证据综述
为假设汇编证据:
- 1. 搜索试验(ClinicalTrials.gov)
- 查找文献(PubMed)
- 检查FDA数据(OpenFDA)
📊 文献挖掘
系统搜索生物医学研究:
- 1. PubMed:3500万+文章,可按基因、疾病、药物、化学物质搜索
- 预印本:bioRxiv, medRxiv
- 按关键词、日期、研究类型筛选
API端点
生产环境(无需设置):
https://mcp.cloud.curiloo.com/tools/unified/mcp
所有14+数据库统一为一个端点。
本地运行:
bash
pip install medical-mcps
medical-mcps
访问地址:http://localhost:8000/tools/unified/mcp
完整参考
查看每个数据库的详细指南:
工作流示例
完整药物重定位流程:
参见 drug-repurposing-workflow.md 获取包含全部8个步骤和curl命令的逐步示例。
API密钥
大多数API免费,无需密钥。可选密钥用于更高速率限制:
| 数据库 | 需要密钥? | 原因 | 获取密钥 |
|---|
| ChEMBL | 否 | 公共数据 | (不需要) |
| OpenTargets |
否 | 公共数据 | (不需要) |
| PubMed | 否 | 公共数据 | (不需要) |
| ClinicalTrials | 否 | 公共数据 | (不需要) |
|
OMIM |
是 | 专有数据 | https://omim.org/api |
| OpenFDA | 可选 | 更高速率限制 | https://open.fda.gov |
| NCI临床试验 | 可选 | 更高速率限制 | https://clinicaltrialsapi.cancer.gov |
速率限制与缓存
- - 生产端点无需认证(公共)
- 速率限制:宽松(每个数据库约1000+请求/天)
- 缓存:自动30天HTTP缓存(RFC 9111)
- 成本:$0(所有数据库均为公共或研究者可访问)
常见模式
批量查询循环
bash
搜索多个靶点
for gene in CHRNE RAPSN LRP4; do
curl -