io.github.cyanheads/clinicaltrialsgov-mcp-server MCP Server
io.github.cyanheads/clinicaltrialsgov-mcp-server
What is the io.github.cyanheads/clinicaltrialsgov-mcp-server MCP server?
Search ClinicalTrials.gov — find studies, retrieve results, match patients to eligible trials.
How to install io.github.cyanheads/clinicaltrialsgov-mcp-server
Copy-paste configuration for popular MCP clients.
CT_API_BASE_URLClinicalTrials.gov API base URL.
CT_REQUEST_TIMEOUT_MSPer-request timeout in milliseconds.
CT_MAX_PAGE_SIZEMaximum page size cap.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
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'.
{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "bun",
"args": [
"-y",
"clinicaltrialsgov-mcp-server",
"run",
"start:stdio"
],
"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>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "bun",
"args": [
"-y",
"clinicaltrialsgov-mcp-server",
"run",
"start:stdio"
],
"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>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}{
"mcpServers": {
"clinicaltrialsgov-mcp-server": {
"command": "bun",
"args": [
"-y",
"clinicaltrialsgov-mcp-server",
"run",
"start:stdio"
],
"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>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}{
"servers": {
"clinicaltrialsgov-mcp-server": {
"type": "stdio",
"command": "bun",
"args": [
"-y",
"clinicaltrialsgov-mcp-server",
"run",
"start:stdio"
],
"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>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}claude mcp add clinicaltrialsgov-mcp-server --env CT_API_BASE_URL=<YOUR_CT_API_BASE_URL> --env CT_REQUEST_TIMEOUT_MS=<YOUR_CT_REQUEST_TIMEOUT_MS> --env CT_MAX_PAGE_SIZE=<YOUR_CT_MAX_PAGE_SIZE> --env MCP_LOG_LEVEL=<YOUR_MCP_LOG_LEVEL> --env MCP_HTTP_HOST=<YOUR_MCP_HTTP_HOST> --env MCP_HTTP_PORT=<YOUR_MCP_HTTP_PORT> --env MCP_HTTP_ENDPOINT_PATH=<YOUR_MCP_HTTP_ENDPOINT_PATH> --env MCP_AUTH_MODE=<YOUR_MCP_AUTH_MODE> -- bun -y clinicaltrialsgov-mcp-server run start:stdioRelated MCP servers
Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP.
io.github.cyanheads/git-mcp-server
Comprehensive Git MCP server with 28 tools for clone, commit, branching, merging, and advanced workflows.
Agent-native TypeScript framework for building MCP servers with declarative definitions.
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
Store, query, and create YAML workflow playbooks for LLM agents.