CDISC数据库MCP

allensrj/CDISC_Library_MCP
Hosted
1 Stars 367 次浏览 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "N3mZT_6ZnBkwf1ibURbbz": {
      "args": [
        "allensrj-cdisc-library-mcp"
      ],
      "baseUrl": "",
      "command": "uvx",
      "description": "",
      "env": {},
      "isActive": true,
      "name": "allensrj-cdisc-library-mcp",
      "registryUrl": "",
      "type": "stdio"
    }
  }
}

该服务需要配置环境变量:CDISC_API_KEY

可用工具 (18 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

get_product_list

Get the master list of all CDISC Library API products and their available versions. When users inquire about CDISC-related products, you can first search the product list using this tool. Use this tool when the user asks about available CDISC standards, supported versions (e.g., "What versions of SDTM are available?"), or wants to explore the catalog. Returns: A JSON string containing the list of products (href, title, type) and their classes.

该工具无需必填参数,直接调用即可

get_sdtmig_class_info 2 个参数 需填 1 项

Get SDTM Implementation Guide (SDTMIG) Class information or the list of Datasets within a class. Use this tool to: 1. List all available Observation Classes (if className is omitted). 2. List all Datasets (Domains) contained within a specific Class (e.g., 'Interventions'). This tool DOES NOT return detailed variables for datasets. It only returns the list/structure. If you want to get the detailed variables for a specific dataset, use `get_sdtmig_dataset_info` tool. Args: version: The SDTMIG version. all available versions: ["3-1-2", "3-1-3", "3-2", "3-3", "3-4", "ap-1-0", "md-1-0", "md-1-1"]. className: The name of the SDTMIG Class all available classes: ["GeneralObservations", "Interventions", "Events", "Findings", "FindingsAbout", "SpecialPurpose", "TrialDesign", "StudyReference", "Relationship"]. If omitted, returns the list of all available classes for the version. Returns: JSON string containing the Class details and the list of Datasets it contains, or an error message if the class is not found.

必填参数:version

get_sdtmig_dataset_info 2 个参数 需填 2 项

Get detailed metadata (variables, structure) for a specific SDTMIG Dataset (Domain). Use this tool when the user explicitly asks for the detailed variables, structure, or metadata of a specific domain (e.g., "Show me the variables in AE", "What is the structure of DM?"). Args: version: The SDTMIG version. all available versions: ["3-1-2", "3-1-3", "3-2", "3-3", "3-4", "ap-1-0", "md-1-0", "md-1-1"]. dataset: The 2-character domain code. If omitted, returns the list of all available datasets for the version. Returns: JSON string containing the detailed variable list and metadata for the requested dataset.

必填参数:version、dataset

get_sdtm_model_class_info 2 个参数 需填 1 项

Get Study Data Tabulation Model (SDTM) Class from CDISC Library. Use this tool to: 1. List all available SDTM Classes (if className is omitted). 2. Get detailed definition for a specific Class (e.g., 'Interventions'). Args: version: The SDTM version. Common values: ["1-2", "1-3", "1-4", "1-5", "1-6", "1-7", "1-8", "2-0", "2-1"]. className: The name of the SDTM Class: ["GeneralObservations", "Interventions", "Events", "Findings", "FindingsAbout", "SpecialPurpose", "AssociatedPersons", "TrialDesign", "StudyReference", "Relationship"]. If omitted, returns the list of all available classes for the version. Returns: JSON string containing the Class details, or an error message if the class is not found.

必填参数:version

get_sdtm_model_dataset_info 2 个参数 需填 1 项

Get Study Data Tabulation Model (SDTM) Dataset(domains) Definition (Core Metadata) from CDISC Library. Use this tool when the user explicitly asks for the detailed variables, structure, or metadata of a specific domain (e.g., "Show me the variables in DM", "What is the structure of RELREC?"). Args: version: The SDTM version. Common values: ["1-2", "1-3", "1-4", "1-5", "1-6", "1-7", "1-8", "2-0", "2-1"]. dataset: The name of the SDTM Dataset(domains). If omitted, returns the list of all available datasets for the version. Returns: JSON string containing the SDTM Dataset(domains) definition details, or an error message.

必填参数:version

get_sendig_class_info 2 个参数 需填 1 项

Get SEND Implementation Guide (SENDIG) Class from CDISC Library. Use this tool to: 1. List all available SENDIG Classes (if className is omitted). 2. Get detailed definition for a specific Class (e.g., 'Interventions'). Args: version: The SENDIG version. Common values: ["3-0", "3-1-1", "3-1", "ar-1-0", "dart-1-1", "genetox-1-0"]. className: The name of the SENDIG Class: ["GeneralObservations", "SpecialPurpose", "Interventions", "Events", "Findings", "TrialDesign", "Relationship"]. If omitted, returns the list of all available classes for the version. Returns: JSON string containing the Class details, or an error message if the class is not found.

必填参数:version

get_sendig_dataset_info 2 个参数 需填 1 项

Get SEND Implementation Guide (SENDIG) Dataset(domains) Definition (Core Metadata) from CDISC Library. Use this tool when the user explicitly asks for the detailed variables, structure, or metadata of a specific domain (e.g., "Show me the variables in LB", "What is the structure of DM?"). Args: version: The SENDIG version. Common values: ["3-0", "3-1-1", "3-1", "ar-1-0", "dart-1-1", "genetox-1-0"]. dataset: The name of the SENDIG Dataset(domains). If omitted, returns the list of all available datasets for the version. Returns: JSON string containing the SENDIG Dataset(domains) definition details, or an error message.

必填参数:version

get_cdashig_class_info 2 个参数 需填 1 项

Get CDASH Implementation Guide (CDASHIG) Classes from CDISC Library. Use this tool to list all available CDASHIG Classes (if className is omitted) or get detailed definition for a specific Class (e.g., 'Interventions'). Args: version: The CDASHIG version. Common values: ["1-1-1", "2-0", "2-1", "2-2", "2-3"]. className: ["Interventions", "Events", "Findings", "FindingsAbout", "SpecialPurpose"]. If omitted, returns the list of all available classes for the version. Returns: JSON string containing the CDASHIG Class details, or an error message.

必填参数:version

get_cdashig_domain_info 2 个参数 需填 1 项

Get CDASH Implementation Guide (CDASHIG) Domains from CDISC Library. Use this tool to list all available CDASHIG Domains (if domains is omitted) or get detailed definition for a specific Domain (e.g., 'AG'). Args: version: The CDASHIG version. Common values: ["1-1-1", "2-0", "2-1", "2-2", "2-3"]. domains: The CDASHIG Domain name. If omitted, returns the list of all available domains for the version. Returns: JSON string containing the CDASHIG Domain details, or an error message.

必填参数:version

get_cdashig_scenarios_info 2 个参数 需填 1 项

Get CDASH Implementation Guide (CDASHIG) Scenarios from CDISC Library. Use this tool to list all available CDASHIG Scenarios (if scenario is omitted) or get detailed definition for a specific Scenario (e.g., 'DS', "AE", "SAE"). Args: version: The CDASHIG version. Common values: ["1-1-1", "2-0", "2-1", "2-2", "2-3"]. scenario: The CDASHIG Scenario name. If omitted, returns the list of all available scenarios for the version. Returns: JSON string containing the CDASHIG Scenario details, or an error message.

必填参数:version

get_cdash_model_class_info 2 个参数 需填 1 项

Get CDASH Model Class from CDISC Library. Use this tool to list all available CDASH Model Class (if className is omitted) or get detailed definition for a specific Class (e.g., 'Interventions'). Args: version: The CDASH Model version. Common values: ["1-0", "1-1", "1-2", "1-3"]. className: ["Interventions", "Events", "Findings", "FindingsAbout", "SpecialPurpose", "Identifiers", "AssociatedPersonsIdentifiers", "Timing"]. If omitted, returns the list of all available classes for the version. Returns: JSON string containing the CDASH Model Class details, or an error message.

必填参数:version

get_cdash_model_domain_info 2 个参数 需填 1 项

Get CDASH Model Domain from CDISC Library. Use this tool to list all available CDASH Model Domain (if domain is omitted) or get detailed definition for a specific Domain (e.g., 'AG'). Args: version: The CDASH Model version. Common values: ["1-0", "1-1", "1-2", "1-3"]. domain: ["AE", "CO", "DM", "DS", "MH", "MS"]. If omitted, returns the list of all available domains for the version. Returns: JSON string containing the CDASH Model Domain details, or an error message.

必填参数:version

get_adam_product_info 1 个参数 需填 1 项

Get ADAM Product and Datastructures information from CDISC Library. Use this tool to get ADAM product data, and datastructures information. Args: product: The ADAM product type. Common values: adam-2-1, adam-adae-1-0, adam-md-1-0, adam-nca-1-0, adam-occds-1-0, adam-occds-1-1, adam-poppk-1-0, adam-tte-1-0, adamig-1-0, adamig-1-1, adamig-1-2, adamig-1-3. Returns: JSON string containing the ADAM product details and datastructures information, or an error message.

必填参数:product

get_adam_datastructure_info 2 个参数 需填 2 项

Get ADAM Datastructure information from CDISC Library. Use this tool to get specific ADAM datastructure data. Args: product: The ADAM product type. Valid values: adam-nca-1-0 (ADNCA), adamig-1-0/1-1 (ADSL, BDS), adam-occds-1-0 (OCCDS), adam-occds-1-1 (OCCDS, AE), adam-adae-1-0 (ADAE), adam-poppk-1-0 (ADPPK), adam-tte-1-0 (ADTTE), adamig-1-2 (ADSL, BDS), adam-md-1-0 (ADDL, MDOCCDS, MDBDS, MDTTE), adamig-1-3 (ADSL, BDS, TTE). datastructure: The datastructure name. Must be a valid combination with the product. Returns: JSON string containing the ADAM datastructure details, or an error message.

必填参数:product、datastructure

get_qrs_info 2 个参数 需填 2 项

Get QRS Instrument Product information from CDISC Library. Use this tool to get specific QRS Instrument Product data. Args: instrument: The QRS Instrument name. Valid values: AIMS01 (2-0), APCH1 (1-0), ATLAS1 (1-0), CGI02 (2-1), HAMA1 (2-1), KFSS1 (2-0), KPSS1 (2-0), PGI01 (1-1), SIXMW1 (1-0). version: The version for the instrument (must match the valid combination). Returns: JSON string containing the QRS Instrument Product details, or an error message.

必填参数:instrument、version

get_package_ct_info 1 个参数 需填 1 项

Get Package CT Product information from CDISC Library. adamct — Controlled terminology for ADaM. cdashct — for CDASH. coact — Clinical Outcome Assessments. ddfct — Data Definition Framework. define-xmlct — Define-XML. glossaryct — CDISC Glossary. mrctct — MRCT. protocolct — protocol-related. Args: package: The Package CT Product name (e.g. adamct-2014-09-26, cdashct-2016-03-25, sdtmct-2024-03-29, etc.). Must be in the known packages list. Returns: JSON string containing the Package CT details (codelists/terms with conceptId, submissionValue), or an error message.

必填参数:package

get_package_ct_codelist_info 2 个参数 需填 2 项

Get a specific Codelist within a Package CT Product from CDISC Library. Args: package: The Package CT Product name (must be in the known packages list). codelist: The codelist identifier (e.g. C103458). Returns: JSON string containing the Codelist details, or an error message.

必填参数:package、codelist

get_package_ct_codelist_term_info 3 个参数 需填 3 项

Get a specific Term within a Codelist of a Package CT Product from CDISC Library. Args: package: The Package CT Product name (must be in the known packages list). codelist: The codelist identifier (e.g. C103458). term: The term identifier (e.g. C103531). Returns: JSON string containing the Controlled terminology term details, or an error message.

必填参数:package、codelist、term

服务介绍

CDISC Library MCP

基于 CDISC Library API 的 MCP(Model Context Protocol)服务,为 AI 助手提供 SDTM、ADaM、CDASH、Controlled Terminology 等标准查询能力,MCP内部调用CDISC Library API获取CDISC数据库信息。
本项目由Allen Sun完成,非CDISC官方提供。

配置 API Key(必填)

本包不包含任何 API Key,用户需自行在 CDISC Library 注册并获取 API Key

提供的工具概览

类别 工具示例
产品列表 get_product_list
SDTM / SEND get_sdtmig_class_info, get_sdtmig_dataset_info, get_sdtm_model_*, get_sendig_*
CDASH / CDASHIG get_cdashig_class_info, get_cdashig_domain_info, get_cdash_model_*
ADaM get_adam_product_info, get_adam_datastructure_info
QRS get_qrs_info
Controlled Terminology get_package_ct_info, get_package_ct_codelist_info, get_package_ct_codelist_term_info

以上工具可以结合大语言模型问答,实现调取官方CDISC Library API查询:

  1. CDISC Library产品列表
  2. SDTM Model、SDTMIG相关内容;
  3. SEND Model、SENDIG相关内容;
  4. CDASH Model、CDASHIG相关内容;
  5. ADaM Model、ADaMIG相关内容;
  6. QRS相关内容;
  7. Terminology中codelists以及terms相关内容。

相关 MCP 服务