๐ Enable AI assistants to search and access ClinicalTrials.gov data through a simple MCP interface.
{
"mcpServers": {
"clinicaltrials-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
๐ Enable AI assistants to search and access ClinicalTrials.gov data through a simple MCP interface.
Is it safe?
No package registry to scan.
No authentication โ any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 364 days ago. 15 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience โ it helps other developers decide.
Sign in to write a review.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
FHIR MCP Server โ helping you expose any FHIR Server or API as a MCP Server.
DataOps Kafka MCP server with consumer lag diagnosis and broker monitoring
A Model Context Protocol (MCP) server providing AI assistants with access to healthcare data and medical information tools, including FDA drug info, PubMed, medRxiv, NCBI Bookshelf, clinical trials, ICD-10, DICOM metadata, and a medical calculator.
MCP Security Weekly
Get CVE alerts and security updates for ClinicalTrials MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
๐ Enable AI assistants to search and access ClinicalTrials.gov data through a simple MCP interface.
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.
๐ค Contribute โข ๐ Report Bug
To install ClinicalTrials Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli@latest install ClinicalTrials-mcp-server --client claude --config "{}"
Paste the following into Settings โ Cursor Settings โ MCP โ Add new server:
npx -y @smithery/cli@latest run ClinicalTrials-mcp-server --client cursor --config "{}"
npx -y @smithery/cli@latest install ClinicalTrials-mcp-server --client windsurf --config "{}"
npx -y @smithery/cli@latest install ClinicalTrials-mcp-server --client cline --config "{}"
Install using uv:
uv tool install ClinicalTrials-mcp-server
For development:
# Clone and set up development environment
git clone https://github.com/JackKuo666/ClinicalTrials-MCP-Server.git
cd ClinicalTrials-MCP-Server
# Create and activate virtual environment
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
Start the MCP server:
python clinical_trials_server.py
Once the server is running, you can use the provided MCP tools in your AI assistant or application. Here are some examples of how to use the tools:
result = await mcp.use_tool("search_clinical_trials_and_save_studies_to_csv", {
"search_expr": "COVID-19 vaccine efficacy",
"max_studies": 5
})
print(result)
result = await mcp.use_tool("get_studies_by_keyword", {
"keyword": "diabetes",
"max_studies": 10
})
print(result)
result = await mcp.use_tool("get_full_study_details", {
"nct_id": "NCT04280705"
})
print(result)
result = await mcp.use_tool("search_clinical_trials_and_save_studies_to_csv", {
"search_expr": "alzheimer",
"max_studies": 20,
"filename": "alzheimer_studies.csv",
"fields": ["NCT Number", "Study Title", "Brief Summary", "Conditions"]
})
print(result)
These examples demonstrate how to use the main tools provided by the ClinicalTrials MCP Server. Adjust the parameters as needed for your specific use case.
The ClinicalTrials MCP Server provides the following tools:
Search for clinical trials using a search expression and save the results to a CSV file.
Parameters:
search_expr (str): Search expression (e.g., "Coronavirus+COVID")max_studies (int, optional): Maximum number of studies to return (default: 10)save_csv (bool, optional): Whether to