clinicaltrials-database

Search ClinicalTrials.gov API v2 for trials and retrieve study records by NCT ID.

21|2|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill clinicaltrials-database-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinicaltrials-database
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/clinicaltrials-database
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill clinicaltrials-database-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the friction of manually searching ClinicalTrials.gov by letting you programmatically find trials by condition, intervention, location, sponsor, status, and phase, then retrieve full study details for analysis or patient matching.

Core Features & Use Cases

  • Targeted Trial Search (API v2): Finds studies using condition, intervention, geographic location, sponsor, and status/phase filters, supporting JSON and CSV outputs.
  • NCT ID Details Retrieval: Fetches comprehensive trial information for a specific study, including eligibility, contacts, locations, outcomes, and more.
  • Bulk Retrieval and Export: Handles pagination to retrieve large result sets and exports results to CSV for spreadsheets, reporting, or downstream analysis.
  • Use Case: Search for recruiting immunotherapy trials for lung cancer in California, review eligibility for the top matching NCT IDs, and export the results to CSV for a shortlist and further screening.

Quick Start

Use the clinicaltrials-database skill to query recruiting trials for lung cancer in California and return the matching study list with key fields.

Frequently Asked Questions about clinicaltrials-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search ClinicalTrials.gov for recruiting trials by condition and location?

You can search ClinicalTrials.gov by constructing API v2 queries using parameters like query.cond for conditions and query.locn for locations, filtering results by recruiting status to find relevant clinical trials.

Can I retrieve full clinical trial details using an NCT ID?

Yes, you can retrieve comprehensive clinical trial details by passing an NCT ID to the API. This fetches the full study record, including eligibility criteria, contacts, locations, and outcome measures.

How do I export clinical trial search results to CSV?

You can export clinical trial search results to CSV by configuring the API v2 response format. The skill handles pagination to retrieve large result sets and formats the structured fields for spreadsheet analysis.

What parameters are needed to find clinical trials matching specific eligibility criteria?

To match clinical trials to eligibility criteria, you need to construct API v2 queries using parameters like query.cond for conditions, query.intr for interventions, and filter.phase or filter.overallStatus to narrow the study pool.

How do I track clinical trials by sponsor using the ClinicalTrials.gov API?

You can track clinical trials by sponsor by using the query.spons parameter in your API v2 request. This allows you to retrieve studies associated with a specific sponsor and export the data for monitoring.

Are there limits when retrieving bulk clinical trial data from ClinicalTrials.gov?

When retrieving bulk clinical trial data, you must handle API v2 pagination constraints to ensure complete dataset extraction. Properly structuring query parameters and pagination tokens is required for reliable large-scale exports.