Official server.json
{
"name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://clinicaltrials.caseyjhand.com/mcp",
"type": "streamable-http"
}
],
"version": "2.10.0",
"packages": [
{
"version": "2.10.0",
"transport": {
"type": "stdio"
},
"identifier": "clinicaltrialsgov-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "CT_API_BASE_URL",
"format": "string",
"default": "https://clinicaltrials.gov/api/v2",
"description": "ClinicalTrials.gov API base URL."
},
{
"name": "CT_REQUEST_TIMEOUT_MS",
"format": "string",
"default": "30000",
"description": "Per-request timeout in milliseconds."
},
{
"name": "CT_MAX_PAGE_SIZE",
"format": "string",
"default": "200",
"description": "Maximum page size cap."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
},
{
"version": "2.10.0",
"transport": {
"url": "http://localhost:3010/mcp",
"type": "streamable-http"
},
"identifier": "clinicaltrialsgov-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_TRANSPORT_TYPE",
"value": "http",
"format": "string",
"description": "Selects the HTTP transport."
},
{
"name": "CT_API_BASE_URL",
"format": "string",
"default": "https://clinicaltrials.gov/api/v2",
"description": "ClinicalTrials.gov API base URL."
},
{
"name": "CT_REQUEST_TIMEOUT_MS",
"format": "string",
"default": "30000",
"description": "Per-request timeout in milliseconds."
},
{
"name": "CT_MAX_PAGE_SIZE",
"format": "string",
"default": "200",
"description": "Maximum page size cap."
},
{
"name": "MCP_HTTP_HOST",
"format": "string",
"default": "127.0.0.1",
"description": "The hostname for the HTTP server."
},
{
"name": "MCP_HTTP_PORT",
"format": "string",
"default": "3010",
"description": "The port to run the HTTP server on."
},
{
"name": "MCP_HTTP_ENDPOINT_PATH",
"format": "string",
"default": "/mcp",
"description": "The endpoint path for the MCP server."
},
{
"name": "MCP_AUTH_MODE",
"format": "string",
"default": "none",
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}
],
"repository": {
"url": "https://github.com/cyanheads/clinicaltrialsgov-mcp-server",
"source": "github"
},
"description": "Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials."
}