clinicaltrials-database
Search ClinicalTrials.gov for Medical Research
Also available from: davila7
Finding relevant clinical trials requires searching a large registry database. This skill provides a Python interface to query ClinicalTrials.gov API v2 to search trials by condition, drug, location, or sponsor and retrieve detailed study information.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "clinicaltrials-database". Find breast cancer trials recruiting in California
Expected outcome:
- Found 47 recruiting breast cancer trials in California
- NCT04852770: Phase 3 Study of Pembrolizumab - Los Angeles, CA
- NCT05123482: Phase 2 Immunotherapy Trial - San Francisco, CA
- NCT04911071: Targeted Therapy Study - San Diego, CA
Using "clinicaltrials-database". Show me Phase 3 immunotherapy trials for lung cancer
Expected outcome:
- Found 23 Phase 3 immunotherapy trials for lung cancer
- Key sponsors: National Cancer Institute, Pfizer, Bristol-Myers Squibb
- Locations: 15 trials in US, 8 international
Security Audit
SafeAll 249 static findings are FALSE POSITIVES. The scanner misinterpreted markdown documentation syntax as executable code with security implications. The actual skill code (scripts/query_clinicaltrials.py) makes only legitimate HTTP GET requests to the ClinicalTrials.gov public API. No command execution, file operations, cryptographic operations, or suspicious network activity exists in the executable code. The skill is a simple data lookup tool for clinical research.
Risk Factors
⚙️ External commands (4)
🌐 Network access (4)
📁 Filesystem access (2)
Quality Score
What You Can Build
Analyze trial landscapes
Search for trials by condition to understand research trends, funding sources, and study designs.
Find patient options
Locate recruiting trials for patients based on diagnosis, location, and eligibility requirements.
Track drug development
Monitor trials for specific drugs or interventions across phases and sponsors.
Try These Prompts
Find clinical trials for [condition] that are currently recruiting participants.
Search for [intervention] trials in [location] that are in Phase 2 or Phase 3.
Get detailed information about trial NCT[ID] including eligibility criteria and contact information.
Find all [condition] trials sponsored by [organization] and export the results to CSV.
Best Practices
- Respect the API rate limit of 50 requests per minute by using max page size (1000) for bulk queries.
- Always check for missing data using .get() methods since not all trials have complete information.
- Implement retry logic with exponential backoff to handle rate limit (429) errors gracefully.
Avoid
- Making sequential single requests instead of using pagination with maximum page size.
- Assuming all trials have results - check the 'hasResults' field before accessing results sections.
- Ignoring the study status when searching - filter for RECRUITING to find actively enrolling trials.