# ClinicalTrials.gov MCP MCP Server

> **ClinicalTrials.gov MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to ClinicalTrials.gov MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/clinical-trials-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

ClinicalTrials.gov enables AI agents to search registered clinical studies by condition, intervention, location, recruitment status, and study phase. Retrieve trial protocols, eligibility criteria, investigator details, outcome measures, and study results to support clinical research and evidence reviews.

---

## Details

- Server ID: `clinical-trials-mcp`
- Version: 3.2.0
- Tools: 6
- Authentication: None — this server takes no credential
- Calls served: 1
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — ClinicalTrials.gov MCP has to be in the toolset
first. In order:

1. Add ClinicalTrials.gov MCP to your toolset at https://mewcp.com/mcp/clinical-trials-mcp
2. Nothing to connect — ClinicalTrials.gov MCP needs no credential
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If ClinicalTrials.gov MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `clinical-trials-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (6)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `search_trials` _(read)_ — Search ClinicalTrials.gov database for clinical trials. This is the PRIMARY tool for finding trials. WHEN TO USE: - Finding trials for a disease/condition…
- `get_trial_details` _(read)_ — Get comprehensive details for a specific clinical trial using its NCT ID. WHEN TO USE: - User provides a specific NCT ID (e.g., 'Tell me about NCT04567890') -…
- `search_by_sponsor` _(read)_ — Find all clinical trials sponsored by a specific company or organization. Functionally equivalent to search_trials(sponsor=...). WHEN TO USE: - Questions about…
- `search_investigators` _(read)_ — Find principal investigators (PIs) and research sites conducting trials in a therapeutic area. WHEN TO USE: - 'Who are the leading researchers in Alzheimer…
- `analyze_endpoints` _(read)_ — Analyze primary and secondary outcome measures (endpoints) from clinical trials. MODES (provide ONLY nct_id OR condition, not both): 1. Single Trial: Provide…
- `search_by_eligibility` _(read)_ — Find clinical trials matching specific patient eligibility criteria. Use this for patient-trial matching and finding trials a specific patient might qualify…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/clinical-trials-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/clinical-trials-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/clinical-trials-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/clinical-trials-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/clinical-trials-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/clinical-trials-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/clinical-trials-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/clinical-trials-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/clinical-trials-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/clinical-trials-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/clinical-trials-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/clinical-trials-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/clinical-trials-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/clinical-trials-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/clinical-trials-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/clinical-trials-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/clinical-trials-mcp/connect/junie
- Amp: https://mewcp.com/mcp/clinical-trials-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/clinical-trials-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/clinical-trials-mcp/connect/goose
- Python: https://mewcp.com/mcp/clinical-trials-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/clinical-trials-mcp/connect/typescript