AACT临床试验MCP服务器
概述
模型上下文协议 (MCP) 服务器实现,使用 FastMCP 框架提供对 AACT(ClinicalTrials.gov 汇总分析)数据库的访问。该服务器允许 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 数据库密码
与语义内核一起使用
示例提示
以下是一些与该插件一起使用的示例提示:
“乳腺癌临床试验中最常见的干预类型有哪些?”
“2023年完成了多少项3期临床试验?”
“向我展示不同国家糖尿病试验的入组统计数据”
“过去 5 年内有多少比例的肿瘤学试验报告了结果?”
实现细节
该服务器使用以下方式构建:
FastMCP 用于模型上下文协议实现
用于 PostgreSQL 数据库连接的 Python psycopg2
AACT 数据库作为 ClinicalTrials.gov 信息的数据源
执照
MIT 许可证
贡献
欢迎投稿!请:
在 GitHub 上打开一个问题
开始讨论
致谢
该项目的灵感来自以下代码,并最初基于以下代码:
感谢这些出色的项目为我们指明了方向!🙌
This server cannot be installed
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 数据库的访问,从而能够分析临床试验数据、跟踪发展趋势并生成治疗前景洞察。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables 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 -71231MIT License
- AsecurityAlicenseAqualityProvides LLMs with structured access to critical biomedical databases including PubTator3 (PubMed/PMC), ClinicalTrials.gov, and MyVariant.info through the Model Context Protocol.Last updated -35304MIT License
- -securityAlicense-qualityProvides 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 -16GPL 3.0
- -securityAlicense-qualityA 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 -MIT License
Appeared in Searches
- A server for finding information on writing or researching a thesis
- Research on Patient-Disease-Gene-Drug Relationships and Pharmacogenomics Using Digital Imaging Data
- A database of diseases with associated genetic variants and sequencing information
- Resources or information related to academic topics
- A server for finding academic research and resources