io.github.cyanheads/clinicaltrialsgov-mcp-server

io.github.cyanheads/clinicaltrialsgov-mcp-server

Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "clinicaltrialsgov-mcp-server@2.11.1"
      ],
      "env": {
        "CT_API_BASE_URL": "https://clinicaltrials.gov/api/v2",
        "CT_REQUEST_TIMEOUT_MS": "30000",
        "CT_MAX_PAGE_SIZE": "200",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
Environment variables
  • CT_API_BASE_URLClinicalTrials.gov API base URL.
  • CT_REQUEST_TIMEOUT_MSPer-request timeout in milliseconds; a positive integer.
  • CT_MAX_PAGE_SIZEMost studies one clinicaltrials_search_studies page returns; an integer of at least 1, values above 1000 clamp to 1000.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.11.1
Registry
active
Published
11/4/2026

Remotes

  • streamable-httphttps://clinicaltrials.caseyjhand.com/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.cyanheads/clinicaltrialsgov-mcp-server is listed here — it’s also the link we check for a free listing.

io.github.cyanheads/clinicaltrialsgov-mcp-server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-cyanheads-clinicaltrialsgov-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.cyanheads/clinicaltrialsgov-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.cyanheads/clinicaltrialsgov-mcp-server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-cyanheads-clinicaltrialsgov-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.