Clinical Trials
Search and analyze clinical trials from ClinicalTrials.gov
Clinical Trials
Search and analyze clinical trials from ClinicalTrials.gov
Available Tools (12)
- search_trials_by_condition: 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, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call- search_trials_by_intervention: 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 the results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call- search_trials_by_sponsor: 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 results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call- search_trials_by_acronym: 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: When true (default), matches acronyms exactly (case-insensitive). When false, matches if any provided acronym is contained within the study acronym (case-insensitive partial match).fields: A list of specific fields to return in the results. If not provided, returns ACRONYM_SEARCH_DEFAULTS (8 fields optimized for acronym discovery: NCTId, BriefTitle, Acronym, Condition, InterventionName, Phase, LeadSponsorName, HasResults). — $0.01/call- search_trials_by_nct_ids: 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, HasResults). — $0.01/call- search_trials_combined: 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.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, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call- get_trial_details: 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, ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge, Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility, LocationCountry, LeadSponsorName, CollaboratorName, HasResults). — $0.01/call- get_trial_details_batched: 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, Acronym, Condition, Keyword, Phase, OverallStatus, InterventionType, InterventionName, InterventionDescription, ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge, Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility, LocationCountry, LeadSponsorName, CollaboratorName, HasResults).batch_size: Number of trials to fetch per API call (default 10). — $0.01/call- analyze_trial_phases: 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. — $0.01/call- get_field_statistics: 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']— $0.01/call- get_available_fields: 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'— $0.01/call- search_trials_nct_ids_only: 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 studies to return. Defaults to 100. — $0.01/call
Quick Start
{
"mcpServers": {
"clinical-trials": {
"url": "https://clinical-trials.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
}
}
}
Pricing
$0.01 per tool call. Pay per use from your XPay wallet. No subscriptions.
Get an API key at xpay.tools.
Tools: 12 Category: Academic & Research
When to Use
Use Clinical Trials tools when you need to search and analyze clinical trials from clinicaltrials.gov. All tools are available through xpay✦'s single MCP connection.
MCP Connection
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
Available Tools
- Search Trials By Condition — 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, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call — SKILL.md- Search Trials By Intervention — 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 the results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call — SKILL.md- Search Trials By Sponsor — 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 results. If not provided, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call — SKILL.md- Search Trials By Acronym — 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: When true (default), matches acronyms exactly (case-insensitive). When false, matches if any provided acronym is contained within the study acronym (case-insensitive partial match).fields: A list of specific fields to return in the results. If not provided, returns ACRONYM_SEARCH_DEFAULTS (8 fields optimized for acronym discovery: NCTId, BriefTitle, Acronym, Condition, InterventionName, Phase, LeadSponsorName, HasResults). — $0.01/call — SKILL.md- Search Trials By Nct Ids — 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, HasResults). — $0.01/call — SKILL.md- Search Trials Combined — 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.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, returns SEARCH_TOOL_DEFAULTS (9 essential fields: NCTId, BriefTitle, Acronym, Condition, Phase, InterventionName, LeadSponsorName, OverallStatus, HasResults). — $0.01/call — SKILL.md- Get Trial Details — 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, ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge, Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility, LocationCountry, LeadSponsorName, CollaboratorName, HasResults). — $0.01/call — SKILL.md- Get Trial Details Batched — 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, Acronym, Condition, Keyword, Phase, OverallStatus, InterventionType, InterventionName, InterventionDescription, ArmGroupLabel, ArmGroupType, ArmGroupDescription, EligibilityCriteria, MinimumAge, MaximumAge, Sex, PrimaryOutcomeMeasure, SecondaryOutcomeMeasure, BriefSummary, LocationFacility, LocationCountry, LeadSponsorName, CollaboratorName, HasResults).batch_size: Number of trials to fetch per API call (default 10). — $0.01/call — SKILL.md- Analyze Trial Phases — 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. — $0.01/call — SKILL.md- Get Field Statistics — 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']— $0.01/call — SKILL.md- Get Available Fields — 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'— $0.01/call — SKILL.md- Search Trials Nct Ids Only — 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 studies to return. Defaults to 100. — $0.01/call — SKILL.md
How to Execute
xpay_discover— Search for tools:xpay_discover("clinical-trials")xpay_details— Get input schema:xpay_details("clinical-trials/TOOL_NAME")xpay_run— Execute:xpay_run("clinical-trials/TOOL_NAME", { ...inputs })xpay_balance— Check credits
Links
- Provider page: https://xpay.tools/clinical-trials/
- All providers: https://xpay.tools/explore
- Docs: https://docs.xpay.sh
Tools (12)
Install Skill
Details
Tools
12
Category
Academic & Research
Total calls
0

