ClinicalTrials-MCP-Server

ClinicalTrials-MCP-Server

4

The ClinicalTrials MCP Server provides a model context protocol interface for AI assistants to access and search data from ClinicalTrials.gov. It supports trial search, metadata retrieval, and CSV management, facilitating health sciences research and analysis.

ClinicalTrials MCP Server

Enable AI assistants to search and access ClinicalTrials.gov data through a simple MCP interface.

Core Features

  • Trial Search: Query clinical trials with custom search strings or advanced search parameters
  • Efficient Retrieval: Fast access to trial metadata
  • Metadata Access: Retrieve detailed metadata for specific trials using NCT ID
  • Research Support: Facilitate health sciences research and analysis
  • CSV Management: Save, load, and list CSV files with trial data
  • Local Storage: Trials are saved locally for faster access
  • Statistics: Get statistics about clinical trials

Quick Start

Installing via Smithery

To install, use the Smithery CLI with the relevant client configuration provided.

Usage

Start the MCP server to use the provided tools in your AI assistant or application.

MCP Tools

  • Search clinical trials and save to CSV
  • Get full study details
  • Get studies by keyword
  • Get study statistics
  • Load CSV data
  • List saved CSV files

Dependencies

  • Python 3.10+
  • FastMCP
  • pytrials
  • pandas

Contributing

Contributions are welcome through Pull Requests.

License

This project is licensed under the MIT License.

Disclaimer

This tool is for research purposes only. Please respect ClinicalTrials.gov's terms of service and use this tool responsibly.