io.github.cyanheads
clinicaltrialsgov-mcp-server
ClinicalTrials.gov MCP server. Search studies, retrieve results, match patients to eligible trials.
Hosted
communityknowledgeDeployment
Hosted
streamable-http
https://clinicaltrials.caseyjhand.com/mcpPackage Details
clinicaltrialsgov-mcp-server
Transportstdio
Runtimebun
Package Arguments
Positional
Position 0
runPosition 1
start:stdioEnvironment Variables
CT_API_BASE_URL(str)
Default:
https://clinicaltrials.gov/api/v2ClinicalTrials.gov API base URL.
CT_REQUEST_TIMEOUT_MS(str)
Default:
30000Per-request timeout in milliseconds.
CT_MAX_PAGE_SIZE(str)
Default:
200Maximum page size cap.
CT_MAX_ELIGIBLE_CANDIDATES(str)
Default:
100Max studies to evaluate in find_eligible.
MCP_LOG_LEVEL(str)
Default:
infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
clinicaltrialsgov-mcp-server
TransportStreamable HTTP
Runtimebun
Package Arguments
Positional
Position 0
runPosition 1
start:httpEnvironment Variables
CT_API_BASE_URL(str)
Default:
https://clinicaltrials.gov/api/v2ClinicalTrials.gov API base URL.
CT_REQUEST_TIMEOUT_MS(str)
Default:
30000Per-request timeout in milliseconds.
CT_MAX_PAGE_SIZE(str)
Default:
200Maximum page size cap.
CT_MAX_ELIGIBLE_CANDIDATES(str)
Default:
100Max studies to evaluate in find_eligible.
MCP_HTTP_HOST(str)
Default:
127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORT(str)
Default:
3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATH(str)
Default:
/mcpThe endpoint path for the MCP server.
MCP_AUTH_MODE(str)
Default:
noneAuthentication mode to use: 'none', 'jwt', or 'oauth'.
MCP_LOG_LEVEL(str)
Default:
infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').