Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.cyanheads/clinicaltrialsgov-mcp-server

NPM · CLINICALTRIALSGOV-MCP-SERVER · 2 COMPONENTS · SCANNED SEP 21

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

0 this week 79 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 16 of 49 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency48
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
  • Clear OSI-approved license (Apache-2.0).Pass
  • Actively maintained (last published 2 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability58
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 5628 tokens (~804/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management80
  • Stability observed for 24 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
Install

How do I install the io.github.cyanheads/clinicaltrialsgov-mcp-server server?

io.github.cyanheads/clinicaltrialsgov-mcp-server runs locally as an npm package, launched with npx -y clinicaltrialsgov-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · clinicaltrialsgov-mcp-server

# add to Claude Code
claude mcp add cyanheads-clinicaltrialsgov-mcp-server -- npx -y clinicaltrialsgov-mcp-server
// .cursor/mcp.json
{
  "mcpServers": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "clinicaltrialsgov-mcp-server"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "clinicaltrialsgov-mcp-server"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add cyanheads-clinicaltrialsgov-mcp-server -- npx -y clinicaltrialsgov-mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "clinicaltrialsgov-mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add cyanheads-clinicaltrialsgov-mcp-server --command npx --arg -y --arg clinicaltrialsgov-mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  cyanheads-clinicaltrialsgov-mcp-server:
    command: "npx"
    args: ["-y", "clinicaltrialsgov-mcp-server"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "clinicaltrialsgov-mcp-server"
      ]
    }
  }
}
# add to Vellum
assistant mcp add cyanheads-clinicaltrialsgov-mcp-server -t stdio -c npx -a -y clinicaltrialsgov-mcp-server
// mcp.json
{
  "mcpServers": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "clinicaltrialsgov-mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 21 Sept 26 −2
    • Security disclosure: unverified → pass functional
    • Stability: pass → 0.80 functional
  • 20 Sept 26 +1
    • Known CVEs: partial → pass security
    • Stability: 0.97 → pass security
    • Security disclosure: pass → unverified functional
    • Dependency health: partial → 0.86 functional
  • 18 Sept 26 −1
    • Tool safety: pass → unverified security
    • Stability: pass → unverified security
    • Known CVEs: pass → partial security
    • Tool coverage: 100 → unverified functional
    • Capabilities: pass → unverified functional
    • Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. functional
    • Dependency health: 0.86 → partial functional
    • Stability: pass → 0.93 functional
    • Package version: 2.9.7 → 2.9.8 functional
  • 17 Sept 26 0
    • Stability: 0.97 → pass security
  • 16 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 15 Sept 26 +1
    • Known CVEs: partial → pass security
    • Security disclosure: unverified → pass functional
    • Dependency health: partial → 0.86 functional
  • 14 Sept 26 +15
    • Malware scan: unverified → pass security
    • Security disclosure: pass → unverified functional
  • 13 Sept 26 +10
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Known CVEs: unverified → pass security
    • Dependency health: unverified → partial functional
    • Dependency health: unverified → 0.86 functional
    • Package version: 2.9.6 → 2.9.7 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 21 Sept 2026 · Analysed npm/clinicaltrialsgov-mcp-server@2.9.8

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Dependencies 49 packages
Packages resolved 49
Stale 16
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 7 exposed · ~5,468 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
clinicaltrials_find_eligible ~524

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. 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, its nearest recruiting site is added, so an enrollable site is never hidden behind a closer closed one. Fetch a study's complete record with clinicaltrials_get_study_record.

NameTypeReqDescription
ageintegeryesPatient age in years.
conditionsarrayyesMedical conditions or diagnoses, e.g. ["Type 2 Diabetes", "Hypertension"]. Each entry is matched as a condition (multi-word entries match as a phrase); multiple entries are combined with OR, so studi…
healthyVolunteerbooleanWhether the patient is a healthy volunteer. When true, only studies accepting healthy volunteers are queried.
locationobjectyesPatient location as `{ country (required), state?, city? }`. Country is required; state/city narrow the match. For radius-based geographic search, use clinicaltrials_search_studies with geoFilter.
locationLimitintegerCap on the sites returned per candidate. Each candidate keeps only the sites matching the requested location at the narrowest level that matched (city, else state, else country), capped at this many;…
maxResultsintegerMaximum results to return.
recruitingOnlybooleanOnly include actively recruiting studies.
sexstringyesPatient's biological sex. Use 'ALL' to include studies regardless of sex restrictions.
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
funnelobjectMatch counts at each filter stage. Shows where the funnel collapsed — e.g., conditionMatched=298 but demographicsMatched=2 means age/sex/status are the constraint.
noticestringRecovery guidance when no studies matched — identifies which filter stage collapsed and suggests how to broaden. Absent when results are returned.
searchCriteriaobjectNormalized search criteria applied to this eligibility query, including the exact upstream query strings needed to reproduce the full match set via clinicaltrials_search_studies (replay with includeU…
studiesarrayMatching studies with eligibility and location fields. Each candidate's protocolSection.contactsLocationsModule.locations is BOUNDED to the sites matching the requested location (capped at locationLi…
totalCountnumberTotal matching studies from the API.

No examples provided.

clinicaltrials_get_field_definitions ~341

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).

NameTypeReqDescription
includeIndexedOnlybooleandrill mode only. Only return indexed (searchable) fields. Default: false.
limitintegersearch mode only. Maximum results to return. Default: 20.
modestringyesOperation mode. "search" — keyword search (requires `query`); "drill" — drill into a section by path (requires `path`); "overview" — list all top-level sections (no other args needed).
pathstringdrill mode only. Dot-notation path to drill into — e.g., "protocolSection.designModule", "protocolSection.eligibilityModule", "resultsSection". Returns the section's individual fields.
querystringsearch mode only. Keyword to search field names by — e.g., "enrollment", "sponsor", "adverse events". Returns matching field names ranked by relevance with their full paths and data types.
NameTypeReqDescription
capnumberThe limit cap applied to this search (search mode only).
errorobjectPresent when the call failed. Absent on success.
fieldsarrayField definitions, ordered by relevance when mode is "search".
noticestringRecovery guidance when search mode returns no matches, or a truncation note when results are capped.
resolvedPathstringResolved path when mode is "drill".
searchQuerystringEcho of the keyword used in search mode. Absent for drill and overview.
shownnumberNumber of fields returned (search mode only).
totalFieldsnumberTotal fields returned.
totalMatchesnumberTotal fields matching the query before the limit cap was applied (search mode only). Compare against `shown` to size a follow-up limit, or to see that a capped result set is barely over the cap rathe…
truncatedbooleanTrue when the field list was capped by the limit parameter (search mode only).

No examples provided.

clinicaltrials_get_field_values ~120

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.

NameTypeReqDescription
fieldsyesPascalCase field name(s) to get value statistics for — an empty list is rejected, not treated as "every field". Examples: OverallStatus, Phase, StudyType, Sex, LeadSponsorClass. Use clinicaltrials_ge…
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
fieldStatsarrayOne entry per requested field: canonical path, PascalCase piece name, data type, and the statistics variant that type carries — top values with study counts plus unique/longest for ENUM/STRING, trueC…

No examples provided.

clinicaltrials_get_study_count ~1,331

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).

