clinicaltrialsgov-mcp-server
io.github.cyanheads/clinicaltrialsgov-mcp-servercyanheadsstreamable-httpv2.11.4Scanned
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.
7 tools: 7 only read.
- Reads private data · 1
- Reads text others write · 7
- Can send data out · 0
- No findings
Tools listed without sign-in. Remote posture
With Anlyon
Decide which of this server's tools your agent can use.
- Anlyon lists the tools and adopts none.
- Each tool you adopt gets approvals and receipts.
- Your agent never holds the key.
A tool your agent calls directly is not routed through Anlyon and is not governed by it. Anlyon Radar only lists and labels, and these labels are the same either way.
What the clinicaltrialsgov-mcp-server can do
The clinicaltrialsgov-mcp-server is published by the GitHub account cyanheads. It has 7 tools. Every one of them only reads: going by their definitions, none of them creates, changes, sends or deletes anything.
1 tool reads private data (clinicaltrials_get_study_results); 7 tools bring in text other people can write (clinicaltrials_search_studies, clinicaltrials_get_study_record, clinicaltrials_get_study_count and 4 more).
None of the fixed checks matched anything in its tool definitions. That is not a safety guarantee.
Its remote endpoint lists its tools without sign-in, and its tools changed 6 times since Anlyon Radar first saw them.
Last scanned Nov 21, 2026, version 2.11.4.
Tools
Grouped by what each tool does, most consequential first. Open one for its reasons and full description; descriptions are the publisher's own words.
7 tools
Only reads 7Show 7 read-only tools
clinicaltrials_find_eligibleFind candidate clinical trials for a patient profile.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_find_eligible" says "find": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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. Give location.near (the patient's lat, lon, and a radiusMi) in place of city and state to match by travel distance: candidates then return their sites within the radius, nearest first, each with distanceMi from the patient. 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 (under location.near, the patient) 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) the other tools take.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_get_field_definitions" says "get": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
Description, as the server wrote it Resolve valid field names from the ClinicalTrials.gov data model — the canonical PascalCase identifiers (OverallStatus, EnrollmentCount, LeadSponsorName) the other tools take. Every record piece works in clinicaltrials_search_studies `fields`; a leaf piece (sourceType other than STRUCT) also works in `AREA[…]` expressions in `advancedFilter` and the query parameters, and as input to clinicaltrials_get_field_values (LocationGeoPoint aside); a leaf of a date or integer type (NormalizedDate, PartialDate, DateTimeMinutes, integer, long, short) also works in `sort`. An index-only piece (drill with includeIndexedOnly, e.g. NumLocations) works wherever a leaf does except `fields`. 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.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_get_field_values" says "get": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_get_study_count" says "get": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_get_study_record" says "get": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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 …Reads private dataReads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_get_study_results" says "get": a word for reading.
What it can reach
- private-dataThe description's first sentence says "fetch" and "contact": it reads contacts.
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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). Posted results exist only for studies where hasResults is true; the entry for a study without them names, in resultPublications, the journal articles its record lists as reporting its results (RESULT references, with PMID and citation), when it lists any. Use clinicaltrials_search_studies first to find studies with results. Each call fetches up to 20 distinct NCT IDs and returns any further IDs in deferredNctIds for a follow-up call. 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.Reads text others writeNo findings
Why it is in this group
- The name "clinicaltrials_search_studies" says "search": a word for reading.
What it can reach
- untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
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.
Exfil surface
Which tools read private data, which read text someone else can write, and which can send data out. One of each is a path a prompt injection can use.
No private-data, untrusted-input, outbound path in this server alone: no tool is tagged outbound.
- Reads private data1
- Reads files, mail, messages, databases, secrets, calendars or repositories.
- Reads text others write7
- Brings in text someone else can write: web pages, inbound email, messages, issues and comments.
- Can send data out0
- Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL.
Other servers in the same agent add their own tools to these paths. Audit your whole setup to see them together.
Remote posture
What anyone on the internet sees at the remote endpoint: an anonymous initialize and tools/list, and the public OAuth metadata.
Looked at Nov 20, 2026, 19:28 UTC, unchanged since Oct 22, 2026. No credentials were sent and no tool was called. What is looked at.
- Reachable
- yes
- HTTP status of an anonymous initialize
- 200
- tools/list served without credentials
- yes
- Tools that change things, listed without credentials
- 0
- Protocol version
- 2025-06-18
- WWW-Authenticate on 401
- not observed
- resource_metadata in WWW-Authenticate
- not observed
- RFC 9728 protected resource metadata
- not observed
- Authorization servers
- not observed
- Legacy HTTP+SSE transport
- no
- Dynamic client registration
- not observed
- Client ID metadata documents
- not observed
Findings
Matches of fixed checks, with the text they matched.
No check matched anything in these tool definitions. That is not a safety guarantee.
History
Changes to its tool definitions and to its remote endpoint, newest first.
Tools3 changed.~3 changedView diff
- Changed:clinicaltrials_find_eligibleOnly readsdescriptioninputSchema
- Changed:clinicaltrials_get_study_resultsOnly readsdescriptioninputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Tools3 changed.~3 changedView diff
- Changed:clinicaltrials_get_field_definitionsOnly readsdescriptioninputSchema
- Changed:clinicaltrials_get_field_valuesOnly readsinputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Tools5 changed.~5 changedView diff
- Changed:clinicaltrials_find_eligibleOnly readsinputSchema
- Changed:clinicaltrials_get_field_definitionsOnly readsdescription
- Changed:clinicaltrials_get_field_valuesOnly readsinputSchema
- Changed:clinicaltrials_get_study_recordOnly readsinputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Tools3 changed.~3 changedView diff
- Changed:clinicaltrials_find_eligibleOnly readsinputSchema
- Changed:clinicaltrials_get_study_countOnly readsinputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Tools4 changed.~4 changedView diff
- Changed:clinicaltrials_find_eligibleOnly readsinputSchema
- Changed:clinicaltrials_get_field_definitionsOnly readsinputSchema
- Changed:clinicaltrials_get_study_countOnly readsinputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Tools5 changed.~5 changedView diff
- Changed:clinicaltrials_find_eligibleOnly readsinputSchema
- Changed:clinicaltrials_get_field_definitionsOnly readsinputSchema
- Changed:clinicaltrials_get_study_recordOnly readsinputSchema
- Changed:clinicaltrials_get_study_resultsOnly readsdescriptioninputSchema
- Changed:clinicaltrials_search_studiesOnly readsinputSchema
Install
Pinned to version 2.11.4. Values in angle brackets are yours to fill in.
claude mcp add --transport http clinicaltrialsgov https://clinicaltrials.caseyjhand.com/mcpclaude mcp add --transport http clinicaltrialsgov https://clinicaltrials.caseyjhand.com/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change or a way out, 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. A read that can send data out (it takes a URL, say) asks first too. It assumes the server is installed as clinicaltrialsgov. Review it before you use it.
Capability tags behind 7 rules
- mcp__clinicaltrialsgov__clinicaltrials_search_studies untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_get_study_record untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_get_study_count untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_get_field_values untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_get_field_definitions untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_get_study_results private-data, untrusted-input
- mcp__clinicaltrialsgov__clinicaltrials_find_eligible untrusted-input
Pin
Keep the decision: fail CI when the tools change, follow every change, or show a badge.
Pin in CI
Fail a build when the tools you reviewed are not the tools the server serves today.
curl -s "https://radar.anlyon.com/api/v1/servers/io.github.cyanheads/clinicaltrialsgov-mcp-server/verify?hash=f7b66c2e8a928edc7bc766f30f3f4ecda884635d1fc3bb7c2aa8f89a4ae9d9bf" | jq -e '.changed == false'Pinned hash f7b66c2e8a92, from Nov 21, 2026, 21:18 UTC.
Watch
Get told when its tools change: a new tool, a new description, a new class.
https://radar.anlyon.com/servers/io.github.cyanheads/clinicaltrialsgov-mcp-server/changes.xmlAn Atom feed. Works in any feed reader or Slack's RSS app.
Badge
[](https://radar.anlyon.com/servers/io.github.cyanheads/clinicaltrialsgov-mcp-server)Source: MCP Registry · repository. Synced Nov 21, 2026, 21:17 UTC.
clinicaltrialsgov-mcp-server: questions and answers
Answered from the scan above, not from the publisher's description.
Is the clinicaltrialsgov-mcp-server safe?
- No scan can promise that. What its definitions show: 7 tools, all of which only read, and 0 findings from fixed checks. Read-only tools can still pass private data to a model.
Can the clinicaltrialsgov-mcp-server delete data?
- No tool is classed as destructive: going by their definitions, none of them deletes, cancels or revokes anything.
Can the clinicaltrialsgov-mcp-server do things that cannot be undone?
- No tool is classed as irreversible: none of them sends, pays, publishes or merges, going by their definitions.
What tools does the clinicaltrialsgov-mcp-server have?
- 7 tools: 7 read. clinicaltrials_search_studies, clinicaltrials_get_study_record, clinicaltrials_get_study_count, clinicaltrials_get_field_values, clinicaltrials_get_field_definitions, clinicaltrials_get_study_results and clinicaltrials_find_eligible.
Does the clinicaltrialsgov-mcp-server need sign-in or OAuth?
- Its remote endpoint listed its tools to an anonymous client, without sign-in.
Does the clinicaltrialsgov-mcp-server send data to outside services?
- None of its tools sends, posts or publishes, or takes a recipient, channel or URL.
Has the clinicaltrialsgov-mcp-server changed its tools?
- Yes, 6 times since Anlyon Radar started tracking it, most recently on Nov 21, 2026. Every change is on this page and in its Atom feed.