NA

navisbio/aact_clinicaltrials_mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 19 forks 品質 80 トレンド 8MIT

Claude から直接 AACT (ClinicalTrials.gov) データベースをクエリします。 臨床試験データの70以上の表を探索 — 研究、介入、結果、スポンサー、施設 — 読み取り専用のSQLを使用して...

概要

Claude から直接 AACT (ClinicalTrials.gov) データベースをクエリします。 臨床試験データの70以上の表を探索する — 研究、介入、結果、スポンサー、施設 — 既読のみのSQLを使用して、緩衝されたペジネーション。 ClinicalTrials.gov API は 1 つの JSON レコードを 1 件ずつ返します。これは、クイックルックアップに役立ちますが、分析のための awkward です。 2020-2025からフェーズ2 NSCLC試験の平均期間をしたいですか? トライアルをフィルタリングした API では、JSON レコードごとに日付を抽出し、クライアント側で時間を計算します。 AACTでは、単一のSQLクエリです。 PostgreSQLデータベースの構造化により、必要なあらゆる方法で臨床試験データがはるかに簡単になります。 そして、AI-assisted分析のために、SQLはLMが非常にうまく処理する標準です - 少数の間違い、管理するより少ないコンテキスト、より良いパフォーマンス、および別注API応答を解析と比較してコストを削減します。 これは独立したサードパーティの統合です.

概要(AI 翻訳)

Claude から直接 AACT (ClinicalTrials.gov) データベースをクエリします。 臨床試験データの70以上の表を探索する — 研究、介入、結果、スポンサー、施設 — 既読のみのSQLを使用して、緩衝されたペジネーション。

なぜ臨床Trials.gov API上でAACT?

ClinicalTrials.gov API は 1 つの JSON レコードを 1 件ずつ返します。これは、クイックルックアップに役立ちますが、分析のための awkward です。 2020-2025からフェーズ2 NSCLC試験の平均期間をしたいですか? トライアルをフィルタリングした API では、JSON レコードごとに日付を抽出し、クライアント側で時間を計算します。 AACTでは、単一のSQLクエリです。

PostgreSQL データベースの構造化により、必要ない方法で** 臨床試験データをaggregate、コンバイン、および summarize にはるかに簡単になります。 そして、AI-assisted分析のために、SQLはLMが非常にうまく処理する標準です - 少数の間違い、管理するより少ないコンテキスト、より良いパフォーマンス、および別注API応答を解析と比較してコストを削減します。

注記: これは独立したサードパーティの統合です。 治験変換イニシアティブ(CTTI)またはデューク大学が提携または支持するものではありません.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

Tool Description
database_info Confirm database connection, server time, and data currency
list_tables Discover all available tables with approximate row counts
describe_table Inspect column names, types, distinct counts, and sample values
get_column_values Get distinct values for a column with counts — essential before filtering
search_columns Find columns by keyword across all tables (e.g. masking -> designs.masking)
read_query Execute a SELECT, CTE, or EXPLAIN query with buffered results and preview
fetch_rows Page 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",
GitHub で README 全文を見る

インストール

uvx mcp-server-aact
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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