Clinicaltrials logo

Clinicaltrials

Searches, analyzes, and retrieves structured clinical-trial data from the free ClinicalTrials.gov API without authentication.

Install Clinicaltrials

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "clinicaltrials": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-clinicaltrials"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Clinicaltrials MCP server exposes ClinicalTrials.gov’s public API through tools for searching studies, retrieving NCT records, analyzing sponsors, and tracking registry activity. It supports filters for conditions, interventions, phases, recruitment status, locations, dates, and sponsors, with outputs covering protocol details, results, enrollment, and study metadata. Use it for clinical-trial research, sponsor and pipeline analysis, local study discovery, and registry-based development questions. The integration is unofficial, free to use, and does not require API authentication.

Use cases

  • Search for trials studying a disease, drug, or therapy
  • Retrieve a complete study record by NCT ID
  • Compare named sponsors under identical trial filters
  • Find recruiting studies near a city, region, or coordinate
  • Track registrations, updates, results, and completion dates

Key features

  • ClinicalTrials.gov API v2 access
  • NCT-based study retrieval
  • Condition, phase, status, sponsor, and location filters
  • Sponsor portfolio and competitive-landscape analysis
  • Registry activity and results tracking
  • Phase-transition and enrollment analysis

Tools14

What Clinicaltrials lets your agent do. Expand a tool for its parameters.

Verified live~4.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-clinicaltrials (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads771Package downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Tools exposed14Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Clinicaltrials works

What Clinicaltrials MCP server does

Clinicaltrials MCP server connects AI agents to the NIH-operated ClinicalTrials.gov public registry through its API v2. The registry contains clinical studies across phases 1–4, conditions, interventions, sponsors, locations, and post-market safety surveillance. The integration is independent and unofficial; it is not published or endorsed by ClinicalTrials.gov.

The core search flow uses ct_search to find studies by keyword, condition, drug or therapy, status, phase, or a named trial. Results include NCT identifiers, titles, recruitment status, enrollment, and sponsor information. ct_get_study retrieves a complete record for a known NCT ID, including protocol details, eligibility criteria, outcomes, locations, and posted results.

How it works

The server translates MCP tool calls into ClinicalTrials.gov API queries and returns structured study data. NCT IDs provide stable references for individual records, and the documented canonical URI format is pipeworx://clinicaltrials/study/{nct_id}.

Several tools support analysis across registry records. ct_count_by_condition groups trial counts by status and phase. ct_sponsor_trials lists studies for a registered lead sponsor, while ct_compare_sponsors compares two to five named sponsors under matching filters. ct_sponsor_pipeline summarizes a sponsor’s portfolio, and ct_competitive_landscape maps registered interventional studies across sponsors, phases, statuses, and interventions.

Time- and location-based tools cover different research workflows. ct_recent_updates distinguishes study edits, first registrations, and first-posted results within date ranges. ct_trials_by_location finds studies near a named place or coordinates, defaulting to recruiting status. ct_catalyst_calendar finds sponsor-entered completion dates. ct_sponsor_activity tracks a sponsor’s registrations, result postings, or updates.

Tools and capabilities

  • ct_enrollment_watch identifies active trials for enrollment follow-up using registry fields and site counts.
  • ct_results_summary summarizes registered endpoints, outcome measures, analyses, and adverse-event groups for one study.
  • ct_phase_transition_rates estimates registry-derived Phase 1-to-2 and Phase 2-to-3 transitions and compares them with a BIO/Informa/QLS benchmark.
  • Sponsor filters normally use the registered lead-sponsor field; an optional collaborator-inclusive mode is available where supported.
  • Counts and comparisons can be constrained by condition, status, phase, intervention, sponsor, date, or location.

Limitations and notes

Clinicaltrials MCP server reports registry data, not independent medical or investment conclusions. Sponsor counts describe registered lead sponsorship and do not prove drug ownership, pipeline value, scientific differentiation, or likelihood of success. Registry completion dates may be estimated or revised, so they are planning signals rather than confirmed readouts, presentations, or regulatory events.

The phase-transition tool counts trial existence and observed registry progression, not efficacy, approval, or technical success. It reconstructs interventions from free-text names and applies censoring rules; combination regimens and common background therapies can affect the results. It returns insufficient-data status instead of a rate when fewer than ten eligible interventions are available.

A completed study does not necessarily have posted results, and many studies that publish in journals may not post results in the registry. Sponsor-name variations can change counts, while phase 2/3 studies may match both phases.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Clinicaltrials

Clinicaltrials is an MCP server that connects AI agents to the free, public ClinicalTrials.gov API v2. Its main tools search trials with ct_search, retrieve complete NCT records with ct_get_study, and analyze counts, sponsors, locations, updates, results, enrollment, and phase transitions without requiring authentication.

It identifies the repository and API integration, but setup instructions are not included in the available documentation.

No, Clinicaltrials uses the free ClinicalTrials.gov API and does not require authentication. The server queries the public registry and exposes the returned data through MCP tools.

Use ct_trials_by_location with a condition and a city, state, or country, or provide latitude, longitude, and a radius. The tool defaults to recruiting studies and returns matching NCT IDs, titles, statuses, phases, conditions, and sponsors.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClinicaltrials AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/clinicaltrials?style=directory)](https://allmcps.com/mcp/clinicaltrials)
HTML Embed
<a href="https://allmcps.com/mcp/clinicaltrials"><img src="https://allmcps.com/api/badge/clinicaltrials?style=directory" alt="Clinicaltrials on AllMCPs" /></a>