AACT Clinical Trials MCP Server

AACT Clinical Trials MCP Server

aact-clinical-trials-mcp-server•bynavisbio

An MCP server for exploring AACT clinical trial data with read-only SQL and buffered pagination.

License: MIT•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Provides tools to confirm database connection, list tables, and inspect column names, types, distinct counts, and sample values.
  • •Executes a single read-only SELECT, CTE, or EXPLAIN query with buffered results and preview, and pages through buffered results without re-querying.
  • •Parses every read_query statement before it runs in a read-only database session.
  • •All tables join on nct_id.

BEST FOR

  • •Competitive landscape analysis of trial sponsors by phase and status.
  • •Drug pipeline searches across studies, interventions, and conditions, with phase values confirmed before querying.
  • •Mapping trial geography by querying facilities joined with conditions.

ABOUT AACT-CLINICAL-TRIALS-MCP-SERVER

AACT Clinical Trials MCP Server is cataloged as an MCP server attributed to navisbio. An MCP server for exploring AACT clinical trial data with read-only SQL and buffered pagination. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for AACT Clinical Trials MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What query types does the server accept?

Only one read-only SELECT, WITH, or EXPLAIN statement is accepted.

Can results be paged without re-running the query?

fetch_rows pages through buffered query results without re-querying.

Is the server read-only and does it store personal data?

This server is read-only and does not collect or store any personal data.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e84b1ebd71cf · 采集于 2026-11-13 08:13:42 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

AACT Clinical Trials MCP Server

Query the AACT (ClinicalTrials.gov) database directly from Claude. Explore 70+ tables of clinical trial data — studies, interventions, outcomes, sponsors, facilities — using read-only SQL with buffered pagination.

Why AACT over the ClinicalTrials.gov API?

The ClinicalTrials.gov API returns one JSON record per trial — useful for quick lookups, but awkward for analytics. Want the average duration of Phase 2 NSCLC trials from 2020-2025? With the API you'd filter trials, extract dates from each JSON record, then compute durations client-side. With AACT, that's a single SQL query.

A structured PostgreSQL database makes it far easier to aggregate, combine, and summarize clinical trial data in any way you need. And for AI-assisted analysis, SQL is a standard that LLMs handle extremely well — fewer mistakes, less context to manage, better performance, and lower cost compared to parsing bespoke API responses.

Note: This is an independent, third-party integration. It is not affiliated with or endorsed by the Clinical Trials Transformation Initiative (CTTI) or Duke University. However, we released a case study with CTTI on integrating their database with Claude - see AACT case study.

Tools

ToolDescription
database_infoConfirm database connection, server time, and data currency
list_tablesDiscover all available tables with approximate row counts
describe_tableInspect column names, types, distinct counts, and sample values
get_column_valuesGet distinct values for a column with counts — essential before filtering
search_columnsFind columns by keyword across all tables (e.g. masking -> designs.masking)
read_queryExecute a SELECT, CTE, or EXPLAIN query with buffered results and preview
fetch_rowsPage through buffered query results without re-querying

All tables join on nct_id.

Every read_query statement is parsed before it runs. Only one read-only SELECT, WITH, or EXPLAIN statement is accepted. It runs in a read-only database session and is cancelled after 2 minutes.

Setup

  1. Create a free account at https://aact.ctti-clinicaltrials.org/users/sign_up
  2. Install the plugin (see options below)
  3. Enter your AACT credentials when prompted

Installation

Download the latest .mcpb file from Releases and open it in Claude Desktop. You'll be prompted for your AACT credentials.

Option 2: Published package

Add to your claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "aact": {
      "command": "uvx",
      "args": ["mcp-server-aact"],
      "env": {
        "DB_USER": "your_username",
        "DB_PASSWORD": "your_password"
      }
    }
  }
}

Option 3: Docker

{
  "mcpServers": {
    "aact": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "--env", "DB_USER=your_username",
        "--env", "DB_PASSWORD=your_password",
        "navisbio/mcp-server-aact:latest"
      ]
    }
  }
}

Option 4: From source

git clone https://github.com/navisbio/AACT_clinicaltrials_MCP.git
cd AACT_clinicaltrials_MCP
uv sync
{
  "mcpServers": {
    "aact": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/AACT_clinicaltrials_MCP", "mcp-server-aact"],
      "env": {
        "DB_USER": "your_username",
        "DB_PASSWORD": "your_password"
      }
    }
  }
}

Example Prompts

1. Competitive landscape analysis

"Who are the top 10 sponsors of Phase 3 Alzheimer's disease trials? Break down by trial status."

The server will discover relevant tables, check enum values for phase and status, then build a query joining studies, conditions, and sponsors.

"Find all actively recruiting Phase 2 and Phase 3 trials for pembrolizumab in non-small cell lung cancer. Show NCT ID, title, enrollment, and lead sponsor."

Uses get_column_values to confirm phase format (PHASE2, PHASE3), then queries across studies, browse_interventions, and conditions.

3. Endpoint analysis

"What are the most common primary outcome measures in completed Phase 3 type 2 diabetes trials?"

Joins studies with outcomes to analyze endpoint patterns, grouped by outcome measure type.

4. Geographic distribution

"How many clinical trial sites does a typical rare disease trial have? Show the top countries by site count."

Queries the facilities table joined with conditions to map trial geography.

Privacy

This server is read-only and does not collect or store any personal data. See PRIVACY.md for details.

Troubleshooting

Connection or authentication errors

  • Verify your AACT credentials at https://aact.ctti-clinicaltrials.org/users/sign_in
  • The AACT database undergoes weekly maintenance (typically weekends) — try again later if the connection is refused
  • Ensure DB_USER and DB_PASSWORD are set correctly in your config

spawn uvx ENOENT error

The system cannot find uvx. Use the full path:

{
  "mcpServers": {
    "aact": {
      "command": "/Users/username/.local/bin/uvx",
      "args": ["mcp-server-aact"],
      "env": {
        "DB_USER": "your_username",
        "DB_PASSWORD": "your_password"
      }
    }
  }
}

Contributing

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for AACT Clinical Trials MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/aact-clinical-trials-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage