io. github. cyanheads/ clinicaltrialsgov-mcp-server
by cyanheads · remote · local (npm) · no sign-in to list tools · v2.10.0 · published by GitHub user cyanheads
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.
7 tools: 7 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things0Claude Code: ask
- Only reads7Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http clinicaltrialsgov https://clinicaltrials.caseyjhand.com/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
7 tools
Only reads 7Claude Code: allow
clinicaltrials_find_eligibleFind candidate clinical trials for a patient profile.No findings
Why it is in this group
- The name "clinicaltrials_find_eligible" says "find": a word for reading.
Description, as the server wrote it Find candidate clinical trials for a patient profile. Provide age, sex, conditions, and location to get studies with their demographic limits, contact information, and recruiting locations. Candidates are matched on age, sex, location, recruitment status, and ClinicalTrials.gov's fuzzy condition search only — inclusion/exclusion criteria are not checked, and a candidate can exclude the requested condition, so review each one's criteria with clinicaltrials_get_study_record before treating it as a match. Results are re-ranked so studies whose own condition matches a requested condition surface above tangential matches from ClinicalTrials.gov's fuzzy condition search. Each candidate returns only the sites matching the requested location (capped by locationLimit), not the study's full registered site list — a large trial can register hundreds of sites worldwide. When none of a candidate's matched sites is recruiting, one recruiting site is added so an enrollable site is never hidden behind a closer closed one: the one nearest the matched sites by their published coordinates, in the requested country whenever a site there recruits, carrying distanceMi, or the first in match order when coordinates are missing. Fetch a study's complete record with clinicaltrials_get_study_record.
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_get_field_definitionsResolve valid field names from the ClinicalTrials.gov data model — the canonical PascalCase identifiers (OverallStatus, EnrollmentCount, LeadSponsorName) accepted by the `fields`, …No findings
Why it is in this group
- The name "clinicaltrials_get_field_definitions" says "get": a word for reading.
Description, as the server wrote it 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).
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_get_field_valuesDiscover valid values for ClinicalTrials.gov fields with study counts per value.No findings
Why it is in this group
- The name "clinicaltrials_get_field_values" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_get_study_countGet total clinical trial study count from ClinicalTrials.gov matching a query, without fetching study data.No findings
Why it is in this group
- The name "clinicaltrials_get_study_count" says "get": a word for reading.
Description, as the server wrote it 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).
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_get_study_recordFetch a single clinical trial study by NCT ID from ClinicalTrials.gov.No findings
Why it is in this group
- The name "clinicaltrials_get_study_record" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_get_study_resultsFetch clinical trial results data from ClinicalTrials.gov for completed studies — outcome measures with statistics, adverse events, participant flow, baseline characteristics, and …No findings
Why it is in this group
- The name "clinicaltrials_get_study_results" says "get": a word for reading.
Description, as the server wrote it 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. A results-rich record can exceed 500KB per study in full mode — bound it with summary=true, narrower sections, or the outcomeLimit / adverseEventLimit caps; outcomeLimit / outcomeOffset also page summarized outcomes. A bounded list is resumable: outcomeOffset / seriousEventOffset / otherEventOffset start the next window, and each study's filtersApplied reports what was trimmed and the next offset for every list left short. A previous (alias) NCT ID resolves to its canonical study, named in canonicalNctId.
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
clinicaltrials_search_studiesSearch for clinical trial studies from ClinicalTrials.gov.No findings
Why it is in this group
- The name "clinicaltrials_search_studies" says "search": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- idempotentHint: true
- openWorldHint: true
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 2.10.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http clinicaltrialsgov https://clinicaltrials.caseyjhand.com/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__clinicaltrialsgov__clinicaltrials_search_studies",
"mcp__clinicaltrialsgov__clinicaltrials_get_study_record",
"mcp__clinicaltrialsgov__clinicaltrials_get_study_count",
"mcp__clinicaltrialsgov__clinicaltrials_get_field_values",
"mcp__clinicaltrialsgov__clinicaltrials_get_field_definitions",
"mcp__clinicaltrialsgov__clinicaltrials_get_study_results",
"mcp__clinicaltrialsgov__clinicaltrials_find_eligible"
],
"ask": [],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as clinicaltrialsgov. Review it before you use it.
