Health and biology · MCP server
Clinicaltrialsgov MCP server: MCP server, setup and security
Clinicaltrialsgov MCP server is an open-source MCP server that lets an AI agent search clinical studies, retrieve results and identify candidate patient trials. Its repository has 98 stars and its last commit is from October 23, 2026 and it is licensed under Apache-2.0.
What Clinicaltrialsgov MCP server does
According to its repository: “Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.”
An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Clinicaltrialsgov MCP server is listed under Health and biology, a category of 37 servers in the directory, where it ranks #12 by stars.
Topics declared by the repository: ai-agent, clinical-trials, eligibility-criteria, health-tech, patient-matching, typescript.
Installing and connecting Clinicaltrialsgov MCP server
Distribution modes declared in the official MCP registry:
- npm package (Node.js, usually started with
npx) - remote server (streamable-http): you connect to it by URL, with nothing to install locally
Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: TypeScript.
Security: what to check
An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.
None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Clinicaltrialsgov MCP server. That does not replace reading the code.
Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.
Project activity and maintenance
Created on June 17, 2025, the cyanheads/clinicaltrialsgov-mcp-server repository has 98 stars and 24 forks, with 4 open issues. It has more stars than 66% of the servers in the directory. It received changes this month. Version published in the registry: 2.10.1 (October 23, 2026).
Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.
Verdict
Clinicaltrialsgov MCP server is a reasonable choice; check the points below before connecting it.
Strengths
- Active project: recent commit
- Listed in the official MCP registry
- Usable remotely, without installation
- Permissive licence (Apache-2.0)
Alternatives
- Medplum2.8K ★
- Pyscn1.1K ★
- Biomcp662 ★
- FHIR MCP Server (wso2)136 ★
- HealthChain229 ★
- Google health MCP72 ★
Learn more
Frequently asked questions
How do I install Clinicaltrialsgov MCP server?
Clinicaltrialsgov MCP server is distributed as npm package (Node.js, usually started with npx) and a remote server. Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of cyanheads/clinicaltrialsgov-mcp-server.
Is Clinicaltrialsgov MCP server free?
The code is published under the Apache-2.0 licence and can be used free of charge.
Is Clinicaltrialsgov MCP server safe?
No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.
Is it an official server?
Nothing says so: it is a project published by cyanheads on GitHub. Check who maintains it before giving it access.
What are the alternatives to Clinicaltrialsgov MCP server?
In the same category: Medplum, Pyscn, Biomcp, and FHIR MCP Server (wso2). Medplum scores higher on our grid.
Related articles
- Build your own MCP server in 30 minutesOctober 24, 2026
- Automate your inbox with an AI agentOctober 18, 2026
- MCP, A2A, and tool calling: agent protocols explainedOctober 17, 2026
- Build an AI agent with n8n, without codingOctober 16, 2026
Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score