Tools / ClinicalTrials.gov MCP Server for AI Agents
ClinicalTrials.gov MCP Server for AI Agents
MCP server (Apify Standby mode) exposing ClinicalTrials.gov search as a live tool call for an AI agent: condition and intervention filters over the official NIH API, flat fee per call, no start fee. For a full batch dataset instead, use clinicaltrials-scraper.
Run it
This tool runs in Apify Standby mode as an MCP server — point an MCP client (Claude, Cursor, etc.) at the Standby URL below, or call it directly over JSON-RPC. No "Run" step, no dataset to poll.
curl -X POST "https://fetchsmith--clinicaltrials-mcp-server.apify.actor/mcp" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_clinical_trials","arguments":{"condition": "asthma", "maxResults": 3}}}'
Returns the tool result as MCP content, charged once per call regardless of how many rows come back.
Output fields
nctId title status url
Guides
- An MCP tool that refuses bad calls instead of guessing — and doesn't charge for the refusal — Wiring a ClinicalTrials.gov search into an agent as an MCP tool, not a batch scrape. The interesting part isn't the data, it's what the tool does when the call is ambiguous — and how pay-per-event billing makes that refusal free.
Only publicly accessible pages are read. Respect the source site's terms when using the data.