Skip to main content
Glama

AACT Clinical Trials MCP Server

by navisbio

AACT臨床試験MCPサーバー

概要

FastMCPフレームワークを用いてAACT(ClinicalTrials.govの集約分析)データベースへのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、AIアシスタントはClinicalTrials.govデータベースから臨床試験データを直接照会できます。

特徴

ツール

  • list_tables
    • AACTデータベースで利用可能なすべてのテーブルの概要を取得します
    • 分析前にデータベース構造を理解するのに役立ちます
  • describe_table
    • 特定のAACTテーブルの詳細な構造を調べる
    • 列名とデータ型を表示します
    • 例: {"table_name": "studies"}
  • read_query
    • AACT臨床試験データベースでSELECTクエリを実行する
    • 検証を使用してSQLクエリを安全に処理する
    • 例: {"query": "SELECT nct_id, brief_title FROM ctgov.studies LIMIT 5"}
  • append_insight
    • 分析中に発見された主要な発見事項と洞察を記録する
    • 分析的な物語を構築するのに役立ちます
    • 例: {"finding": "Phase 3 oncology trials have increased by 15% over the last 5 years"}

リソース

  • schema://database
    • データベーススキーマをJSONリソースとして返します
  • memo://insights
    • セッション中に収集された洞察のフォーマットされたメモを返します

構成

必要な環境変数

  • DB_USER : AACTデータベースのユーザー名
  • DB_PASSWORD : AACTデータベースのパスワード

セマンティックカーネルでの使用

from semantic_kernel import Kernel from semantic_kernel.connectors.mcp import MCPStdioPlugin # Create an AACT Clinical Trials MCP plugin aact_mcp = MCPStdioPlugin( name="aact", description="Clinical Trials Database Plugin", command="uvx", args=["mcp-server-aact"], env={ "DB_USER": "your_aact_username", "DB_PASSWORD": "your_aact_password" } ) # Add to Semantic Kernel kernel = Kernel() kernel.add_plugin(aact_mcp)

プロンプトの例

このプラグインで使用するプロンプトの例を次に示します。

  1. 「乳がんの臨床試験で最も一般的な介入の種類は何ですか?」
  2. 「2023年に完了した第3相臨床試験の数はいくつですか?」
  3. 「各国の糖尿病試験の登録統計を表示してください」
  4. 「過去 5 年間に腫瘍学の試験結果が報告された割合はどのくらいですか?」

実装の詳細

このサーバーは以下を使用して構築されています:

  • モデルコンテキストプロトコル実装のためのFastMCP
  • PostgreSQL データベース接続用の Python psycopg2
  • ClinicalTrials.gov 情報のデータソースとしての AACT データベース

ライセンス

MITライセンス

貢献

貢献を歓迎します!ご協力をお願いします:

謝辞

このプロジェクトは、以下のコードからインスピレーションを受け、当初は以下のコードに基づいて作成されました。

私たちに道を示してくれたこれらの素晴らしいプロジェクトに感謝します!🙌

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

ClinicalTrials.gov AACT データベースへのアクセスを提供し、臨床試験データの分析、開発動向の追跡、治療環境に関する洞察の生成を可能にします。

  1. 概要
    1. 特徴
      1. ツール
      2. リソース
    2. 構成
      1. 必要な環境変数
    3. セマンティックカーネルでの使用
      1. プロンプトの例
        1. 実装の詳細
          1. ライセンス
            1. 貢献
              1. 謝辞

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  Enables searching for drugs and exploring ontology terms in the Cortellis database, providing access to comprehensive drug development status information with structured JSON responses.
                  Last updated -
                  7
                  123
                  1
                  JavaScript
                  MIT License
                  • Linux
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  Provides LLMs with structured access to critical biomedical databases including PubTator3 (PubMed/PMC), ClinicalTrials.gov, and MyVariant.info through the Model Context Protocol.
                  Last updated -
                  14
                  237
                  Python
                  MIT License
                  • Apple
                  • Linux
                • -
                  security
                  A
                  license
                  -
                  quality
                  Provides AI assistants with direct query access to the AACT (Aggregate Analysis of ClinicalTrials.gov) database, allowing structured retrieval and analysis of clinical trial data.
                  Last updated -
                  15
                  Python
                  GPL 3.0
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that enables Claude Desktop to search clinicaltrials.gov for matching clinical trials based on genetic mutations provided in natural language queries.
                  Last updated -
                  Python
                  MIT License
                  • Apple

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/navisbio/ctgov_MCP'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server