NestDaddy

Clinical Trial Design

io.github.wei-ai-lab/clinical-trial-design · v0.0.12

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

Connect Runs on your machine

Terminal
claude mcp add clinical-trial-design -e DESIGNR_RSCRIPT=<DESIGNR_RSCRIPT> -e DESIGNR_LAUNCHER=<DESIGNR_LAUNCHER> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<DESIGNR_LAUNCHER>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<DESIGNR_LAUNCHER>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "clinical-trial-design": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DESIGNR_RSCRIPT": "<DESIGNR_RSCRIPT>",
        "DESIGNR_LAUNCHER": "<DESIGNR_LAUNCHER>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DESIGNR_RSCRIPT
Optional
Optional override for the Rscript binary path. Defaults to whatever 'Rscript' resolves to on the system PATH. Set this if R isn't on PATH or you need a specific R version.
DESIGNR_LAUNCHER
Optional
Optional override for the R launcher path (the inst/launcher.R that sources the R sources and dispatches the JSON). Defaults to the bundled launcher. Set this only if you need to use a non-bundled R source tree.

Details

Package[email protected] (NPM, stdio)
First published29 Apr 2026
Last updated29 Apr 2026
Registry nameio.github.wei-ai-lab/clinical-trial-design

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.