Best for
- Clinical researchers
- Healthcare professionals
- Patient navigators
- AI agents needing access to clinical trial data
This server provides a comprehensive set of tools to query ClinicalTrials.gov, including advanced search, patient matching, and study results extraction. It is well-designed with clear documentation and supports both transports, making it versatile for various MCP clients.
Strongest · Documentation 15/20 Weakest · Reliability 8/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Bun 1.3.0+ · Node.js 24+ · Hosted (no local runtime)
CT_API_BASE_URL
Base URL of the ClinicalTrials.gov API; defaults to https://clinicaltrials.gov/api/v2, usually no change needed.
CT_REQUEST_TIMEOUT_MS
Per-request timeout in milliseconds; default 30000.
CT_MAX_PAGE_SIZE
Maximum page size cap; default 200.
MCP_TRANSPORT_TYPE
Transport type: stdio or http; default stdio.
MCP_HTTP_HOST
HTTP server hostname; default 127.0.0.1.
MCP_HTTP_PORT
HTTP server port; default 3010.
MCP_HTTP_ENDPOINT_PATH
MCP endpoint path; default /mcp.
MCP_AUTH_MODE
HTTP auth mode: none, jwt, or oauth; default none.
MCP_LOG_LEVEL
Minimum log level (RFC 5424), e.g. debug, info, warn; default info.
LOGS_DIR
Directory for log files (Node.js only); defaults to <project-root>/logs.
OTEL_ENABLED
Enable OpenTelemetry tracing; default false.
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": [
"clinicaltrialsgov-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"clinicaltrialsgov-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": [
"clinicaltrialsgov-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add clinicaltrialsgov-mcp-server -e MCP_TRANSPORT_TYPE=stdio -- bunx clinicaltrialsgov-mcp-server@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting the client, confirm the seven tools including clinicaltrials_search_studies appear in the tool list; then ask something like 'search for recruiting diabetes trials' — a returned study list confirms the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
clinicaltrialsgov-mcp-server is an MCP server that provides seven tools for searching clinical trials on ClinicalTrials.gov, fetching study records and results, getting study counts, exploring field values, browsing the data model, and matching patients to recruiting trials based on demographics and conditions. It supports both stdio and Streamable HTTP transports and requires no API keys. The server is built on @cyanheads/mcp-ts-core, offering declarative tool definitions, unified error handling, structured logging, and optional observability.
Manage your Hevy workout data from AI assistants via MCP.
Firecrawl's official MCP server for web search, scraping, and structured extraction for AI agents
One binary. One grammar. Evidence from the biomedical sources you already trust.
Encrypted, fully offline long-term memory for AI agents
Source revision 974b6cccacb8 Data synced 2026-10-19 Read the FMRS scoring method