clinicaltrialsgov-mcp-server
This MCP server enables agents to search over 600,000 studies on ClinicalTrials.gov, fetch full study records and posted results, and match patient profiles to eligible recruiting trials. It supports STDIO or Streamable HTTP connections and requires no API key.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search studies with full-text and field-specific queries
- Fetch full study records and posted results by NCT ID
- Match patient demographics to candidate recruiting trials
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
clinicaltrialsgov-mcp-server 2.10.2
{
"version": "2.10.2",
"transport": "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; a positive integer."
},
{
"name": "CT_MAX_PAGE_SIZE",
"format": "string",
"default": "200",
"description": "Most studies one clinicaltrials_search_studies page returns; an integer of at least 1, values above 1000 clamp to 1000."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "npx",
"args": [
"-y",
"clinicaltrialsgov-mcp-server@2.10.2"
],
"env": {
"CT_API_BASE_URL": "<YOUR_CT_API_BASE_URL>",
"CT_REQUEST_TIMEOUT_MS": "<YOUR_CT_REQUEST_TIMEOUT_MS>",
"CT_MAX_PAGE_SIZE": "<YOUR_CT_MAX_PAGE_SIZE>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "npx",
"args": [
"-y",
"clinicaltrialsgov-mcp-server@2.10.2"
],
"env": {
"CT_API_BASE_URL": "<YOUR_CT_API_BASE_URL>",
"CT_REQUEST_TIMEOUT_MS": "<YOUR_CT_REQUEST_TIMEOUT_MS>",
"CT_MAX_PAGE_SIZE": "<YOUR_CT_MAX_PAGE_SIZE>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"clinicaltrialsgov-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"clinicaltrialsgov-mcp-server@2.10.2"
],
"env": {
"CT_API_BASE_URL": "<YOUR_CT_API_BASE_URL>",
"CT_REQUEST_TIMEOUT_MS": "<YOUR_CT_REQUEST_TIMEOUT_MS>",
"CT_MAX_PAGE_SIZE": "<YOUR_CT_MAX_PAGE_SIZE>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "npx",
"args": [
"-y",
"clinicaltrialsgov-mcp-server@2.10.2"
],
"env": {
"CT_API_BASE_URL": "<YOUR_CT_API_BASE_URL>",
"CT_REQUEST_TIMEOUT_MS": "<YOUR_CT_REQUEST_TIMEOUT_MS>",
"CT_MAX_PAGE_SIZE": "<YOUR_CT_MAX_PAGE_SIZE>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like clinicaltrialsgov-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.