Skip to content
Agentmart
Submit a tool

Clinicaltrialsgov MCP Server

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

Connector by cyanheads · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)Remote (HTTP)★ 98
Write a review

Chalk Labs

Need help deploying Clinicaltrialsgov MCP Server?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, VS Code, Codex, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/cyanheads-clinicaltrialsgov-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Remote endpoint

  • https://clinicaltrials.caseyjhand.com/mcp Remote (HTTP)

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
7 read · 0 write · 0 deleteRead-only
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 7

From the running server's own tool list (tools/list) on Oct 25, 2026.

Read 7 · Look things up without changing anything.

  • clinicaltrials_find_eligible
  • clinicaltrials_get_field_definitions
  • clinicaltrials_get_field_values
  • clinicaltrials_get_study_count
  • clinicaltrials_get_study_record
  • clinicaltrials_get_study_results
  • clinicaltrials_search_studies

Secrets and settings it asks for

Other settings (environment variables or headers).

  • CT_API_BASE_URL
  • CT_MAX_PAGE_SIZE
  • CT_REQUEST_TIMEOUT_MS
  • MCP_LOG_LEVEL

Network hosts it talks to 1

  • clinicaltrials.caseyjhand.com · found in remote endpoint, install command

Files it touches

  • Any path the agent passes to its tools

Tools (7)

As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • clinicaltrials_find_eligibleClinicaltrials Find Eligibleread-only

    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 a…

  • clinicaltrials_get_field_definitionsClinicaltrials Get Field Definitionsread-only

    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_valuesClinicaltrials Get Field Valuesread-only

    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_countClinicaltrials Get Study Countread-only

    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_recordClinicaltrials Get Study Recordread-only

    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_resultsClinicaltrials Get Study Resultsread-only

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

  • clinicaltrials_search_studiesClinicaltrials Search Studiesread-only

    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.

Signals

Stars
98
Forks
24
Open issues
3
Last commit
Oct 23, 2026 (9 days ago)
Last release
Oct 26, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.cyanheads/clinicaltrialsgov-mcp-server
Version
2.10.2
Auth
Auth not stated
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Nov 1, 2026

More from cyanheads

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get Clinicaltrialsgov MCP Server running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying Clinicaltrialsgov MCP Server?

CallGet help
Cite this page

Clinicaltrialsgov MCP Server. Agent Mart. https://agentmart.dev/connectors/cyanheads-clinicaltrialsgov-mcp-server (last updated 2026-11-01)