Skip to content

clinical trial design for Grok

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

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

client:Grok transport:stdio runtime:npm

Install clinical trial design in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "clinical-trial-design": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<DESIGNR_LAUNCHER>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

clinical trial design in other clients