MCP Clinicaltrials
MCP server by pipeworx-io Verified · npm:@pipeworx
Searches and analyzes ClinicalTrials.gov through the Pipeworx gateway. It covers trial search, single-study records, sponsor portfolios and phase transition rates for drug development and clinical research.
Install MCP Clinicaltrials
Built from the published package, never by AI.
claude mcp add mcp-clinicaltrials -- npx -y @pipeworx/mcp-clinicaltrialsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-clinicaltrials": {
"args": [
"-y",
"@pipeworx/mcp-clinicaltrials"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-clinicaltrials": {
"args": [
"-y",
"@pipeworx/mcp-clinicaltrials"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-clinicaltrials": {
"args": [
"-y",
"@pipeworx/mcp-clinicaltrials"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-clinicaltrials -- npx -y @pipeworx/mcp-clinicaltrials{
"mcpServers": {
"mcp-clinicaltrials": {
"args": [
"-y",
"@pipeworx/mcp-clinicaltrials"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-clinicaltrials npx -y @pipeworx/mcp-clinicaltrialsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-clinicaltrials block.
About
MCP Clinicaltrials gives AI assistants access to ClinicalTrials.gov, the NIH-operated public registry of clinical trials. Its tools search studies by keyword, condition, drug, status and phase, fetch one study's full design and results, and count trials by condition or location. A sponsor-analytics set covers a sponsor's trials and compares sponsors head to head. Sponsor filters match the registered lead sponsor by default.
The server is a Pipeworx gateway pack, so calls go to a hosted endpoint. The same data can also be queried over HTTP without an MCP client. The phase transition rate tool derives rates from registry data. The source describes these as an upper bound on technical success, not a probability of approval. It suits anyone whose AI assistant answers questions about drug development, clinical research or medical product safety.
Written from the project's README and checked against it.
Tools it gives your assistant
ct_searchSearches studies by query, status, phase and other filters, returning NCT IDs, phase and status.ct_get_studyReturns the full structured record for one study, including protocol, results and references.ct_sponsor_trialsLists trials led by a sponsor, enumerated by phase and status.ct_compare_sponsorsRanks lead sponsors by trial counts under identical filters, with sample NCT records.ct_phase_transition_ratesEstimates how often a condition's interventions move from one phase to the next, with an audit list.
What you need
- An MCP client such as Claude Desktop, Cursor or Windsurf
- npx, to run the npm stdio bridge
- Internet access to the Pipeworx gateway
Try asking
- What Phase 2 GLP-1 trials are recruiting right now?
- Show the full design and results for NCT04280705.
- Compare recruiting Phase 3 obesity trials for Novo Nordisk and Eli Lilly.
Good to know
- Sponsor tools match the registered lead sponsor by default, not every trial a drug appears in.
- Phase transition rates count trial existence, so they are an upper bound, not an approval probability.
- Results appear only when they are posted on ClinicalTrials.gov.
- Pipeworx caches per-study responses for 24 hours.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Clinicaltrials
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
MCP Clinicaltrials: common questions
Does ClinicalTrials.gov require an API key?
The source says ClinicalTrials.gov is free and needs no auth. It also notes that the first HTTP calls through Pipeworx need no account.
Does the sponsor search include trials where a company is only a collaborator?
By default no. Sponsor tools match the registered lead sponsor, and the optional lead_or_collaborator setting adds trials that list the company as a collaborator.
Why might a phase transition rate differ from published benchmarks?
The registry-derived rate requires the next-phase trial to be publicly registered, so the source expects it to run below the published BIO benchmark.
How do I install MCP Clinicaltrials?
In Claude Code run claude mcp add mcp-clinicaltrials -- npx -y @pipeworx/mcp-clinicaltrials. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Clinicaltrials the official server?
MCP Clinicaltrials is published by npm:@pipeworx from its verified domain in the official MCP Registry.
Is MCP Clinicaltrials free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Clinicaltrials safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Clinicaltrials?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does MCP Clinicaltrials work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
