Skip to content
MCP profile

Github Cyanheads Clinicaltrialsgov Mcp Server

Provides rich tools to search, retrieve, and analyze data from ClinicalTrials.gov API v2.

Healthcare & Life SciencesPackageJavaScript/TypeScriptOpen SourceExternal
Last updated
March 16, 2026
Visibility
Public
ByRegistry

About This MCP Server


clinicaltrialsgov-mcp-server MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details, compare studies, analyze trends, and match patients to eligible trials. Runs over stdio or HTTP. Deployable to Cloudflare Workers.

Capabilities
Declarative tool definitions — single file per tool, framework handles registration and validationUnified McpError error handling across all toolsPluggable auth (none, jwt, oauth)Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2Structured logging (Pino) with optional OpenTelemetry tracingTyped DI container with Token<T> phantom brandingRuns locally (stdio/HTTP) or on Cloudflare Workers from the same codebaseType-safe client for the ClinicalTrials.gov v2 APITools for search, filtering, statistical aggregation, and patient matchingAutomatic cleaning and simplification of API responses for agent consumption

Tools & Endpoints1

Why Use Github Cyanheads Clinicaltrialsgov Mcp Server?

  • Declarative tool definitions — single file per tool, framework handles registration and validation
  • Unified McpError error handling across all tools
  • Pluggable auth (none, jwt, oauth)
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2
  • Structured logging (Pino) with optional OpenTelemetry tracing
  • Typed DI container with Token<T> phantom branding
  • Runs locally (stdio/HTTP) or on Cloudflare Workers from the same codebase
  • Type-safe client for the ClinicalTrials.gov v2 API
  • Tools for search, filtering, statistical aggregation, and patient matching
  • Automatic cleaning and simplification of API responses for agent consumption

Specifications

Status
live
Industry
Healthcare & Life Sciences
Category
General
Server type
Package
Language
JavaScript/TypeScript
License
Open Source
Verified
Yes

Requirements

  • • Bun v1.2.0 or higher.

Hosting


Hosting Options

  • Package

API


Integrate this server into your application. Choose a connection method below.

1

Configure

Configuration
json
{
  "mcpServers": {
    "clinicaltrialsgov": {
      "type": "streamable-http",
      "url": "https://clinicaltrials.caseyjhand.com/mcp"
    }
  }
}

Performance


Usage


Quick Reference


Name
Github Cyanheads Clinicaltrialsgov Mcp Server
Function
Provides rich tools to search, retrieve, and analyze data from ClinicalTrials.gov API v2.
Available Tools
Seven tools for working with ClinicalTrials.gov data:
Transport
Package
Language
JavaScript/TypeScript
Source
External (Registry)
License
Open Source
Get started

Ready to integrate this MCP server?

Book a demo to see how this server fits your workflow, or explore the full catalog.

Related MCP Servers


Catalog Workspace

Discover agents, MCP servers, and skills in one governed surface

Use structured catalog views to compare readiness, ownership, integrations, and deployment posture before rollout.