ClinicalTrials MCP Server logo

ClinicalTrials MCP Server

by JackKuo666

The ClinicalTrials MCP Server provides a bridge between AI assistants and ClinicalTrials.gov's clinical trial repository through the Model Context Protocol (MCP). It allows AI models to search for clinical trials and access their content in a programmatic way.

View on GitHub

Last updated: N/A

What is ClinicalTrials MCP Server?

The ClinicalTrials MCP Server is a tool that enables AI assistants to search and access data from ClinicalTrials.gov using the Model Context Protocol (MCP). It acts as an interface, allowing AI models to programmatically query and retrieve clinical trial information.

How to use ClinicalTrials MCP Server?

The server can be installed via Smithery or manually using uv. Once installed, start the server using python clinical_trials_server.py. You can then use the provided MCP tools within your AI assistant or application to search for trials, retrieve details, and manage CSV files containing trial data. Configuration examples are provided for Claude Desktop and Cline.

Key features of ClinicalTrials MCP Server

  • Trial Search with custom search strings

  • Efficient Retrieval of trial metadata

  • Detailed Metadata Access using NCT ID

  • Support for health sciences research and analysis

  • CSV Management: Save, load, and list CSV files

  • Local Storage for faster access

  • Statistics about clinical trials

Use cases of ClinicalTrials MCP Server

  • Assisting researchers in finding relevant clinical trials

  • Providing AI assistants with access to clinical trial data for answering user queries

  • Enabling programmatic analysis of clinical trial metadata

  • Facilitating the creation of AI-powered tools for healthcare professionals

FAQ from ClinicalTrials MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that allows AI models to interact with external tools and resources.

What is ClinicalTrials.gov?

ClinicalTrials.gov is a database of privately and publicly funded clinical studies conducted around the world.

How do I install the ClinicalTrials MCP Server?

You can install it via Smithery or manually using uv. Instructions for both methods are provided in the README.

What are the dependencies for this server?

The dependencies are Python 3.10+, FastMCP, pytrials, and pandas. You can install them using pip install FastMCP pytrials pandas.

Is this tool free to use?

Yes, this tool is licensed under the MIT License and is free to use for research purposes. However, please respect ClinicalTrials.gov's terms of service.