NameTypeReqDescription
advancedFilterstringAdvanced filter using AREA[FieldName]value syntax. Examples: "AREA[StudyType]INTERVENTIONAL", "AREA[EnrollmentCount]RANGE[100, 1000]", "AREA[Phase]PHASE2 AND AREA[StudyType]INTERVENTIONAL", "(AREA[Ph…
conditionQuerystringCondition/disease-specific search. E.g., "Type 2 Diabetes", "non-small cell lung cancer". Matches Condition, BriefTitle, OfficialTitle, ConditionMeshTerm, ConditionAncestorTerm, Keyword, and NCTId. C…
includeUnknownEnrollmentbooleanInclude studies whose EnrollmentCount is the upstream "unknown" sentinel (99999999). Excluded by default — the sentinel pollutes RANGE[N, MAX] queries. Set true for data-quality audits.
interventionQuerystringIntervention/treatment search. E.g., "pembrolizumab", "cognitive behavioral therapy". Matches InterventionName, InterventionType, ArmGroupType, InterventionOtherName, BriefTitle, OfficialTitle, ArmGr…
locationQuerystringLocation search — city, state, country, or facility name. Matches LocationCity, LocationState, LocationCountry, LocationFacility, and LocationZip; a study matches when any of its sites does. Plain wo…
outcomeQuerystringSearch within outcome measure fields. Matches PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, OtherOutcomeMeasure, and OutcomeMeasureTitle, plus their description counterparts PrimaryOutcomeDescripti…
phaseFilterFilter by trial phase. Omit to count all phases — an empty list is rejected, not treated as "no filter". Values: EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA.
querystringGeneral free-text search across all fields. Runs the 57-field relevance search ClinicalTrials.gov publishes for this parameter — NCTId, NCTIdAlias, OrgStudyId, SecondaryId, Acronym, BriefTitle, Offic…
sponsorQuerystringSponsor/collaborator name search. Matches LeadSponsorName, CollaboratorName, and OrgFullName. Plain words plus AND/OR/NOT. `[ ]` are valid only inside an AREA[FieldName]value or RANGE[min, max] expre…
statusFilterFilter by study status. Omit to count all statuses — an empty list is rejected, not treated as "no filter". Values: RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING, NOT_YET_RECRUITING, ENROLLING_BY_INVI…
titleQuerystringSearch within study titles and acronyms only. Matches Acronym, BriefTitle, and OfficialTitle. Plain words plus AND/OR/NOT. `[ ]` are valid only inside an AREA[FieldName]value or RANGE[min, max] expre…
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
noticestringRecovery guidance when totalCount is 0 — suggests how to broaden the query or filters.
searchCriteriaobjectEcho of active query/filter criteria applied to this count, including sentinelFilterActive when the default unknown-enrollment exclusion is in effect.
totalCountnumberTotal studies matching the query/filters.

