Clinical Trials MCP server

Endpoint: https://hcls.mcp.claude.com/clinical_trials/mcp · Authentication: No auth

Searches ClinicalTrials.gov by condition, sponsor, investigator and eligibility, returns trial details and analyzes endpoints. Run by Anthropic; no authentication.

How do I authenticate?

Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.

Authentication and connection guide

Connection specification

Remote endpoint
https://hcls.mcp.claude.com/clinical_trials/mcp
Browser access
Not yet measured
Declared MCP transport
Streamable HTTP
Live-validated MCP transport
Streamable HTTP — Observed by the latest catalog validation
Declared authentication
No authentication
Detected authentication
No authentication detected or retained from publisher evidence
Protocol lifecycle
Stateful MCP · 2025-11-25
Category
Reference

Product documentation · Source repository · Official listing documentation · Claude connector directory listing

More Reference MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground

Authorization setup

No app registration needed

This catalog entry does not require authorization or provider app registration.

Connect it

Live-validated endpoint: https://hcls.mcp.claude.com/clinical_trials/mcp · Streamable HTTP. No authentication is required by the catalog listing.

Agent prompt for Claude Code or Codex
Add the Clinical Trials MCP server to my MCP client configuration and verify that it works.

What it is: Searches ClinicalTrials.gov by condition, sponsor, investigator and eligibility, returns trial details and analyzes endpoints. Run by Anthropic; no authentication.
Server URL: https://hcls.mcp.claude.com/clinical_trials/mcp
Transport: Streamable HTTP (remote MCP server, no local install).
Authentication: none. The server accepts connections without credentials.
Tools (6, as last observed by mcptest): analyze_endpoints, get_trial_details, search_by_eligibility, search_by_sponsor, search_investigators, search_trials.
Reference: https://mcptest.io/servers/clinical-trials/

Steps:
1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "clinical-trials" in that client's MCP configuration, user scope unless I ask otherwise.
   Claude Code: claude mcp add --transport http --scope user 'clinical-trials' 'https://hcls.mcp.claude.com/clinical_trials/mcp'
   Codex: codex mcp add 'clinical-trials' --url 'https://hcls.mcp.claude.com/clinical_trials/mcp'
   Other clients: use the setup for that client on the reference page.
2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need.
3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
MCP client

Claude Code setup

Run in a terminal. This user-scoped entry is available across projects.

claude mcp add --transport http --scope user 'clinical-trials' 'https://hcls.mcp.claude.com/clinical_trials/mcp'

Codex CLI setup

Run in a terminal; Codex stores the entry in ~/.codex/config.toml.

codex mcp add 'clinical-trials' --url 'https://hcls.mcp.claude.com/clinical_trials/mcp'

Cursor setup

Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.

{
  "mcpServers": {
    "clinical-trials": {
      "url": "https://hcls.mcp.claude.com/clinical_trials/mcp"
    }
  }
}

VS Code setup

Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.

{
  "servers": {
    "clinical-trials": {
      "type": "http",
      "url": "https://hcls.mcp.claude.com/clinical_trials/mcp"
    }
  }
}

Claude setup

Add the endpoint above in Claude:

  • Customize > Connectors > Add custom connector
  • Team/Enterprise: Organization settings > Connectors > Add > Custom > Web

Claude Desktop setup

Add the endpoint above in Claude Desktop:

  • Remote: Customize > Connectors (same as claude.ai)
  • Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
  • ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), local servers only

ChatGPT setup

Add the endpoint above in ChatGPT:

  • ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning

Windsurf setup

Add the endpoint above in Windsurf:

  • ~/.config/devin/mcp_config.json (%APPDATA%\devin\mcp_config.json on Windows), serverUrl or url
  • Cascade panel > ... > MCPs > Open MCP config file

Gemini CLI setup

Add the endpoint above in Gemini CLI:

  • gemini mcp add --transport http <name> <url>
  • ~/.gemini/settings.json (user) or .gemini/settings.json (project), mcpServers

MCP SDK setup

Add the endpoint above in MCP SDK:

  • Programmatic: new Client(...).connect(new StreamableHTTPClientTransport(url))

Client compatibility

ClientStatusWhy
Claude CodeSupportedClaude Code supports Streamable HTTP servers and servers without authentication.
CodexPartialCodex's documentation does not state support for servers without authentication.
CursorSupportedCursor supports Streamable HTTP servers and servers without authentication.
VS CodeSupportedVS Code supports Streamable HTTP servers and servers without authentication.
ClaudeSupportedClaude supports Streamable HTTP servers and servers without authentication.
Claude DesktopSupportedClaude Desktop supports Streamable HTTP servers and servers without authentication.
ChatGPTPartialStateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state.
WindsurfPartialWindsurf's documentation does not state support for servers without authentication.
Gemini CLISupportedGemini CLI supports Streamable HTTP servers and servers without authentication.
MCP SDKSupportedMCP SDK supports Streamable HTTP servers and servers without authentication.

Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.

Similar servers

  • FlickDirect Connect: Movie MCP Server — Read-only movie MCP server for FlickDirect movie and TV facts, available country dates and ratings, site-wide news and review previews, podcasts, streaming and deals. Free access with no authentication. No authentication
  • getAbstract — Search getAbstract summaries of business books, articles and reports. OAuth 2.1
  • The Old Ways Library — Public, read-only search and cited passages from historical editions and mythology reference pages across five traditions. No account or API key required. No authentication
  • Folklore Clinical Variant Interpretation MCP — Offers 11 public tools for ACMG/AMP germline variant classification, gene profiles, disease associations and literature. An optional Folklore Bearer API key adds 18 tools for case analysis, approved source files and reports. No authentication
  • MaCalculatrice (macalc) — Calculators from macalculatriceenligne.com as MCP tools: tax, salary, real estate, maths, health and unit conversions for France and other French-speaking countries. Each result links to the related page of the site. No authentication. No authentication
  • 链小知区块链 — Eight read-only tools for Chinese-language blockchain knowledge, tool guides, recent news (seven-day search window), event timelines and daily briefs, with source links. Anonymous Streamable HTTP; no API key or authentication. No authentication

Guides for this server

Watch this server for breaking changes

Share and embed

Maintain Clinical Trials? Embed this badge in your README. It follows the latest catalog validation result and links to this server profile.

mcptest.io: ready

Latest validation evidence

Validation status
Online when last tested
Validation checked at
Nov 23, 2026 at 7:16 PM
Validation detail
Negotiated stateful MCP 2025-11-25 at https://hcls.mcp.claude.com/clinical_trials/mcp; detected transport streamable-http; authentication none

Tool inventory

What the catalog validator observed on at https://hcls.mcp.claude.com/clinical_trials/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.

Tools provided by Clinical Trials 6

