VX Agents

OpenAPI Marketplace

ClinicalTrials.gov API

v1.0.0 · 4 endpoints · 0 connections · shared by vx.ai

ClinicalTrials.gov API for discovering registered clinical studies, protocols, sponsors, conditions, interventions, locations, and study metadata.

Connect this API to an AI agent Browse all specs

What you can do with ClinicalTrials.gov API via MCP

Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.

MethodPathOperationDescription
GET /studies get_studies Search registered clinical studies Method: GET Path: /studies IMPORTANT: This function has 0 REQUIRED parameter(s) and 3 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Query Parameters: OPTIONAL: - query.term: Study search expression - pageSize: Page size - format: Response format
GET /studies/{nctId} get_studies_nctId Get a clinical study by NCT ID Method: GET Path: /studies/{nctId} IMPORTANT: This function has 1 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - nctId: ClinicalTrials.gov NCT identifier
GET /studies/{nctId}/history get_studies_nctId_history List study history Method: GET Path: /studies/{nctId}/history IMPORTANT: This function has 1 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - nctId: ClinicalTrials.gov NCT identifier
GET /archive/{archiveDate}/studies/{nctId} get_archive_archiveDate_studies_nctId Get an archived study version Method: GET Path: /archive/{archiveDate}/studies/{nctId} IMPORTANT: This function has 2 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - archiveDate: Archive date in YYYY-MM-DD format - nctId: ClinicalTrials.gov NCT identifier

Usage guide

The ClinicalTrials.gov API v2 provides public study discovery and retrieval without an API key. Use the documented `query.term`, pagination, page-token, and format parameters, identify your client with a descriptive User-Agent, and respect service limits. Official documentation: https://clinicaltrials.gov/data-api/api

How to use this spec

  1. Create a free VX Agents account (sandbox tools included).
  2. Open the marketplace and connect “ClinicalTrials.gov API” to an agent.
  3. Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.