Skip to main content
Glama
clinical-research-mcp

clinical-research-mcp

by wjddusrb03

English | 한국어


An MCP server that combines PubMed medical papers + ClinicalTrials.gov clinical trials + arXiv biomedical papers + Wikipedia concept explanations into a single research pipeline. No API keys required. One question generates a comprehensive report covering paper search, trial tracking, and medical concept explanations.

Why This Exists

Medical research involves the same repetitive tasks every time:

  1. Search PubMed for papers and read abstracts

  2. Search ClinicalTrials.gov for related trials (the UI is notoriously painful)

  3. Look up unfamiliar terminology

  4. Track related papers and references

4 sites, 10 tabs, endless copy-paste. clinical-research-mcp does all of this in a single tool call. The ClinicalTrials.gov experience, in particular, becomes dramatically better.

Related MCP server: Healthcare Research MCP Server

Demo: research_medical Output

You: "Research CGRP migraine treatment for me"

Claude calls research_medical(topic="CGRP migraine treatment"):

# Medical Research Report: CGRP migraine treatment

Generated: 2026-03-21 17:00

---

## 1. Key Concept (Wikipedia)

  **Calcitonin gene-related peptide**
  A neuropeptide involved in migraine pathophysiology. CGRP is released
  from trigeminal sensory neurons during migraine attacks and causes
  vasodilation and neurogenic inflammation...
  Link: https://en.wikipedia.org/wiki/Calcitonin_gene-related_peptide

---

## 2. Latest Research (PubMed)

  1. **Anti-CGRP monoclonal antibodies for chronic migraine prevention:
     a systematic review and meta-analysis**
     Authors: Wang Y, Chen S et al.
     Journal: The Lancet Neurology (2026)
     PMID: 39876543
     Abstract: We conducted a systematic review of 15 randomized
     controlled trials involving 12,847 patients...
     Link: https://pubmed.ncbi.nlm.nih.gov/39876543/

  ...

---

## 3. Active Clinical Trials

  1. **Phase 3: Eptinezumab vs Placebo in Chronic Migraine**
     NCT ID: NCT06123456 | Status: RECRUITING
     Phase: PHASE3
     Sponsor: Lundbeck
     Enrollment: 800 participants
     Link: https://clinicaltrials.gov/study/NCT06123456

  ...

---

## 4. Related Biomedical Papers (arXiv)

  1. **Deep Learning for Migraine Prediction Using EEG Signals**
     Kim J, Park H et al. (2026-02-15)
     PDF: http://arxiv.org/pdf/2602.12345v1

---

*Report generated by clinical-research-mcp*
*For informational purposes only. Always consult a healthcare
professional for medical decisions.*

Key Features

  • Zero API keys -- Install and use immediately. No registration, no configuration

  • PubMed search -- Abstracts, authors, journals, and related articles

  • ClinicalTrials.gov -- Simple search instead of the complex website. Recruitment status, sponsors, study design at a glance

  • Medical disclaimer auto-included -- Every output includes "Always consult a healthcare professional"

Tools

Tool

Description

research_medical

Main tool. PubMed + ClinicalTrials.gov + arXiv + Wikipedia comprehensive medical research report

search_pubmed

Search PubMed for medical papers (abstracts, authors, journals)

paper_detail

Get paper details by PMID (full abstract + related articles)

search_trials

Search ClinicalTrials.gov (with status filter)

trial_detail

Get trial details by NCT ID (design, eligibility, locations)

get_medical_concept

Wikipedia medical concept explanation (multilingual)

api_status

Check API availability

Installation

git clone https://github.com/wjddusrb03/clinical-research-mcp.git
cd clinical-research-mcp
pip install -r requirements.txt
python setup_wizard.py

No API key setup required. Restart Claude Desktop after installation and you're ready to go.

Manual Setup

1. Install dependencies

git clone https://github.com/wjddusrb03/clinical-research-mcp.git
cd clinical-research-mcp
pip install -r requirements.txt

2. Add to Claude Desktop config

