Agentβ™₯︎Age
Catalog

io.github.wei-ai-lab/clinical-trial-design

Official

by wei-ai-lab Β· R

Phase 2/3 clinical trial design via gsDesign / gsDesign2: sample size, GS boundaries, multiplicity

io.github.wei-ai-lab/clinical-trial-design (MCP Server)

This MCP server provides end-to-end Phase 2/3 clinical trial design through a conversational interface. It targets sample size calculation, group-sequential (GS) boundaries, and multiplicity, using validated R packages including gsDesign, gsDesign2, and graphicalMCP. It is provided alongside a Claude Code plugin.

πŸ› οΈ Key Features

  • Phase 2/3 confirmatory study design
  • Sample size, GS boundaries, and multiplicity support
  • R-backed implementations via gsDesign, gsDesign2, and graphicalMCP
  • Tooling described as β€œNine MCP tools” for multiple endpoint frameworks
  • Supports single-primary endpoint and multi-hypothesis designs

πŸš€ Use Cases

  • Designing single-primary endpoint trials (binary, continuous, time-to-event)
  • Time-to-event designs under proportional hazards (PH) and non-proportional hazards (NPH) frameworks
  • Co-primary, multi-population, and graphical multiplicity / Maurer-Bretz multi-hypothesis designs
  • Monte-Carlo verification for trial designs

⚑ Developer Benefits

  • Developer-focused integration via the Model Context Protocol (MCP)
  • Reusable design logic grounded in gsDesign and gsDesign2
  • Graphical multiplicity support via graphicalMCP
  • Works with tools exposed by the MCP server (nine tools stated)

⚠️ Limitations

  • Pre-beta release status: v0.0.13 (pre-beta)
  • Coverage described for confirmatory Phase 2 and Phase 3 designs and the endpoint/framework set mentioned in the excerpt

Topics

ai-agentsanthropicbiostatisticsclaude-codeclaude-code-pluginclinical-trial-designclinical-trialsgroup-sequentialgsdesignmcpmcp-servermodel-context-protocolphase-3rr-packagesample-sizemulti-hypothesisnon-proportional-hazardsword-reportgraphicalmcp