Clinicaltrialsgov MCP Server

clinicaltrialsgov-mcp-server Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP. Its README documents 3 tools, including clinicaltrials_search_studies, clinicaltrials_get_study_results, clinicaltrials_find_eligible.

People connecting science & health tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-21 · ★ 90 · #5 OF 60 MAINTAINED SCIENCE & HEALTH · VERIFIED 2026-08-25

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Clinicaltrialsgov MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_HTTP_PORT before connecting.

Claude Code

claude mcp add cyanheads-clinicaltrialsgov-mcp-server --transport http https://clinicaltrials.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-clinicaltrialsgov-mcp-server": {
      "url": "https://clinicaltrials.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://clinicaltrials.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to clinicaltrials.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license Apache-2.0 - declared in the repository

npm package clinicaltrialsgov-mcp-server - unscoped; check the name against the project README before installing

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Clinicaltrialsgov MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 3 documented tools, including clinicaltrials_search_studies, clinicaltrials_get_study_results, clinicaltrials_find_eligible.

The 3 tools it gives your agent

Extracted from the project's README - what clinicaltrialsgov-mcp-server lets an agent do.

clinicaltrials_search_studies
- Primary search tool with full ClinicalTrials.gov query capabilities.
clinicaltrials_get_study_results
- Fetch posted results data for completed studies.
clinicaltrials_find_eligible
- Match a patient profile to eligible recruiting trials.

Latest releases

v2.9.2 · 2026-08-21

mcp-ts-core 0.12.3 - MCP SDK v2 migration · @cyanheads/mcp-ts-core ^0.11.5 → ^0.12.3 - MCP SDK v2 migration, runtime package split (@modelcontextprotocol/server) · find_eligible's location and get_study_record's…

v2.9.1 · 2026-08-18

suggestion floor, blank_value hint, dead Worker script cleanup · nearestPieces field/sort suggestions require a similarity floor instead of always returning three unrelated names (#112) · blank_value recovery hint and…

v2.9.0 · 2026-08-18

Study/results/eligibility payload bounding · clinicaltrials://{nctId} returns a bounded wrapper instead of the raw study - breaking: consumers reading the old top-level protocol keys or results data must adopt the new…

04 · Who maintains Clinicaltrialsgov MCP Server

clinicaltrialsgov-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 124 actively maintained, 1,730 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. mcp-ts-core Agent-native TypeScript framework for building MCP servers with declarative definitions. ★ 148
  2. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 668
  3. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 235
  4. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 137
  5. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 148
  6. openalex-mcp-server Access the OpenAlex academic research catalog - 270M+ publications. ★ 12

05 · Facts

category
science & health - ranked #5 of 60 actively-maintained science & health servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-21)
registry
io.github.cyanheads/clinicaltrialsgov-mcp-server (active, first published 2025-10-02 · 64 versions)
packages
npm:clinicaltrialsgov-mcp-server · npm:clinicaltrialsgov-mcp-server

06 · Clinicaltrialsgov MCP Server FAQ

Is Clinicaltrialsgov MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-21 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Clinicaltrialsgov MCP Server do?

An agent gets 3 documented tools, including clinicaltrials_search_studies, clinicaltrials_get_study_results, clinicaltrials_find_eligible.

How do I install Clinicaltrialsgov MCP Server?

Run `npx -y clinicaltrialsgov-mcp-server`. The README documents 2 environment variables (MCP_TRANSPORT_TYPE, MCP_HTTP_PORT) to set first. Set MCP_TRANSPORT_TYPE, MCP_HTTP_PORT before connecting. You can also paste the ready-made client config above.

Does Clinicaltrialsgov MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-08-25; you can connect without credentials.

07 · Alternatives to Clinicaltrialsgov MCP Server