clinicaltrialsgov-mcp-server

clinicaltrialsgov-mcp-server

3.3

If you are the rightful owner of clinicaltrialsgov-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The ClinicalTrials.gov MCP Server provides a developer-friendly interface to interact with the official ClinicalTrials.gov database, enabling AI agents to search, retrieve, and analyze clinical study data programmatically.

The ClinicalTrials.gov MCP Server acts as a bridge, allowing applications that understand the Model Context Protocol (MCP) to interact directly and efficiently with the official ClinicalTrials.gov database. This server automates clinical research workflows by enabling the search for clinical trials, fetching detailed study metadata, and analyzing trial characteristics programmatically. It provides comprehensive trial data, including study protocols, eligibility criteria, outcomes, sponsors, and locations, all accessible without leaving the host application. The server is built on the robust mcp-ts-template, ensuring a standardized, secure, and efficient way to expose ClinicalTrials.gov functionality via the MCP standard. By integrating with the official ClinicalTrials.gov v2 API, it ensures compliance with rate limits and provides comprehensive error handling. This server is ideal for integrating clinical trial data into AI-driven research, supporting evidence-based decision-making, and facilitating regulatory and compliance workflows.

Features

  • Logging: Structured, configurable logging with sensitive data redaction.
  • Error Handling: Centralized error processing with standardized error types.
  • Configuration: Environment variable loading with comprehensive validation.
  • Type Safety: Strong typing enforced by TypeScript and Zod schemas.
  • Official API Integration: Comprehensive access to ClinicalTrials.gov v2 API endpoints.

Tools

  1. clinicaltrials_list_studies

    Searches for clinical studies using queries, filters, and pagination.

  2. clinicaltrials_get_study

    Fetches detailed information for a single study by NCT number.