ct_trials_by_location
Pack: clinicaltrials · Endpoint: https://gateway.pipeworx.io/clinicaltrials/mcp
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
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
condition | string | no | Condition/disease (e.g. “diabetes”, “breast cancer immunotherapy”). Optional but recommended. |
location | string | no | Place name — city, state, or country (e.g. “Boston”, “California”, “Germany”). Use this OR lat+lon. |
lat | number | no | Latitude for a geo-radius search (pair with lon). |
lon | number | no | Longitude (pair with lat). |
radius_mi | number | no | Radius in miles for a lat/lon search (1-500, default 50). |
status | string | no | Overall status filter (default RECRUITING). e.g. RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED. |
limit | number | no | Max trials to return (1-100, default 15). |
Example call
Arguments
{
"condition": "breast cancer immunotherapy",
"location": "Boston",
"status": "RECRUITING",
"limit": 15
}
curl
curl -X POST https://gateway.pipeworx.io/clinicaltrials/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ct_trials_by_location","arguments":{"condition":"breast cancer immunotherapy","location":"Boston","status":"RECRUITING","limit":15}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ct_trials_by_location', {
"condition": "breast cancer immunotherapy",
"location": "Boston",
"status": "RECRUITING",
"limit": 15
});
More examples
{
"condition": "diabetes",
"lat": 37.7749,
"lon": -122.4194,
"radius_mi": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"clinicaltrials": {
"url": "https://gateway.pipeworx.io/clinicaltrials/mcp"
}
}
}
See Getting Started for client-specific install steps.