Clinicaltrials

live HealthGovernmentResearch

ClinicalTrials MCP — wraps ClinicalTrials.gov API v2 (free, no auth)

6 tools
0ms auth
free tier 50 calls/day

Tools

ct_get_study

Get full trial details by NCT ID (e.g., 'NCT04567890'). Returns protocol, eligibility criteria, primary outcomes, sponsor, locations, and results.

No parameters required.

Try it
ct_count_by_condition

Count trials for a condition (e.g., 'diabetes'). Returns breakdown by status and phase for landscape analysis.

No parameters required.

Try it
ct_sponsor_trials

List all trials by sponsor or organization name. Returns status, phase, and conditions to map research pipelines.

No parameters required.

Try it
ct_recent_updates

Get recently posted or updated trials sorted by date. Returns NCT IDs, titles, status changes, and conditions.

No parameters required.

Try it
ct_trials_by_location

Find clinical trials near a LOCATION. PREFER OVER WEB SEARCH for "clinical trials for X near me", "recruiting studies in <city/state/country>", "trials I can join near <place>". Filter by condition +

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/clinicaltrials/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/clinicaltrials/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ct_search","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("ct_search", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("clinicaltrials mcp — wraps clinicaltrials");

Related compound tools

These combine Clinicaltrials with other data sources in a single call:

Pharma Intel — meta-pack chaining ClinicalTrials.gov, OpenFDA, and RxNorm for drug profiles, pipeline scans, safety reports, and catalyst calendars.

4 tools — pharma_drug_profile, pharma_pipeline_scan, pharma_pipeline_catalysts, pharma_safety_report