Open your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Linux: ~/.config/claude/claude_desktop_config.json

Add the following to mcpServers:

{
  "mcpServers": {
    "clinical-research": {
      "command": "python",
      "args": ["/full/path/to/clinical-research-mcp/server.py"]
    }
  }
}

Restart Claude Desktop.

API Overview

API

Key Required

Features

PubMed (NCBI E-utilities)

No

Medical paper search, abstracts, related articles

ClinicalTrials.gov v2

No

Clinical trial search, status tracking, detailed info

arXiv

No

Biomedical/bioinformatics paper search

Wikipedia

No

Medical term/concept explanations, multilingual

All APIs are free and require no registration.

Tool Reference

research_medical

The main tool. Calls all 4 APIs to generate a comprehensive medical research report.

Parameter

Type

Default

Description

topic

string

(required)

Research topic (e.g. 'CGRP migraine treatment')

count

int

5

Number of results per section

search_pubmed

Parameter

Type

Default

Description

query

string

(required)

PubMed search query

count

int

5

Number of results

sort

string

"relevance"

"relevance" or "date"

paper_detail

Parameter

Type

Default

Description

pmid

string

(required)

PubMed ID (e.g. 39876543)

search_trials

Parameter

Type

Default

Description

query

string

(required)

Search query (disease, drug, NCT ID, etc.)

count

int

5

Number of results

status

string

""

Status filter: RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING, etc.

trial_detail

Parameter

Type

Default

Description

nct_id

string

(required)

NCT ID (e.g. NCT06123456)

get_medical_concept

Parameter

Type

Default

Description

term

string

(required)

Medical term (e.g. monoclonal antibody)

lang

string

"en"

Language code (en, ko, ja, etc.)

Usage Examples

After installation, just talk to Claude naturally:

Comprehensive research:

"Research the latest CGRP migraine treatments"

Paper search:

"Find PubMed papers on CAR-T cell therapy"

Paper details:

"Show me the abstract and related papers for this PMID"

Clinical trial search:

"Find recruiting clinical trials for Alzheimer's immunotherapy"

Trial details:

"Show me the study design and eligibility for this NCT ID"

Concept explanation:

"What is CGRP?"

Requirements

Dependencies

Package

Version

Purpose

mcp

>= 1.0.0

MCP SDK (FastMCP server framework)

httpx

>= 0.27.0

HTTP client for API calls

Project Structure

clinical-research-mcp/
    server.py           # MCP server with 7 tools
    setup_wizard.py     # Interactive setup script
    core/
        pubmed.py       # PubMed/NCBI E-utilities client
        trials.py       # ClinicalTrials.gov v2 API client
        arxiv.py        # arXiv API client
        wikipedia.py    # Wikipedia API client
    requirements.txt    # Python dependencies
    pyproject.toml      # Package metadata
    LICENSE             # MIT License

Disclaimer

This tool is for informational purposes only. Always consult a qualified healthcare professional before making medical decisions. A medical disclaimer is automatically included in all tool outputs.

Issues & Feedback

Found a bug or have an idea? Please open an issue:

When reporting a bug, please include:

  • Operating system (Windows / macOS / Linux)

  • Python version (python --version)

  • Error message or unexpected behavior

  • Steps to reproduce

Pull requests are welcome!

License

MIT License. See LICENSE for details.


Stop opening ClinicalTrials.gov tabs. Just ask Claude. No API keys needed.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables comprehensive medical research by querying and analyzing data across ClinicalTrials.gov, PubMed, and FDA databases with AI-enhanced cross-database insights, risk assessments, and competitive intelligence.
      13
      12
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables biomedical literature research with 17 tools for searching and retrieving publications, full texts, MeSH terms, citations, clinical trials, drug safety data, and more from multiple sources without requiring API keys.
      17
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to run PubMed searches in plain English, download full-text articles from PubMed Central, and map the similar, citing and cited evidence around key papers. It also builds an Obsidian knowledge graph of a study's literature, with retractions flagged and citations traceable to papers the assistant read.
      33 PyPI
      MIT