Clinical Trials Data Server — Claude Code MCP 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.
no license 5,823 installs ★ 1 updated 2025-10-07
claude mcp add --transport http clintrials-mcp https://clintrials-mcp--plainyogurt21.run.toolsWhat Clinical Trials Data Server 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.
What it helps with
- 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 for the agent
- 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
How to install Clinical Trials Data Server
Platform CLI: remote server
claude mcp add --transport http clintrials-mcp https://clintrials-mcp--plainyogurt21.run.toolsPlatform CLI: remote server
codex mcp add clinical-trials-data-server --url https://clintrials-mcp--plainyogurt21.run.toolsConfig file
{
"mcpServers": {
"clinical-trials-data-server": {
"url": "https://clintrials-mcp--plainyogurt21.run.tools"
}
}
}Config file
{
"servers": {
"clinical-trials-data-server": {
"type": "http",
"url": "https://clintrials-mcp--plainyogurt21.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http clinical-trials-data-server https://clintrials-mcp--plainyogurt21.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Clinical Trials Data Server
How do I install Clinical Trials Data Server in Claude Code?
Use one of two commands: claude mcp add --transport http clintrials-mcp https://clintrials-mcp--plainyogurt21.run.tools or claude mcp add --transport http clinical-trials-data-server https://clintrials-mcp--plainyogurt21.run.tools. The server connects and becomes available in Claude Code.
What does Clinical Trials Data Server do?
It provides access to ClinicalTrials.gov data. You can search trials by condition, intervention, sponsor, or NCT code; retrieve full details for each trial; and analyze distribution across phases and other fields.
Which deployment option should I choose?
AWS Lambda is free for the first million requests per month and takes 2 minutes to set up. Railway or Render are simpler if you want to avoid AWS. For local work, run python mcp_server.py after pip install -r requirements.txt.