What problem does it solve?
Searching ClinicalTrials.gov manually is slow and error-prone when you need specific trials by condition, intervention, phase, status, or location, plus eligibility details for patient matching.
Core Features & Use Cases
- Condition/intervention/phase/status search: Query ClinicalTrials.gov API v2 using the provided CLI wrapper to quickly identify relevant studies and trial landscapes.
- NCT-ID deep retrieval: Fetch full trial details or a targeted set of fields by NCT identifier without crafting raw queries.
- Eligibility extraction for matching: Pull inclusion/exclusion criteria and age/sex requirements to support clinical and recruiting workflows.
- Efficiency guardrails: Use
--fields, --count-total, and pagination to control large JSON responses and avoid unnecessary data transfer.
Quick Start
Use the clinical-trials-database skill to search for recruiting Phase 3 pediatric cystic fibrosis trials by running:
uv run scripts/clinical_trials_api.py search --condition "cystic fibrosis" --status RECRUITING --phase PHASE3 --age-group CHILD --fields "NCTId,BriefTitle,OverallStatus,Phase" --limit 10 --output /tmp/cf_trials.json