Clinicaltrialsgov MCP Server
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate…
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 2.11.3
- Listing updated
- 4 days ago
About Clinicaltrialsgov MCP Server
Clinicaltrialsgov MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.
Install
Run in a terminal
claude mcp add --transport http clinicaltrialsgov-mcp-server https://clinicaltrials.caseyjhand.com/mcpAdd to Settings → Connectors → Add custom connector
https://clinicaltrials.caseyjhand.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"url": "https://clinicaltrials.caseyjhand.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"clinicaltrialsgov-mcp-server": {
"type": "http",
"url": "https://clinicaltrials.caseyjhand.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"serverUrl": "https://clinicaltrials.caseyjhand.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"type": "http",
"url": "https://clinicaltrials.caseyjhand.com/mcp"
}
}
}Configuration
CT_API_BASE_URLClinicalTrials.gov API base URL.CT_REQUEST_TIMEOUT_MSTimeout in milliseconds for each attempt at a ClinicalTrials.gov request; a positive integer. An attempt ends sooner when its tool call or resource read runs out of its 50-second budget, which covers every request, retry, and wait the call makes.CT_MAX_PAGE_SIZEMost studies one clinicaltrials_search_studies page returns; an integer of at least 1, values above 1000 clamp to 1000.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').MCP_TRANSPORT_TYPESelects the HTTP transport.CT_API_BASE_URLClinicalTrials.gov API base URL.CT_REQUEST_TIMEOUT_MSTimeout in milliseconds for each attempt at a ClinicalTrials.gov request; a positive integer. An attempt ends sooner when its tool call or resource read runs out of its 50-second budget, which covers every request, retry, and wait the call makes.CT_MAX_PAGE_SIZEMost studies one clinicaltrials_search_studies page returns; an integer of at least 1, values above 1000 clamp to 1000.MCP_HTTP_HOSTThe hostname for the HTTP server.MCP_HTTP_PORTThe port to run the HTTP server on.MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Pricing
Open source
Clinicaltrialsgov MCP Server FAQ
Is Clinicaltrialsgov MCP Server free?
Yes. Clinicaltrialsgov MCP Server is open source, so you can use and self-host it for free.
How do I add Clinicaltrialsgov MCP Server to Claude Code?
Run this command in your terminal: claude mcp add --transport http clinicaltrialsgov-mcp-server https://clinicaltrials.caseyjhand.com/mcp