# Clinical Trials Data Server

Provide structured access to ClinicalTrials.gov data for searching, retrieving, and analyzing clinical trial information. Enable multi-parameter searches, detailed trial retrievals, and statistical a…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add plainyogurt21/clintrials-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list plainyogurt21/clintrials-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get plainyogurt21/clintrials-mcp search_trials_by_condition

# Call a tool
npx -y @smithery/cli@latest tool call plainyogurt21/clintrials-mcp search_trials_by_condition '{}'
```

## Direct MCP Connection

Endpoint: `https://clintrials-mcp--plainyogurt21.run.tools`

## Tools (12)

- `search_trials_by_condition` — Search clinical trials by medical condition(s).
- `search_trials_by_intervention` — Search clinical trials by intervention/treatment.
- `search_trials_by_sponsor` — Search clinical trials by sponsor/organization.
- `search_trials_by_acronym` — Search clinical trials by study acronym.
- `search_trials_by_nct_ids` — Retrieve specific clinical trials by NCT ID(s).
- `search_trials_combined` — Search clinical trials using multiple criteria.
- `get_trial_details` — Get comprehensive details for a single clinical trial.
- `get_trial_details_batched` — Retrieve detailed clinical trial records in batches to reduce payload during discovery.
- `analyze_trial_phases` — Analyze the distribution of trial phases for given search criteria.
- `get_field_statistics` — Get statistical information about field values.
- `get_available_fields` — Get organized list of available fields for customizing search results.
- `search_trials_nct_ids_only` — Lightweight search returning only NCT IDs and minimal metadata for discovery.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get plainyogurt21/clintrials-mcp <tool-name>
```

---

Source: https://github.com/plainyogurt21/clintrials-mcp
