Atlas / MCP servers / cyanheads / ClinicalTrials.gov

ClinicalTrials.govBLOCK

mcp/cyanheads/clinicaltrials-gov

Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.

Verdict
BLOCK
Grade
F
Trust score
46 /100
Exposed tools
2 2r · 0w · 0d
Transport
stdio · streamable-http
License
Apache-2.0
Stars
97
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

clinicaltrialsgov-mcp-server Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP. 7 Tools • 1 Resource • 1 Prompt

[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/clinicaltrialsgov-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/clinicaltrialsgov-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)

[](https://github.com/cyanheads/clinicaltrialsgov-mcp-server/releases/latest/download/clinicaltrialsgov-mcp-server.mcpb) [](https://cursor.com/en/install-mcp?name=clinicaltrialsgov-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsaW5pY2FsdHJpYWxzZ292LW1jcC1zZXJ2ZXIiXX0=) [](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22clinicaltrialsgov-mcp-server%22%2C%2

Read from source at commit 400832bec776OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (npm)
claude mcp add clinicaltrialsgov-mcp-server -- npx -y [email protected]
claude-code (npm)
claude mcp add clinicaltrialsgov-mcp-server -- npx -y [email protected]
03

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
AspirinreadLow dose aspirin
conditionMeshreadField-level MeSH term for the condition.
04

Trust audit

BLOCKgrade F · trust 46/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (2 observation(s))
Shell
declared (8 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (20)

CRITICALPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
framework-skills/add-tool/SKILL.md:781
**Seed orientation context when the next moves are predictable.** Piggybacking a compact snapshot alongside the primary result — recent activity, tracked state, a few reference items — does two things
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/build.ts:129
const tsc = await exec([join(ROOT_DIR, 'node_modules', '.bin', 'tsc'), '-p', project], 'tsc');
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/build.ts:133
const alias = await exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/devcheck.ts:158
exec(cmd: string[], options: { cwd: string }): Promise<ShellResult> {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
scripts/devcheck.ts:696
':(glob)**/.netrc',
Why it matters. touches a credential store
HIGHPrompt injection · prompt.credential_read · CWE-94, CWE-1427
framework-skills/design-mcp-server/SKILL.md:439
| **Server credential** | The server's own upstream key is missing, or the upstream rejects it (401/403) | `ConfigurationError` — translated in the service, since the automatic status mapping yields `
Why it matters. asks the agent to read credentials
HIGHPrompt injection · prompt.credential_read · CWE-94, CWE-1427
framework-skills/release-and-publish/SKILL.md:218
Prereq: a GitHub PAT with `read:org` + `read:user` scopes stored in Keychain under the service name `mcp-publisher-github-pat`:
Why it matters. asks the agent to read credentials
HIGHPrompt injection · prompt.override · CWE-94, CWE-1427
framework-skills/orchestrations/SKILL.md:55
2. **No `git stash`, no `git reset --hard`, no `git restore .`, no `git clean -f`, no `git checkout -- .`.** These bypass safety and risk silent data loss. Read-only git (`status`, `diff`, `log`, `sho
Why it matters. asks the agent to drop prior instructions or safety
Fix. remove the instruction
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp-server/resources/definitions/study.resource.ts:12
import { nctIdSchema } from '../../tools/utils/_schemas.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp-server/resources/definitions/study.resource.ts:13
import { RECOVERY_HINTS } from '../../tools/utils/recovery-hints.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp-server/resources/definitions/study.resource.ts:14
import { applyFilters, summarizeResults } from '../../tools/utils/study-filters.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/mcp-server/tools/definitions/find-eligible.tool.test.ts:22
import { loadStudyFixture } from '../../../helpers/format-parity.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/mcp-server/tools/definitions/get-field-values.tool.test.ts:9
import { missingLeaves } from '../../../helpers/format-parity.js';
LOWObfuscation / stealth · obf.rtl_override · CWE-506, CWE-94
tests/mcp-server/tools/security.test.ts:71
'anormaltext',
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@cyanheads/mcp-ts-core, pino-pretty, zod, @biomejs/biome, @socketsecurity/bun-security-scanner, @types/bun, @vitest/coverage-istanbul, depcheck
Why it matters. 14 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
AGENTS.md:489
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it fro
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
CLAUDE.md:489
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it fro
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
changelog/2.4.x/2.4.8.md:9
Maintenance release. Framework catch-up across two minor versions, with the headline change being a new server-level `instructions` block sent on every `initialize` so spec-compliant clients can forwa
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
changelog/2.5.x/2.5.4.md:12
- **`clinicaltrials_get_field_values`** — colloquial labels `RecruitmentStatus` and `RecruitingStatus` now auto-correct to the canonical `OverallStatus` (mirroring the existing case/whitespace normali
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: critical_finding, instruction_override, no_behavioural_pass, undeclared_transfer.

Audited 2026-10-07 · audit v0.4.1 · source sha 400832bec776full audit observations/trust-audit/mcp-server/cyanheads__clinicaltrials-gov.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07400832bec776BLOCKF46first audit
06

Questions

What is the ClinicalTrials.gov MCP server?

Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.

What tools does ClinicalTrials.gov expose?

2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is ClinicalTrials.gov safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (46/100) and found 8 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does ClinicalTrials.gov need?

No credential environment variables were found in its source, so it appears to need none.

How does ClinicalTrials.gov run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as clinicaltrialsgov-mcp-server at 2.9.11.

How current is this page?

The grade is for one exact copy of the source (400832bec776), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement