Biomedical & Clinical Trials • HTTP 200 Verified

ClinicalTrials.gov v2 JSON MCP Wrapper

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.

Gateway Runtime0-LLM Stdlib
Featured Organs3 Verified
Live Probe Avg6166 ms
Empty / Error Cost$0.00

Navigating ClinicalTrials.gov API v2 Schema Without Token Bloat

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.

7-Day Registry Freshness & Zero-Charge Empty Queries

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.

Live-Verified Organ Matrix & Schema Fields

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 ToolAPI & SubdomainProtocolCache TTLLive ProbeVerified Sample Fields
clinicaltrials_v2
MCP: airesearch_clinicaltrials_v2
ClinicalTrials.gov Studies API v2
biomed_clinical
rest_json7d (604800s)HTTP 200 (2099 ms)studies, nextPageToken, studies[0].protocolSection, studies[0].derivedSection, studies[0].hasResults
europe_pmc_articles
MCP: airesearch_europe_pmc_articles
Europe PMC Open Literature Search API
academic_papers_citations
rest_json14d (1209600s)HTTP 200 (14790 ms)version, hitCount, nextCursorMark, nextPageUrl, request
ncbi_pubmed_esummary_xml
MCP: airesearch_ncbi_pubmed_esummary_xml
NCBI PubMed E-utilities ESummary XML API
biomed_clinical
xml30d (2592000s)HTTP 200 (1609 ms)root:eSummaryResult, DocSum, Id, PubDate, EPubDate

Invoke via Streamable HTTP MCP or REST

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}}'

Technical FAQ

What rate limit does ClinicalTrials.gov v2 impose?

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.

Does clinicaltrials_v2 require an NLM API key?

No. It runs auth-free (auth_required: false) over HTTPS GET with pinned allowlisted host clinicaltrials.gov.

Related Research Organ Guides