clinical-trial-design MCP
An MCP server and Claude Code plugin for Phase 2/3 clinical trial design. It provides nine tools for single-primary endpoint design (binary, continuous, survival), multi-hypothesis design, Monte-Carlo verification, and Word/PDF reporting. Backed by R packages gsDesign, gsDesign2, and graphicalMCP, it helps biostatisticians design confirmatory studies through a conversational interface.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Design single-primary endpoints for binary, continuous, or survival data
- Configure multi-hypothesis designs including co-primary and Maurer-Bretz
- Perform Monte-Carlo verification of trial designs
- Generate Word or PDF reports for clinical trial designs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
clinical-trial-design 0.0.12
{
"version": "0.0.12",
"transport": "stdio",
"identifier": "clinical-trial-design",
"registryType": "npm",
"environmentVariables": [
{
"name": "DESIGNR_RSCRIPT",
"format": "string",
"description": "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."
},
{
"name": "DESIGNR_LAUNCHER",
"format": "string",
"description": "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."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"clinical-trial-design-mcp": {
"command": "npx",
"args": [
"-y",
"clinical-trial-design@0.0.12"
],
"env": {
"DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
"DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
}
}
}
}Cline
{
"mcpServers": {
"clinical-trial-design-mcp": {
"command": "npx",
"args": [
"-y",
"clinical-trial-design@0.0.12"
],
"env": {
"DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
"DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
}
}
}
}VS Code
{
"servers": {
"clinical-trial-design-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"clinical-trial-design@0.0.12"
],
"env": {
"DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
"DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"clinical-trial-design-mcp": {
"command": "npx",
"args": [
"-y",
"clinical-trial-design@0.0.12"
],
"env": {
"DESIGNR_RSCRIPT": "<YOUR_DESIGNR_RSCRIPT>",
"DESIGNR_LAUNCHER": "<YOUR_DESIGNR_LAUNCHER>"
}
}
}
}Let your agent find its tools
Find servers like clinical-trial-design MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.