mcpbeat

Clinicaltrialsgov MCP Server

io.github.cyanheads/clinicaltrialsgov-mcp-server
answering

Clinicaltrialsgov MCP Server is answering right now. Last checked moments ago. 987 installs a week from npm. It exposes 7 tools. Last commit 26 Jul 2026.

Search ClinicalTrials.gov — find studies, retrieve results, match patients to eligible trials.

Installs per day peak 686 · avg 158 · -32% w/w
a month agotoday
Uptime history 43 hours of history · worst hour 75%
43 hours agonow
100.0%
Uptime 24h
92 of 92 checks
7
Tools
read from the server
371 ms
Response time
average over 24h
987
Installs / week
npm and PyPI

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 0 min ago.

run in your terminal
claude mcp add clinicaltrialsgov-mcp-server --transport http https://clinicaltrials.caseyjhand.com/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "url": "https://clinicaltrials.caseyjhand.com/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.clinicaltrialsgov-mcp-server]
url = "https://clinicaltrials.caseyjhand.com/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "url": "https://clinicaltrials.caseyjhand.com/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "clinicaltrialsgov-mcp-server": {
      "url": "https://clinicaltrials.caseyjhand.com/mcp"
    }
  }
}

Available tools 7

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

clinicaltrials
clinicaltrials_find_eligible
Match patient demographics and conditions to eligible recruiting clinical trials. Provide age, sex, conditions, and location to find studies with matching eligibility criteria, contact information, and recruiting locations. Results are re-ranked so studies whose own condition matches a requested condition surface above tangential matches from ClinicalTrials.gov's fuzzy condition search.
clinicaltrials_get_field_definitions
Resolve valid field names from the ClinicalTrials.gov data model — the canonical PascalCase identifiers (OverallStatus, EnrollmentCount, LeadSponsorName) accepted by the `fields`, `advancedFilter`, and `sort` parameters of other tools, and as input to clinicaltrials_get_field_values. Select a mode: `"search"` — keyword search returning ranked matches (pass `query`, e.g. "enrollment", "sponsor", "adverse events"); `"drill"` — drill into a specific section by dot-notation path (pass `path`, e.g. "protocolSection.designModule"); `"overview"` — top-level summary of all sections (no additional args).
clinicaltrials_get_field_values
Discover valid values for ClinicalTrials.gov fields with study counts per value. Use to explore available filter options before building a search — e.g., valid OverallStatus, Phase, InterventionType, StudyType, or LeadSponsorClass values.
clinicaltrials_get_study_count
Get total clinical trial study count from ClinicalTrials.gov matching a query, without fetching study data. Fast and lightweight. Use for quick statistics or to build breakdowns by calling multiple times with different filters (e.g., count by phase, count by status, count recruiting vs completed for a condition).
clinicaltrials_get_study_record
Fetch a single clinical trial study by NCT ID from ClinicalTrials.gov. Returns the full study record including protocol details, eligibility criteria, outcomes, arms, interventions, contacts, and locations. Optional locationLimit / outcomeLimit / referenceLimit / nearLocation parameters trim locations, outcomes, and references — original totals are preserved in `filtersApplied` only when a cap actually trims the set.
clinicaltrials_get_study_results
Fetch clinical trial results data from ClinicalTrials.gov for completed studies — outcome measures with statistics, adverse events, participant flow, baseline characteristics, and results metadata (limitations & caveats, certain-agreement disclosure restrictions, results point of contact). Only available for studies where hasResults is true. Use clinicaltrials_search_studies first to find studies with results.
clinicaltrials_search_studies
Search for clinical trial studies from ClinicalTrials.gov. Supports full-text and field-specific queries, status/phase/geographic filters, pagination, sorting, and field selection. Returns a compact per-study index by default; pass the fields parameter to get specific leaves at full fidelity — full study records are ~70KB each.

Endpoints

URLTransportStateLatencyChecked
https://clinicaltrials.caseyjhand.com/mcp streamable-http answering 168 ms 0 min ago

Clinicaltrialsgov MCP Server — questions

Answers built from our own checks of this server.

What can Clinicaltrialsgov MCP Server do?
It exposes 7 tools, read directly from the server on our last check. Among them: clinicaltrials_find_eligible, clinicaltrials_get_field_definitions, clinicaltrials_get_field_values, clinicaltrials_get_study_count, clinicaltrials_get_study_record, clinicaltrials_get_study_results and 1 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Clinicaltrialsgov MCP Server working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 92 of 92 checks got a reply (100.0%), average response time 371 ms. The bar chart above shows every period we have measured.
How do I connect Clinicaltrialsgov MCP Server?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Clinicaltrialsgov MCP Server need an API key?
No. Clinicaltrialsgov MCP Server completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 7 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Clinicaltrialsgov MCP Server?
It answers our handshake in 371 ms on average, which is faster than 37% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
How many people use Clinicaltrialsgov MCP Server?
The npm package clinicaltrialsgov-mcp-server was installed 987 times in the last week. Week over week that is -32%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Clinicaltrialsgov MCP Server open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript, 84 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.