No examples provided.

clinicaltrials_get_study_record ~391

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.

NameTypeReqDescription
locationLimitintegerOptional cap on the number of locations returned. Omit for no cap (full upstream list). Pairs naturally with nearLocation for narrowing a large multi-site trial. Original total preserved in filtersAp…
nctIdstringyesNCT identifier — format `NCT` followed by 8 digits (e.g., `NCT03722472`).
nearLocationobjectFilter returned locations to those within radius of (lat, lon) and sort by distance. Adds distanceMi to each location. Locations without published coordinates are dropped — most US sites carry them;…
outcomeLimitintegerOptional cap on the number of secondary and other outcomes returned. Omit for no cap (full upstream lists). Primary outcomes are never capped. Original totals preserved in filtersApplied.totalSeconda…
referenceLimitintegerOptional cap on the number of references returned. Omit for no cap (full upstream list). Original total preserved in filtersApplied.totalReferences only when the cap trims the list. seeAlsoLinks are…
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
filtersAppliedobjectMetadata about the filtering applied to `study`.
resultsSummaryobjectCompact counts of posted results, present when hasResults is true. The full resultsSection is intentionally omitted from this record-level tool — fetch it via clinicaltrials_get_study_results or the…
studyobjectFull study record with caller-requested filters already applied to locations and outcomes. Top-level keys: protocolSection (identification, status, sponsor, conditions, design, arms/interventions, ou…

No examples provided.

clinicaltrials_get_study_results ~945

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. 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.

NameTypeReqDescription
adverseEventLimitintegerOptional cap on the number of serious and other adverse events returned per study, applied to each list separately in upstream order. Omit for no cap (every event). Applies to full mode only — summar…
nctIdsyesOne or more NCT IDs (max 20) — an empty list is rejected, and a repeated ID collapses to one results entry in first-occurrence order. E.g., "NCT12345678" or ["NCT12345678", "NCT87654321"]. Use summar…
otherEventOffsetintegerOptional index of the first other (non-serious) adverse event to return, in upstream order. Omit or 0 to start at the first. Pages independently of seriousEventOffset and pairs with adverseEventLimit…
outcomeLimitintegerOptional cap on the number of outcome measures returned per study, taken in the order ClinicalTrials.gov publishes them. Omit for no cap (every measure). Applies to full mode only — summary mode is a…
outcomeOffsetintegerOptional index of the first outcome measure to return, in the order ClinicalTrials.gov publishes them. Omit or 0 to start at the first. Pair with outcomeLimit to page a long list: each response repor…
sectionsFilter which sections to return. Values: outcomes, adverseEvents, participantFlow, baseline, moreInfo. Omit for all sections — an empty list is rejected, not treated as omission.
seriousEventOffsetintegerOptional index of the first serious adverse event to return, in upstream order. Omit or 0 to start at the first. Pages independently of otherEventOffset — the two lists have uncorrelated lengths — an…
summarybooleanReturn condensed summaries instead of full data. Full mode renders every row and field on both output channels, so a large results set can exceed 500KB per study; summary mode typically cuts that to…
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
fetchErrorsarrayStudies that could not be fetched.
resultsarrayResults per study.
studiesWithoutResultsarrayNCT IDs that do not have results data.
truncatedbooleanTrue when a bound — a cap or an offset — trimmed a list on at least one study; absent when nothing was trimmed, matching filtersApplied one level down. Which study, which list, and where to resume is…

No examples provided.

clinicaltrials_search_studies ~1,816

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.

NameTypeReqDescription
advancedFilterstringAdvanced filter using AREA[FieldName]value syntax. Examples: "AREA[StudyType]INTERVENTIONAL", "AREA[EnrollmentCount]RANGE[100, 1000]", "AREA[Phase]PHASE2 AND AREA[StudyType]INTERVENTIONAL", "(AREA[Ph…
conditionQuerystringCondition/disease-specific search. E.g., "Type 2 Diabetes", "non-small cell lung cancer". Matches Condition, BriefTitle, OfficialTitle, ConditionMeshTerm, ConditionAncestorTerm, Keyword, and NCTId. C…
countTotalbooleanInclude total study count in response. Only computed on the first page.
fieldsarrayPascalCase leaf names to return; strongly recommended since full records are ~70KB. Omit for the compact index projection — an empty list is rejected, not treated as omission. Common leaves: NCTId, B…
geoFilterstringGeographic proximity filter. Format: distance(lat,lon,radius), where radius carries a `mi` or `km` suffix — e.g. "distance(47.6062,-122.3321,50mi)" for studies within 50 miles of Seattle. The suffix…
includeUnknownEnrollmentbooleanInclude studies whose EnrollmentCount is the upstream "unknown" sentinel (99999999). Excluded by default — the sentinel pollutes RANGE[N, MAX] queries and EnrollmentCount:desc sorts. Set true for dat…
interventionQuerystringIntervention/treatment search. E.g., "pembrolizumab", "cognitive behavioral therapy". Matches InterventionName, InterventionType, ArmGroupType, InterventionOtherName, BriefTitle, OfficialTitle, ArmGr…
locationQuerystringLocation search — city, state, country, or facility name. Matches LocationCity, LocationState, LocationCountry, LocationFacility, and LocationZip; a study matches when any of its sites does. Plain wo…
nctIdsFilter to specific NCT IDs for batch lookups. Omit to search every study — an empty list is rejected, not treated as "no filter". Supplying this lifts the default unknown-enrollment exclusion, so an…
outcomeQuerystringSearch within outcome measure fields. Matches PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, OtherOutcomeMeasure, and OutcomeMeasureTitle, plus their description counterparts PrimaryOutcomeDescripti…
pageSizeintegerResults per page, 1–200.
pageTokenstringPagination cursor from a previous response.
phaseFilterFilter by trial phase. Omit to search all phases — an empty list is rejected, not treated as "no filter". Values: EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA.
querystringGeneral free-text search across all fields. Runs the 57-field relevance search ClinicalTrials.gov publishes for this parameter — NCTId, NCTIdAlias, OrgStudyId, SecondaryId, Acronym, BriefTitle, Offic…
sortstringSort order. Format: FieldName:asc or FieldName:desc. E.g., "LastUpdatePostDate:desc", "EnrollmentCount:desc". Max 2 fields comma-separated. For "largest trials" queries, pair EnrollmentCount:desc wit…
sponsorQuerystringSponsor/collaborator name search. Matches LeadSponsorName, CollaboratorName, and OrgFullName. Plain words plus AND/OR/NOT. `[ ]` are valid only inside an AREA[FieldName]value or RANGE[min, max] expre…
statusFilterFilter by study status. Omit to search all statuses — an empty list is rejected, not treated as "no filter". Values: RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING, NOT_YET_RECRUITING, ENROLLING_BY_INV…
titleQuerystringSearch within study titles and acronyms only. Matches Acronym, BriefTitle, and OfficialTitle. Plain words plus AND/OR/NOT. `[ ]` are valid only inside an AREA[FieldName]value or RANGE[min, max] expre…
NameTypeReqDescription
errorobjectPresent when the call failed. Absent on success.
nextPageTokenstringToken for the next page. Absent when this response already carries every matching study; otherwise it mirrors the upstream cursor, which ClinicalTrials.gov emits whenever a page fills to pageSize — s…
noticestringRecovery guidance when no studies matched — echoes the constraint and suggests how to broaden, and names nctIds as part of the unmatched criteria when an ID list was supplied. Absent on pages with re…
pageExhaustedbooleanTrue when this call supplied a pageToken and the continuation page came back empty — the walk is finished and no further pages exist. Absent on every other response, including an empty first page, wh…
requestedFieldsarrayEcho of the explicit fields parameter — present only when the caller passed fields. Signals that studies carry the requested leaves at full fidelity (not the default compact index) and that the rende…
searchCriteriaobjectEcho of active query/filter criteria applied to this search, including sentinelFilterActive when the default unknown-enrollment exclusion is in effect. Present on every response.
studiesarrayMatching studies. By default each entry is a COMPACT index projection — nctId, briefTitle, overallStatus, phases, enrollmentCount, leadSponsor, conditions, and a bounded locations summary ({ total, n…
totalCountnumberTotal matching studies (first page only when countTotal=true).

No examples provided.

Common questions

What is the io.github.cyanheads/clinicaltrialsgov-mcp-server server?

io.github.cyanheads/clinicaltrialsgov-mcp-server is listed in the public MCP registry as io.github.cyanheads/clinicaltrialsgov-mcp-server. Search ClinicalTrials.gov, find studies, retrieve results, match patients to eligible trials. This page covers its npm package (clinicaltrialsgov-mcp-server).

Is the io.github.cyanheads/clinicaltrialsgov-mcp-server server safe to use?

io.github.cyanheads/clinicaltrialsgov-mcp-server scores 79 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.cyanheads/clinicaltrialsgov-mcp-server server expose?

io.github.cyanheads/clinicaltrialsgov-mcp-server exposes 7 tools: clinicaltrials_search_studies, clinicaltrials_get_study_record, clinicaltrials_get_study_count, clinicaltrials_get_field_values, clinicaltrials_get_field_definitions, and 2 more. Their descriptions and schemas cost roughly 5,468 tokens of context every time the server is loaded.

Is the io.github.cyanheads/clinicaltrialsgov-mcp-server server still maintained?

io.github.cyanheads/clinicaltrialsgov-mcp-server is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.cyanheads/clinicaltrialsgov-mcp-server server under?

io.github.cyanheads/clinicaltrialsgov-mcp-server declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.