# Clinical Trials Data Server

Clinical Trials Data Server — an MCP server that exposes ClinicalTrials.gov data directly in your code editor. Search trials by condition, intervention, or sponsor; pull full details and run statistical breakdowns by phase.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 5823 installs · ★ 1 repo stars
- Author: plainyogurt21
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/plainyogurt21/clintrials-mcp
- Updated: 2025-10-07
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/clinical-trials-data-server

## What it does

The server interfaces with ClinicalTrials.gov through a set of search and analysis tools. You can query trials by disease name, treatment type, sponsoring organization, or NCT identifier, and combine parameters in a single request. Each trial returns complete data: eligibility criteria, outcomes, and intervention details.

Analysis is built in. One tool breaks down trial distribution across phases (I, II, III), while another computes statistics on any field—age range, duration, participant count. Request only the fields you need to keep responses lean.

The server runs on Python locally or in the cloud. Fastest setup is AWS Lambda (free for the first million requests per month), Railway, or Render—the server deploys from the repository. For local development, run `python mcp_server.py` after installing requirements.

## Requirements
- Remote server: `https://clintrials-mcp--plainyogurt21.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http clintrials-mcp https://clintrials-mcp--plainyogurt21.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add clinical-trials-data-server --url https://clintrials-mcp--plainyogurt21.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "clinical-trials-data-server": {
            "url": "https://clintrials-mcp--plainyogurt21.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "clinical-trials-data-server": {
            "type": "http",
            "url": "https://clintrials-mcp--plainyogurt21.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http clinical-trials-data-server https://clintrials-mcp--plainyogurt21.run.tools
```

## When to use it
- find clinical trials matching a disease or treatment
- retrieve complete trial data including eligibility and outcomes
- analyze trial distribution across phases and parameters
- search trials by NCT number or protocol acronym
- extract a subset of fields from ClinicalTrials.gov bulk data

## Example prompts
- Find clinical trials for type 2 diabetes management
- Get full details for trial NCT04285398 including eligibility criteria
- Show me the phase distribution of immunotherapy trials for cancer

## Similar
- [clinical-trials-database](https://affpapa.org/en/nevibecode/skills/clinical-trials-database.md) — skill · 2600 installs
- [clinical-trials-search](https://affpapa.org/en/nevibecode/skills/clinical-trials-search.md) — skill · 174 installs
- [tooluniverse-clinical-data-integration](https://affpapa.org/en/nevibecode/skills/tooluniverse-clinical-data-integration.md) — skill · 242 installs
- [clinical-trial-forecast](https://affpapa.org/en/nevibecode/skills/clinical-trial-forecast.md) — skill · ★ 654 repo stars
- [PepBank Peptide Research MCP: BPC-157, Retatrutide and Tirzepatide Studies and Trials](https://affpapa.org/en/nevibecode/mcp/pepbank-peptide-research-mcp-bpc-157-retatrutide-and-tirzepatide-studies-and-tri.md) — MCP server
- [clinical-trial-protocol-skill](https://affpapa.org/en/nevibecode/skills/clinical-trial-protocol-skill.md) — skill · 469 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
