Clinicaltrialsgov MCP Server
C

Clinicaltrialsgov MCP Server

The ClinicalTrials.gov MCP server is an interface service based on the Model Context Protocol that provides access to the official ClinicalTrials.gov database, supporting AI agents and LLMs to programmatically search, retrieve, and analyze clinical research data.
2.5 points
10.1K

What is the ClinicalTrials.gov MCP Server?

This is a server based on the Model Context Protocol (MCP) that allows AI assistants, research tools, etc., to directly access the official ClinicalTrials.gov database. Through this server, users can search for clinical trials, obtain detailed data, and conduct trend analysis.

How to use the ClinicalTrials.gov MCP Server?

Users can connect to this server by configuring an MCP client and then interact with the ClinicalTrials.gov database using predefined commands (such as searching for clinical trials and obtaining study details). The server supports multiple query methods, including keyword search, filtering conditions, and pagination.

Applicable Scenarios

Suitable for scenarios where medical researchers, AI assistants, data analysis tools, etc., need to access clinical trial data. For example: searching for studies on specific diseases, obtaining detailed study information, and analyzing study trends.

Main Features

Clinical Trial Search
Supports searching for clinical trials by keywords, conditions, locations, titles, etc., and allows setting filtering conditions (such as study status and geographical distance).
Study Details Retrieval
Can obtain detailed information about single or multiple studies based on the NCT ID, including study design, results, sponsors, etc.
Trend Analysis
Conducts statistical analysis on a set of studies, aggregating by status, country, sponsor, or phase to help discover study trends.
Data Filtering
Supports selecting specific fields to return, reducing the amount of data and improving efficiency.
Pagination Support
When dealing with a large number of results, supports paginated browsing to avoid loading too much data at once.
Advantages
Simplifies the interaction process with the ClinicalTrials.gov database
Supports multiple query methods, offering high flexibility
Provides detailed data structures, facilitating development and analysis
Built - in error handling and logging, making it easy to maintain
Limitations
Requires configuring an MCP client to use
Initial setup may be complex for non - technical users
Some advanced features may require additional permissions or authentication

How to Use

Install the Server
Install the ClinicalTrials.gov MCP server using npm or build it from the source code.
Configure Environment Variables
Set the necessary environment variables, such as MCP_LOG_LEVEL, MCP_AUTH_SECRET_KEY, etc.
Start the Server
Run the npm start command to start the MCP server.
Connect the MCP Client
Configure the server address and authentication information in the MCP client and start using the service.

Usage Examples

Search for Cancer - Related Clinical Trials
Users want to find clinical trials related to lung cancer. They use the keyword 'lung cancer' to search and filter out ongoing studies.
Obtain Detailed Information about a Specific Study
Users want to obtain detailed information about the NCT03934567 study, including study design, number of participants, and results.
Analyze Study Trends
Users want to understand the distribution of the number of clinical trials in different countries in the past year.

Frequently Asked Questions

What do I need to use this server?
How to ensure data security?
Can I customize search parameters?
Does the server support Chinese?

Related Resources

ClinicalTrials.gov API Documentation
Official API documentation, including descriptions of all available endpoints and request formats.
MCP Protocol Specification
Official documentation for the Model Context Protocol (MCP), explaining protocol details and implementation methods.
GitHub Repository
The GitHub repository for this project, containing source code, examples, and development documentation.
Quick Start Guide
A detailed getting - started guide to help you quickly start using the MCP server.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": ["clinicaltrialsgov-mcp-server"],
      "env": {
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
10.4K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
8.9K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
14.7K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
6.7K
4 points
P
Paperbanana
Python
8.9K
5 points
F
Finlab Ai
FinLab AI is a quantitative financial analysis platform that helps users discover excess returns (alpha) in investment strategies through AI technology. It provides a rich dataset, backtesting framework, and strategy examples, supporting automated installation and integration into mainstream AI programming assistants.
9.7K
4 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
10.7K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
8.8K
5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
39.0K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
23.7K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
81.2K
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
28.2K
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
69.4K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
37.3K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
24.9K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
106.6K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase