Provides rich tools to search, retrieve, and analyze data from ClinicalTrials.gov API v2.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://clinicaltrials.caseyjhand.com/mcp
Seven tools for searching, discovering, analyzing, and matching clinical trials:
| Tool Name | Description |
|---|---|
clinicaltrials_search_studies | Search studies with full-text queries, filters, pagination, sorting, and field selection. |
clinicaltrials_get_study_record | Fetch a single study by NCT ID. Returns the full record: protocol, eligibility, outcomes, arms, interventions, contacts, and locations. |
clinicaltrials_get_study_count | Get total study count for a query without fetching data. Fast statistics and breakdowns. |
clinicaltrials_get_field_values | Discover valid values for API fields (status, phase, study type, etc.) with per-value counts. |
clinicaltrials_get_field_definitions | Browse the study data model field tree β piece names, types, nesting. Supports subtree navigation and keyword search. |
clinicaltrials_get_study_results | Extract outcomes, adverse events, participant flow, and baseline from completed studies. Optional summary mode reduces ~200KB payloads to ~5KB; outcomeLimit / adverseEventLimit cap full mode without leaving it. |
clinicaltrials_find_eligible | Match patient demographics and conditions to eligible recruiting trials. Provide age, sex, conditions, and location to find studies with matching eligibility criteria, contacts, and recruiting locations. |
| Resource | Description |
|---|---|
clinicaltrials://{nctId} | Fetch a single clinical trial study by NCT ID. Protocol JSON with capped locations/outcomes/references and results replaced by counts; omissions reported with the tool that retrieves them. |
| Prompt | Description |
|---|---|
analyze_trial_landscape | Adaptable workflow for data-driven trial landscape analysis using count + search tools. |
clinicaltrials_search_studiesPrimary search tool with full ClinicalTrials.gov query capabilities.
fields for a full-fidelity projection of specific leaves (a full single record is ~70KB β fetch one with get_study_record)clinicaltrials_get_study_resultsFetch posted results data for completed studies.
clinicaltrials_find_eligibleMatch a patient profile to eligible recruiting trials.
locationLimit) rather than every site the study registers worldwide, adds the nearest recruiting site when none of the matched ones is open, and discloses what was omittedBuilt on @cyanheads/mcp-ts-core:
none, jwt, oauth) for HTTP transportClinicalTrials.gov-specific:
A public instance is available at https://clinicaltrials.caseyjhand.com/mcp β no installation required. Point any MCP client at it via Streamable HTTP:
Add to your MCP client config (e.g., claude_desktop_config.json):
Or for Streamable HTTP:
Clone the repository:
Navigate into the directory:
Install dependencies:
All configuration is optional β the server works with defaults and no API keys.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/clinicaltrialsgov-mcp-server)<a href="https://allmcps.com/mcp/clinicaltrialsgov-mcp-server"><img src="https://allmcps.com/api/badge/clinicaltrialsgov-mcp-server?style=directory" alt="Clinicaltrialsgov MCP Server on AllMCPs" /></a>