Hosted MCP server · #100 most used on Smithery
Clinical Trials Data Server
plainyogurt21/clintrials-mcp
Provide structured access to ClinicalTrials.gov data for searching, retrieving, and analyzing clinical trial information. Enable multi-parameter searches, detailed trial retrievals, and statistical analyses to support medical research and healthcare decision-making. Deliver robust error handling and flexible field selection to optimize data responses.
- Uses
- 5.5k
- Tools
- 12
- Runs
- Hosted
- Listed
- 1.3y ago
Get started
Add it to your agent
npx -y @smithery/cli@latest install plainyogurt21/clintrials-mcp --client claudeSwap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.
claude mcp add --transport http clinical-trials-data-server https://server.smithery.ai/plainyogurt21/clintrials-mcp/mcpA hosted server: nothing to install. Run /mcp in Claude Code to sign in if it asks.
[mcp_servers.clinical-trials-data-server]
url = "https://server.smithery.ai/plainyogurt21/clintrials-mcp/mcp"Add to ~/.codex/config.toml.
{
"mcpServers": {
"clinical-trials-data-server": {
"url": "https://server.smithery.ai/plainyogurt21/clintrials-mcp/mcp"
}
}
}Add to ~/.cursor/mcp.json.
{
"servers": {
"clinical-trials-data-server": {
"type": "http",
"url": "https://server.smithery.ai/plainyogurt21/clintrials-mcp/mcp"
}
}
}Add to .vscode/mcp.json.
gemini mcp add --transport http clinical-trials-data-server https://server.smithery.ai/plainyogurt21/clintrials-mcp/mcpSaved to .gemini/settings.json.
What it can do
12 tools
search_trials_by_condition3 paramsSearch clinical trials by medical condition(s). This tool allows you to search for clinical trials based on a list of medical conditions.…
Search clinical trials by medical condition(s). This tool allows you to search for clinical trials based on a list of medical conditions. Input: - `conditions`: A list of strings, where each string is a medical condition to search for. The search will find trials related to any of the specified conditions. Example: `['cancer', 'diabetes']` - `max_studies`: The maximum number of studies to return. Defaults to 50. - `fields`: A list of specific fields to return in the results. If not provided, ret
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
conditions | array | Medical conditions to search for |
max_studies | integer | Maximum number of studies to return |
search_trials_by_intervention3 paramsSearch clinical trials by intervention/treatment. This tool allows you to search for clinical trials based on a list of interventions or …
Search clinical trials by intervention/treatment. This tool allows you to search for clinical trials based on a list of interventions or treatments. Input: - `interventions`: A list of strings, where each string is an intervention or treatment to search for. The search will find trials related to any of the specified interventions. Example: `['aspirin', 'chemotherapy']` - `max_studies`: The maximum number of studies to return. Defaults to 50. - `fields`: A list of specific fields to return in th
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
max_studies | integer | Maximum number of studies to return |
interventions | array | Interventions/treatments to search for |
search_trials_by_sponsor3 paramsSearch clinical trials by sponsor/organization. This tool allows you to search for clinical trials based on a list of sponsor organizatio…
Search clinical trials by sponsor/organization. This tool allows you to search for clinical trials based on a list of sponsor organizations. Input: - `sponsors`: A list of strings, where each string is a sponsor organization to search for. The search will find trials sponsored by any of the specified organizations. Example: `['National Cancer Institute', 'Pfizer']` - `max_studies`: The maximum number of studies to return. Defaults to 50. - `fields`: A list of specific fields to return in the res
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
sponsors | array | Sponsor organizations to search for |
max_studies | integer | Maximum number of studies to return |
search_trials_by_acronym4 paramsSearch clinical trials by study acronym. Uses the Acronym field (protocolSection.identificationModule.acronym) to find trials by their pu…
Search clinical trials by study acronym. Uses the Acronym field (protocolSection.identificationModule.acronym) to find trials by their public short name. Example: 'TETON'. The API search is seeded with the provided acronyms to narrow results, then results are filtered locally to ensure the acronym field matches the requested value(s). Input: - `acronyms`: One or more acronyms to search for (e.g., ['TETON']). - `max_studies`: Maximum number of studies to request from the API. - `exact_match`: Whe
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
acronyms | array | Trial acronyms to search for, e.g., ['TETON'] |
exact_match | boolean | If true, match acronym exactly; if false, allow partial matches |
max_studies | integer | Maximum number of studies to return |
search_trials_by_nct_ids2 paramsRetrieve specific clinical trials by NCT ID(s). This tool allows you to retrieve the details of specific clinical trials by providing the…
Retrieve specific clinical trials by NCT ID(s). This tool allows you to retrieve the details of specific clinical trials by providing their NCT IDs. Input: - `nct_ids`: A list of strings, where each string is an NCT ID to retrieve. Example: `['NCT04280705', 'NCT04280718']` - `fields`: A list of specific fields to return in the results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus,
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
nct_ids | array | NCT IDs to retrieve |
search_trials_combined8 paramsSearch clinical trials using multiple criteria. This tool allows you to perform a combined search using multiple criteria such as conditi…
Search clinical trials using multiple criteria. This tool allows you to perform a combined search using multiple criteria such as conditions, interventions, sponsors, and general terms. Input: - `conditions`: A list of medical conditions to search for. - `interventions`: A list of interventions or treatments to search for. - `sponsors`: A list of sponsor organizations to search for. - `terms`: A list of general search terms. - `nct_ids`: A list of specific NCT IDs to include in the search. - `ma
| Parameter | Type | Description |
|---|---|---|
terms | General search terms | |
fields | Specific fields to return | |
nct_ids | Specific NCT IDs to include | |
acronyms | Study acronyms to search within titles/acronyms | |
sponsors | Sponsor organizations to search for | |
conditions | Medical conditions to search for | |
max_studies | integer | Maximum number of studies to return |
interventions | Interventions/treatments to search for |
get_trial_details2 paramsGet comprehensive details for a single clinical trial. This tool retrieves detailed information for a single clinical trial given its NCT…
Get comprehensive details for a single clinical trial. This tool retrieves detailed information for a single clinical trial given its NCT ID. Input: - `nct_id`: The NCT ID of the trial to retrieve. Example: `'NCT04280705'` - `fields`: A list of specific fields to return. If not provided, returns DETAIL_TOOL_DEFAULTS (25 comprehensive fields covering: NCTId, BriefTitle, OfficialTitle, Acronym, Condition, Keyword, Phase, OverallStatus, InterventionType, InterventionName, InterventionDescription, A
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return | |
nct_id | string | NCT ID of the trial to retrieve |
get_trial_details_batched3 paramsRetrieve detailed clinical trial records in batches to reduce payload during discovery. Accepts a list of NCT IDs and fetches details in …
Retrieve detailed clinical trial records in batches to reduce payload during discovery. Accepts a list of NCT IDs and fetches details in batches (default 10). Preserves the order of input NCT IDs in the returned list. Use this after search tools which return a minimal field set. Input: - `nct_ids`: List of NCT IDs to retrieve in batches. - `fields`: Specific fields to return. If not provided, returns DETAIL_TOOL_DEFAULTS (25 comprehensive fields covering: NCTId, BriefTitle, OfficialTitle, Acrony
| Parameter | Type | Description |
|---|---|---|
fields | Specific fields to return for detailed view | |
nct_ids | array | NCT IDs to retrieve in batches of 10 |
batch_size | integer | Batch size for each API call |
analyze_trial_phases4 paramsAnalyze the distribution of trial phases for given search criteria. This tool analyzes the distribution of clinical trial phases (e.g., P…
Analyze the distribution of trial phases for given search criteria. This tool analyzes the distribution of clinical trial phases (e.g., Phase 1, Phase 2, Phase 3) for a given set of search criteria. Input: - `conditions`: A list of medical conditions to filter the analysis. - `interventions`: A list of interventions to filter the analysis. - `sponsors`: A list of sponsors to filter the analysis. - `max_studies`: The maximum number of studies to include in the analysis. Defaults to 1000.
| Parameter | Type | Description |
|---|---|---|
sponsors | Sponsors to analyze | |
conditions | Medical conditions to analyze | |
max_studies | integer | Maximum number of studies to analyze |
interventions | Interventions to analyze |
get_field_statistics2 paramsGet statistical information about field values. This tool retrieves statistical information about the values of specified fields in the C…
Get statistical information about field values. This tool retrieves statistical information about the values of specified fields in the ClinicalTrials.gov database. Input: - `field_names`: A list of field names to get statistics for. - `field_types`: A list of field types to filter by. Example: `['ENUM', 'STRING']`
| Parameter | Type | Description |
|---|---|---|
field_names | Field names to get statistics for | |
field_types | Field types to filter by (ENUM, STRING, DATE, INTEGER, NUMBER, BOOLEAN) |
get_available_fields1 paramGet organized list of available fields for customizing search results. This tool provides a list of available fields that can be used to …
Get organized list of available fields for customizing search results. This tool provides a list of available fields that can be used to customize the results of other search tools. The fields are organized into categories. Input: - `category`: An optional string to specify a category of fields to return. If not provided, all categories and default fields will be returned. Example: `'conditions'`
| Parameter | Type | Description |
|---|---|---|
category | Optional: specific category to return (identification, status, conditions, design, interventions, arms, outcomes, eligibility, locations, sponsors, descriptions, contacts, results) |
search_trials_nct_ids_only5 paramsLightweight search returning only NCT IDs and minimal metadata for discovery. This tool performs a lightweight search that returns only t…
Lightweight search returning only NCT IDs and minimal metadata for discovery. This tool performs a lightweight search that returns only the NCT IDs and minimal metadata for the purpose of discovering relevant trials. Input: - `conditions`: A list of medical conditions to search for. - `interventions`: A list of interventions or treatments to search for. - `sponsors`: A list of sponsor organizations to search for. - `terms`: A list of general search terms. - `max_studies`: The maximum number of s
| Parameter | Type | Description |
|---|---|---|
terms | General search terms | |
sponsors | Sponsor organizations to search for | |
conditions | Medical conditions to search for | |
max_studies | integer | Maximum number of studies to return (optimized for discovery) |
interventions | Interventions/treatments to search for |