# ClinicalTrials.gov MCP by usefulapi

> ClinicalTrials.gov MCP by usefulapi is a freemium MCP server for health and science. Hosted MCP server to search and read ClinicalTrials.gov studies from AI chat apps. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** API, Web, vscode
- **Website:** https://usefulapi.io/clinicaltrialsgov/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/clinicaltrialsgov
- **MCP Registry name:** io.usefulapi/clinicaltrialsgov
- **Categories:** health and science
- **Listing updated:** 2026-11-18

## About

The server connects Claude, ChatGPT, Cursor and other MCP clients to the public ClinicalTrials.gov v2 registry. Once connected, an assistant can search studies by condition, intervention, sponsor, location and status, then open a single trial by its NCT identifier to read eligibility rules, outcomes or other selected fields.

Beyond search, it offers tools to count matching studies, list valid status and phase values, and browse the study data model so filters can be built correctly. Results can be sorted by enrollment or last update date, which helps when comparing the largest or most recently changed trials for a sponsor.

It suits researchers, health writers and analysts who want registry lookups inside an AI conversation. The README notes it is an independent service with no affiliation to ClinicalTrials.gov, and login is by email code rather than an API key.

## Features

- **Condition and location search:** Finds studies by condition, intervention, sponsor, title, location and status, with combined query terms.
- **Single trial lookup:** Fetches one study by NCT ID and can return only selected fields or modules.
- **Study counting:** Returns how many registry studies match a query without retrieving each record.
- **Sorting by enrollment or update:** Orders results by relevance, enrollment count or last update date.
- **Field value discovery:** Lists valid enum values and the study data model to help construct accurate filters.
- **Email code sign-in:** Uses OAuth with an email and 6-digit code, so no ClinicalTrials.gov key is needed.

## Good for

- Find recruiting phase 3 trials for a given condition in a specific region
- Pull eligibility criteria and outcome measures for a known NCT ID
- Gauge how many registered trials exist for a research topic
- Compare a sponsor's largest or most recently updated studies

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http clinicaltrialsgov https://clinicaltrialsgov.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://clinicaltrialsgov.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "clinicaltrialsgov": {
      "url": "https://clinicaltrialsgov.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "clinicaltrialsgov": {
      "type": "http",
      "url": "https://clinicaltrialsgov.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "clinicaltrialsgov": {
      "serverUrl": "https://clinicaltrialsgov.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "clinicaltrialsgov": {
      "type": "http",
      "url": "https://clinicaltrialsgov.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `clinicaltrialsgov_search_studies`: Search the ClinicalTrials.gov v2 study registry with query terms, filters, sorting and paging.
- `clinicaltrialsgov_get_study`: Fetch a single study by NCT ID, optionally limited to selected fields.
- `clinicaltrialsgov_count_studies`: Return the number of studies matching a query.
- `clinicaltrialsgov_list_field_values`: List value statistics and valid enum values for study fields.
- `clinicaltrialsgov_get_study_metadata`: Return the study data-model field tree.
- `clinicaltrialsgov_get_studies_stats`: Return overall study-size statistics for the registry.
- `clinicaltrialsgov_get_api_version`: Return the ClinicalTrials.gov API version and data snapshot timestamp.
- `clinicaltrialsgov_usage_status`: Report current plan usage and remaining calls.
- `clinicaltrialsgov_request_feature`: Send a request for a capability the tools do not yet provide.
- `clinicaltrialsgov_upgrade`: Start a Pro or Pro+ subscription or change an existing Pro plan to Pro+.
- `clinicaltrialsgov_cancel_subscription`: Cancel the Pro subscription at the end of the paid period.

## FAQ

### Do I need a ClinicalTrials.gov account or API key?

No. The server needs no credential for ClinicalTrials.gov. You sign in to the server with your email address and a 6-digit code.

### Is this an official ClinicalTrials.gov product?

No. usefulapi is an independent service and is not affiliated with or endorsed by ClinicalTrials.gov. It calls the public ClinicalTrials.gov API.

### Can the AI modify registry data through this server?

No. All seven ClinicalTrials.gov tools are marked read-only.

### What does it cost?

A free plan allows 50 tool calls per month. Pro is $9/mo or $90/yr for 10,000 calls, and Pro+ is $39/mo or $390/yr for 100,000 calls.

### Is ClinicalTrials.gov MCP by usefulapi free?

ClinicalTrials.gov MCP by usefulapi has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add ClinicalTrials.gov MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http clinicaltrialsgov https://clinicaltrialsgov.usefulapi.io/mcp

### What are the best alternatives to ClinicalTrials.gov MCP by usefulapi?

The closest alternatives to ClinicalTrials.gov MCP by usefulapi are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Later Stages](https://ai-powered.com/mcp/later-stages): Later Stages is a free MCP server for health and science.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.
- [Splyt](https://ai-powered.com/mcp/splyt): Splyt is a free MCP server for health and science.
- [Health Agent](https://ai-powered.com/mcp/health-agent): Health Agent is an MCP server for health and science.
- [Pausila](https://ai-powered.com/mcp/pausila): Pausila is a free MCP server for local services.

---
Source: https://ai-powered.com/mcp/clinicaltrials-gov-mcp-by-usefulapi