Some details were sanitized for public display.

  • analyze_endpointsoutputSchema declared

    Analyze primary and secondary outcome measures (endpoints) from clinical trials. MODES (provide ONLY nct_id OR condition, not both): 1. Single Trial: Provide nct_id ONLY to analyze one specific trial's endpoints 2. Aggregate: Provide condition ONLY to analyze patterns across multiple trials If both provided, nct_id takes precedence (single trial mode). SINGLE TRIAL MODE (nct_id): - Returns all endpoints for the specified trial - Useful for understanding specific trial design - Example: nct_id='NCT03661411' AGGREGATE MODE (condition): - Analyzes endpoints across many trials in a therapeutic are

    Input condition?: any, nct_id?: any, page_size?: integer, phase?: any, start_date_after?: any
    • condition?: anyoptional

      Disease or therapeutic area for aggregate analysis. Examples: 'diabetes', 'Alzheimer', 'breast cancer', 'heart failure'. Required for aggregate analysis, optional if nct_id is provided.

    • nct_id?: anyoptional

      NCT ID for single trial analysis. Example: 'NCT03661411'. If provided, analyzes only this trial's endpoints. Either nct_id or condition must be provided.

    • page_size?: integeroptional

      Number of trials to analyze. Default 50. Use 100-200 for comprehensive analysis, 20-30 for quick overview. More trials = more representative but slower.

    • phase?: anyoptional

      Filter by trial phase. Endpoints often differ by phase: - PHASE1/PHASE2: Often safety endpoints, biomarkers - PHASE3: Pivotal efficacy endpoints (most relevant for regulatory) - PHASE4: Real-world outcomes Example: ['PHASE3'] for registration-quality endpoints

    • start_date_after?: anyoptional

      Only analyze trials started after this date. Format: YYYY-MM-DD. Useful for seeing modern/recent endpoint trends. Example: '2020-01-01' for trials from 2020 onwards.

  • get_trial_detailsoutputSchema declared

    Get comprehensive details for a specific clinical trial using its NCT ID. WHEN TO USE: - User provides a specific NCT ID (e.g., 'Tell me about NCT04567890') - Need full eligibility criteria, endpoints, or locations for a specific trial - Following up on a trial found via search_trials - Answering detailed questions about a known trial - Verifying patient eligibility for a specific trial USE search_trials INSTEAD FOR: - Finding trials (this tool requires knowing the NCT ID) - Browsing trials by condition/intervention/sponsor WHAT THIS RETURNS: - Full eligibility criteria (inclusion/exclusion) -

    Input nct_id: string
    • nct_id: stringrequired

      NCT identifier for the clinical trial. Format: 'NCT' + 8 digits. Examples: 'NCT04567890', 'NCT00001234'. If user provides just the number, prepend 'NCT'. Case-insensitive.

  • search_by_eligibilityoutputSchema declared

    Find clinical trials matching specific patient eligibility criteria. Use this for patient-trial matching and finding trials a specific patient might qualify for. DEFAULT STATUS: Only searches RECRUITING trials. To include completed, upcoming, or all trials, explicitly set the status parameter. WHEN TO USE: - Patient matching: 'Find trials for a 65-year-old female with diabetes' - Specific criteria: 'Trials requiring HbA1c > 8%' or 'BRCA positive trials' - Age-restricted searches: 'Pediatric cancer trials' or 'Trials for elderly patients' - Finding trials by inclusion/exclusion criteria USE sea

    Input condition?: any, eligibility_keywords?: any, max_age?: any, min_age?: any, page_size?: integer, page_token?: any, sex?: any, status?: any
    • condition?: anyoptional

      Primary medical condition for the patient. Optional. Examples: 'diabetes', 'breast cancer', 'Alzheimer', 'heart failure'. Can be omitted if searching by other eligibility criteria only.

    • eligibility_keywords?: anyoptional

      Keywords to search in inclusion/exclusion criteria text. Examples: 'HbA1c > 8', 'BRCA mutation', 'ECOG 0-1', 'treatment naive', 'prior chemotherapy'. Searches the full eligibility criteria text for these terms.

    • max_age?: anyoptional

      Patient's age (upper bound for matching). Format: 'X Years' or 'X Months'. Examples: '75 Years', '12 Years'. Finds trials where the trial's MaximumAge requirement is at or above this value, meaning the patient meets the maximum age requirement.

    • min_age?: anyoptional

      Patient's age (lower bound for matching). Format: 'X Years' or 'X Months'. Examples: '18 Years', '65 Years', '6 Months'. Finds trials where the trial's MinimumAge requirement is at or below this value, meaning the patient meets the minimum age requirement.

    • page_size?: integeroptional

      Results per page. Default 10.

    • page_token?: anyoptional

      Pagination token from previous response.

    • sex?: anyoptional

      Patient's sex for eligibility matching: - MALE: Find trials accepting male patients - FEMALE: Find trials accepting female patients - ALL: No sex restriction (default behavior if not specified)

    • status?: anyoptional

      Trial recruitment status. Defaults to ['RECRUITING'] if not specified. For patient matching, usually want RECRUITING trials only. Add NOT_YET_RECRUITING to include upcoming trials.

  • search_by_sponsoroutputSchema declared

    Find all clinical trials sponsored by a specific company or organization. Functionally equivalent to search_trials(sponsor=...). WHEN TO USE: - Questions about a company's pipeline (e.g., 'What is Pfizer working on?') - Competitive intelligence (e.g., 'What cancer drugs is Novartis developing?') - Tracking pharma company portfolios and development programs - Finding trials from academic institutions (e.g., 'Mayo Clinic', 'NIH') USE search_trials INSTEAD FOR: - Disease-focused searches where sponsor doesn't matter - Finding trials by treatment name rather than sponsor EXAMPLES: - 'Pfizer Phase

    Input condition?: any, count_total?: boolean, page_size?: integer, page_token?: any, phase?: any, sponsor_name: string, status?: any
    • condition?: anyoptional

      Filter by disease/condition to focus on a therapeutic area. Examples: 'cancer', 'diabetes', 'COVID-19', 'Alzheimer'. Useful for questions like 'What is Pfizer doing in oncology?'

    • count_total?: booleanoptional

      Set true to get total count. Useful for 'How many trials does X sponsor?'

    • page_size?: integeroptional

      Results per page. Use 50-100 for comprehensive pipeline analysis.

    • page_token?: anyoptional

      Pagination token from previous response to get next page.

    • phase?: anyoptional

      Filter by development phase to analyze pipeline maturity: - PHASE1: Early development, safety focus - PHASE2: Mid-stage, efficacy testing - PHASE3: Late-stage, large trials before approval - PHASE4: Post-approval studies Select multiple for broader view: ['PHASE2', 'PHASE3']

    • sponsor_name: stringrequired

      Company or organization name. Examples: 'Pfizer', 'Moderna', 'Novartis', 'NIH', 'Mayo Clinic'. Partial matches work (e.g., 'Pfizer' finds 'Pfizer Inc' and 'Pfizer Pharmaceuticals').

    • status?: anyoptional

      Filter by trial status: - RECRUITING: Currently enrolling (active development) - COMPLETED: Finished trials (historical data) - ACTIVE_NOT_RECRUITING: Ongoing but closed to enrollment - TERMINATED: Stopped early (may indicate issues)

  • search_investigatorsoutputSchema declared

    Find principal investigators (PIs) and research sites conducting trials in a therapeutic area. WHEN TO USE: - 'Who are the leading researchers in Alzheimer trials?' - 'Find investigators at Mayo Clinic working on cancer' - 'Which sites in California are running diabetes trials?' - Site selection for planning new trials - Building investigator networks and collaborations USE search_trials FOR: - Finding trials themselves rather than investigators - When you need trial details, not investigator info WHAT THIS RETURNS: - Investigator names and roles (Principal Investigator, Sub-Investigator) - In

    Input condition?: any, institution?: any, investigator_name?: any, location?: any, page_size?: integer, status?: any
    • condition?: anyoptional

      Disease or therapeutic area to search. Optional. Examples: 'Alzheimer', 'breast cancer', 'diabetes', 'heart failure'. Finds investigators running trials in this area. Can be omitted if searching by institution or location only.

    • institution?: anyoptional

      Institution or facility name to filter by. Examples: 'Mayo Clinic', 'Duke University', 'MD Anderson', 'Johns Hopkins'. Takes precedence over location if both specified.

    • investigator_name?: anyoptional

      Direct search by investigator name. Examples: 'Smith', 'John Smith', 'Dr. Chen'. Searches in OverallOfficialName and ResponsiblePartyInvestigatorFullName fields. Use this when you know a specific investigator's name.

    • location?: anyoptional

      Geographic location to filter by. Examples: 'Boston', 'California', 'United States', 'Germany'. Use when institution is not specified.

    • page_size?: integeroptional

      Number of trials to analyze. More trials = more investigators found. Default 20. Use 50-100 for comprehensive investigator discovery.

    • status?: anyoptional

      Filter by trial status. Default searches all statuses. Use ['RECRUITING'] to find currently active investigators.

  • search_trialsoutputSchema declared

    Search ClinicalTrials.gov database for clinical trials. This is the PRIMARY tool for finding trials. WHEN TO USE: - Finding trials for a disease/condition (e.g., 'What trials exist for lung cancer?') - Finding trials testing a specific drug/treatment (e.g., 'Find pembrolizumab trials') - Finding trials in a geographic area (e.g., 'Clinical trials in Boston') - General trial discovery and research questions USE DIFFERENT TOOLS FOR: - Detailed info on a specific trial by NCT ID -> use get_trial_details - All trials by a specific company -> use search_by_sponsor (or search_trials with sponsor=...

    Input advanced_query?: any, condition?: any, count_total?: boolean, intervention?: any, location?: any, page_size?: integer, page_token?: any, phase?: any, sponsor?: any, status?: any, study_type?: any
    • advanced_query?: anyoptional

      Advanced query using Essie expression syntax. Only use when basic parameters are insufficient. Syntax: AREA[FieldName]value or AREA[FieldName]RANGE[min,max]. Examples: - Date filter: 'AREA[StartDate]RANGE[2023-01-01,MAX]' (trials started after Jan 2023) - Enrollment: 'AREA[EnrollmentCount]RANGE[100,MAX]' (100+ participants) - List size: 'AREA[Phase:size]2' (trials with exactly 2 phases) - Geo proximity: Use filter.geo parameter instead for distance-based searches

    • condition?: anyoptional

      Disease or condition to search. This is the most common search parameter. Examples: 'diabetes', 'lung cancer', 'Alzheimer', 'COVID-19'. Supports Boolean operators: 'diabetes AND neuropathy', 'cancer NOT skin'. Use quotes for exact phrases: '"type 2 diabetes"'. Medical synonyms are automatically included in search.

    • count_total?: booleanoptional

      Set to true to get total count of matching trials. Useful for questions like 'How many trials exist for X?'. Slightly slower.

    • intervention?: anyoptional

      Drug, treatment, or intervention name. Examples: 'pembrolizumab', 'metformin', 'CAR-T therapy', 'radiation'. Use OR for alternatives: 'aspirin OR ibuprofen OR naproxen'. Brand and generic names both work.

    • location?: anyoptional

      Geographic location for trial sites. Can be city, state, country, or region. Examples: 'Boston', 'California', 'United States', 'Germany', 'Europe'. Useful for finding trials patients can physically access.

    • page_size?: integeroptional

      Number of results per page. Default 10. Use 50-100 for comprehensive searches, 5-10 for quick lookups.

    • page_token?: anyoptional

      Token from previous response's next_page_token to get next page. Do not set for first request.

    • phase?: anyoptional

      Filter by trial phase. Values: - EARLY_PHASE1: Initial safety testing - PHASE1: Safety and dosage testing in small groups - PHASE2: Efficacy and side effects testing - PHASE3: Large-scale efficacy confirmation - PHASE4: Post-market surveillance - NA: Not applicable (observational studies) Can select multiple: ['PHASE2', 'PHASE3']

    • sponsor?: anyoptional

      Organization sponsoring or funding the trial. Examples: 'Pfizer', 'NIH', 'Novartis', 'Mayo Clinic'. For comprehensive sponsor analysis, use search_by_sponsor tool instead.

    • status?: anyoptional

      Filter by recruitment status. Common values: - RECRUITING: Actively enrolling patients (use this to find trials patients can join) - COMPLETED: Trial finished (use for historical research) - ACTIVE_NOT_RECRUITING: Ongoing but not enrolling - NOT_YET_RECRUITING: Approved but not started - TERMINATED/WITHDRAWN: Stopped early Can select multiple: ['RECRUITING', 'NOT_YET_RECRUITING']

    • study_type?: anyoptional

      Type of clinical study: - INTERVENTIONAL: Tests a treatment/intervention (most common for drug trials) - OBSERVATIONAL: Observes outcomes without intervention - EXPANDED_ACCESS: Provides experimental treatment outside trials