cyanheads/clinicaltrialsgov-mcp-server

MCP server for the ClinicalTrials.gov v2 API. Allow LLMs to search trials, retrieve study details, compare studies, analyze trends, and match patients to eligible trials.

58
/ 100
Established

Implements 7 tools spanning search, results extraction, and patient matching via a type-safe client for ClinicalTrials.gov REST API v2, with features like geographic proximity filtering, results summary mode (~200KB→5KB compression), and eligibility matching from patient demographics. Built on the MCP TypeScript framework with dual stdio/HTTP transport, pluggable auth, and structured error handling with exponential backoff retry logic. Available as npm package, Docker image, or public HTTP endpoint requiring zero setup.

Available on npm.

Maintenance 13 / 25
Adoption 8 / 25
Maturity 18 / 25
Community 19 / 25

How are scores calculated?

Stars

57

Forks

20

Language

TypeScript

License

Apache-2.0

Last pushed

Mar 09, 2026

Commits (30d)

0

Dependencies

30

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/cyanheads/clinicaltrialsgov-mcp-server"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.