Trial¶
Use trial commands to search and inspect clinical studies with oncology-focused filters.
Trial command model¶
search trialfinds candidate studies.get trial <NCT_ID>retrieves a specific study.- positional sections expand details.
Search trials (default source)¶
ClinicalTrials.gov is the default source.
Add intervention and phase filters:
Add biomarker filters:
biomcp search trial -c melanoma --mutation "BRAF V600E" --limit 5
biomcp search trial -c melanoma --biomarker BRAF --limit 5
Geographic filtering:
When geo filters are set, the search query summary includes lat, lon, and distance.
Prior-therapy filters:
biomcp search trial -c melanoma --prior-therapies platinum --limit 5
biomcp search trial -c melanoma --line-of-therapy 2L --limit 5
Search trials (NCI source)¶
Use NCI CTS when you want the shared BioMCP trial CLI to target the NCI trial catalog instead of ClinicalTrials.gov.
--condition remains the NCI entry point. BioMCP first tries to ground the
condition through MyDisease and, when the best match has an NCI Thesaurus
cross-reference, sends diseases.nci_thesaurus_concept_id=<C-code>. When no
grounded NCI ID is available, BioMCP falls back to CTS keyword=<text>.
There is no separate NCI keyword flag in this ticket.
NCI status handling is source-specific. Use one normalized status at a time:
recruitingmaps to CTSsites.recruitment_status=ACTIVEnot yet recruiting,enrolling by invitation,active, not recruiting,completed,suspended,terminated, andwithdrawnmap to the closest documented CTS lifecycle or site-status value- comma-separated status lists are rejected for
--source nci
NCI phase handling is also source-specific:
1,2,3, and4map to CTSI,II,III, andIV1/2maps to CTSI_IINAstaysNAearly_phase1is rejected for--source nci
NCI geographic filtering is direct CTS filtering rather than CTGov's
geo-verify mode. When --lat, --lon, and --distance are all present,
BioMCP sends sites.org_coordinates_lat, sites.org_coordinates_lon, and
sites.org_coordinates_dist=<N>mi.
For higher limits and reliable authenticated access, set NCI_API_KEY.
Get a trial by NCT ID¶
The default response summarizes title, status, condition context, and source metadata.
Request trial sections¶
Eligibility:
Locations:
Outcomes:
Arms/interventions:
References:
All sections where supported:
Helper commands¶
There is no direct trial <helper> family. Use inbound pivots such as
biomcp gene trials <gene>, biomcp variant trials <id>,
biomcp drug trials <name>, or biomcp disease trials <name> when the anchor
entity is already known.
Downloaded text and cache¶
Large text blocks (for example, eligibility text) are cached in the BioMCP download area. This keeps repeated lookups responsive.
JSON mode¶
Practical tips¶
- Start broad on condition, then add intervention and biomarker filters.
- Keep limits low while tuning search criteria.
- Use
eligibilitysection only when you need raw criteria text.