ClinicalTrials.gov migrated from legacy XML/v1 APIs to the structured v2 REST JSON schema. Query study arms, protocolSection eligibility, derivedSection annotations, and hasResults flags deterministically via airesearch_clinicaltrials_v2.
A single v2 study record in /api/v2/studies often spans 8 KB+ of nested protocolSection, derivedSection, and documentSection blocks. Our wrapper extracts the studies array deterministically, preserves nextPageToken for paginated sweeps, and pairs naturally with Europe PMC and NCBI PubMed ESummary XML when agents cross-reference trial NCT identifiers against published peer-reviewed outcomes.
Because active clinical trial recruitment status updates weekly, clinicaltrials_v2 pins its cross-tenant cache TTL to 7 days (604,800 seconds). Queries for rare indication combinations that yield an empty studies array return ok=true, empty=true, count=0, and billable_micros=0.
Primary upstream endpoint for clinicaltrials_v2: https://clinicaltrials.gov/api/v2/studies?query.term={term}&pageSize={page_size}. Empty-result guard: Return non-billable empty result if studies array is empty.
| Organ & MCP Tool | API & Subdomain | Protocol | Cache TTL | Live Probe | Verified Sample Fields |
|---|---|---|---|---|---|
clinicaltrials_v2MCP: airesearch_clinicaltrials_v2 | ClinicalTrials.gov Studies API v2 biomed_clinical | rest_json | 7d (604800s) | HTTP 200 (2099 ms) | studies, nextPageToken, studies[0].protocolSection, studies[0].derivedSection, studies[0].hasResults |
europe_pmc_articlesMCP: airesearch_europe_pmc_articles | Europe PMC Open Literature Search API academic_papers_citations | rest_json | 14d (1209600s) | HTTP 200 (14790 ms) | version, hitCount, nextCursorMark, nextPageUrl, request |
ncbi_pubmed_esummary_xmlMCP: airesearch_ncbi_pubmed_esummary_xml | NCBI PubMed E-utilities ESummary XML API biomed_clinical | xml | 30d (2592000s) | HTTP 200 (1609 ms) | root:eSummaryResult, DocSum, Id, PubDate, EPubDate |
Connect to https://devour-ai.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (JSON-RPC 2.0):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "airesearch_clinicaltrials_v2",
"arguments": {
"term": "oncology",
"page_size": 2
}
}
}
Or call the deterministic REST endpoint directly:
curl -sS -X POST https://devour-ai.fastmesh.dev/v1/organs/clinicaltrials_v2/invoke \
-H "Content-Type: application/json" \
-d '{"params": {"term": "oncology", "page_size": 2}}'
The public US NLM API v2 sustains roughly 50 requests/minute per IP without an API key; 7-day cross-tenant caching eliminates redundant trial lookups across agents.
No. It runs auth-free (auth_required: false) over HTTPS GET with pinned allowlisted host clinicaltrials.gov.