Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Clinical Trial Design
C
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Clinical Trial Design

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "clinical-trial-design": {
      "command": "npx",
      "args": [
        "-y",
        "clinical-trial-design"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

clinical-trial-design

A Claude Code plugin and MCP server for end-to-end clinical trial design.

clinical-trial-design helps biostatisticians and clinical trialists design Phase 2 and Phase 3 confirmatory studies through a conversational interface, backed by validated R packages (gsDesign, gsDesign2, graphicalMCP).

v0.0.13 β€” pre-beta. Nine MCP tools across single-primary endpoint design (binary, continuous, time-to-event under PH and four NPH frameworks), multi-hypothesis design (co-primary, multi-population, graphical multiplicity / Maurer-Bretz), Monte-Carlo verification, and Word/PDF reporting. Reasoning-chain schema with sponsor-confidential redaction. Operational kernel solves accrual ↔ duration ↔ N, plus optional max_n / max_duration feasibility warnings. 288/288 R tests, 18/18 MCP smoke. Published to npm (clinical-trial-design) and the official MCP registry (io.github.wei-ai-lab/clinical-trial-design). Full change history in CHANGELOG.md; API contract in API_STABILITY.md.

What it is

clinical-trial-design has four layers:

LayerRole
R package (r-package/ClinicalTrialDesign)Pure R statistical computation engine. Wraps and extends established packages (gsDesign, gsDesign2, graphicalMCP, simtrial) behind a unified result schema.
MCP server (mcp-server/)Exposes the R functions as typed tools over the Model Context Protocol so Claude Code β€” or any MCP client β€” can call them.
Skill (skills/clinical-trial-design/)Domain-expert prompt. Translates a user's design brief into the right tool calls and interprets results in clinical-trial terms; includes a 9-step Phase 3 orchestration workflow with waypoints.
Benchmark corpus (benchmarks/)176 curated public-trial designs across 21 family directories. Each case is human-readable Markdown plus machine-readable YAML with expected outputs and tolerances.

Plus an eval harness under eval/ (11 reproducible scenarios Γ— six scoring dimensions Γ— multi-vendor Claude family) and an examples gallery under examples/ (5 published trials reproduced end-to-end).

What clinical-trial-design actually computes

FamilyStatus
Fixed-sample binaryβœ… super / NI / equivalence
Fixed-sample continuousβœ… super / NI / equivalence
Fixed-sample TTE β€” PH log-rankβœ… super / NI
Fixed-sample TTE β€” NPH MaxCombo / RMST / milestoneβœ… superiority
Group-sequential binary / continuousβœ… super / NI; futility via test.type
Group-sequential TTE β€” PHβœ… super / NI; events via Schoenfeld + OBF inflation by default (regulatory-defensible; events_calc selector)
Group-sequential TTE β€” NPH (MaxCombo / WLR / AHR)βœ… superiority
Multi-hypothesis β€” co-primary endpointsβœ… fixed-sequence / alpha-split / Bonferroni
Multi-hypothesis β€” multi-population (subgroup + ITT)βœ… nested or disjoint relations
Multi-hypothesis β€” graphical (Maurer-Bretz)βœ… initial weights + transition matrix + Rule-3 validator
Adaptive (SSR, enrichment, selection)⏳ corpus has cases; wrappers are roadmap
MAMS / platform / basket / umbrella⏳ corpus has cases; wrappers are roadmap

Status

LayerState
R packageβœ… 288/288 testthat
MCP serverβœ… 9 tools over stdio, esbuild bundle, 18/18 smoke
Skillβœ… 9-step Phase 3 orchestration workflow + waypoints
Benchmark corpusβœ… 176 curated public-trial cases / 21 families
Plugin manifestβœ… .claude-plugin/plugin.json + marketplace.json
npm packageβœ… clinical-trial-design@0.0.13 published 2026-04-29
Official MCP registryβœ… io.github.wei-ai-lab/clinical-trial-design
CI release-gateβœ… .github/workflows/release-gate.yml (R tests + R CMD check + MCP build/smoke + scenario validation)
LLM benchmark harnessβœ… 11 scenarios Γ— 6-dimension rubric (eval/)
Pre-beta hand-offβœ… items tracked in BETA_HANDOFF.md

Tool surface

Nine MCP tools β€” three single-primary design tools, three multi-hypothesis design tools, three meta tools. Same unified result schema across families.

Single-primary design tools (3)

ToolEndpointSelectorsR backend
design_binaryevent / no-eventdesign_class ∈ {"fixed", "group-sequential"}gsDesign::nBinomial, gsDesign::gsDesign
design_continuousmean differencedesign_class ∈ {"fixed", "group-sequential"}gsDesign::nNormal, gsDesign::gsDesign
design_survivaltime-to-eventdesign_class Γ— model ∈ {"ph", "maxcombo", "rmst", "milestone", "wlr", "ahr"}gsDesign::nSurv/gsSurv (PH); gsDesign2::fixed_design_* and gs_design_* (NPH)

All three accept comparison ∈ {"superiority", "non-inferiority", "equivalence"} (equivalence on fixed-sample binary / continuous only), alpha, power, sided, allocation_ratio, GS parameters (k, timing, sfu, sfl, test.type), an optional operational block, and an optional reasoning_chain array (citation trail with source_type tags).

design_survival adds events_calc ∈ {"schoenfeld" (default), "lachin-foulkes", "freedman"} for PH GS designs and accepts control_hazard_rate (events per patient-year) as an alternative to control_median.

Multi-hypothesis design tools (3)

ToolWhen to useStrategiesR backend
design_co_primaryTwo or more co-primary endpoints (PFS+OS, CV death+HHF, mixed binary+continuous)fixed-sequence (hierarchical, default), alpha-split (weighted), bonferroniPer-endpoint dispatch to single-primary tools at the appropriate effective alpha; total N = max across endpoints
design_multi_populationSame endpoint tested across multiple populations (biomarker subgroup + ITT, nested PD-L1 strata)Same three strategies; relation ∈ {"nested", "disjoint"}Same per-population dispatch; for nested, total N driven by largest implied-enrolled-N (events / prevalence); for disjoint, total N is the sum
design_graphical_multiplicityMulti-hypothesis with alpha recycling (Maurer-Bretz) β€” mixed primary+secondary, dose-responseGraphical procedure with user-supplied initial weights and transition matrix; built-in Rule-3 validatorgraphicalMCP::graph_create; per-hypothesis sample-size at worst-case alpha

Meta tools (3)

ToolPurpose
validate_against_benchmarkReplay a benchmark case through its matching design tool and diff against expected values within tolerance.
verify_designMonte Carlo cross-check of any result. Closed-form simulation under H0 and H1; Β±2 pp power / Β±0.5 pp Type I tolerance gate. Supports fixed and GS designs on binary, continuous, and PH-survival endpoints.
design_reportRender a clinician-readable design summary in markdown (default), Word (format="docx" via officer), or PDF (format="pdf" via rmarkdown + Pandoc). Reasoning chain rendered as a Word table; sponsor-confidential entries surface a redaction warning at the top of the document.

Operational kernel

Every endpoint design tool accepts an operational block that solves the simple relations accrual_rate Γ— accrual_duration = sample_size_total and total_trial_duration = accrual_duration + follow_up_duration (plus target_events = sample_size_total Γ— cumulative_event_rate(...) for survival, via uniroot over the closed-form pooled exponential-PH event probability β€” same kernel gsDesign::nSurv uses internally).

Supply any 0–4 of {accrual_rate, accrual_duration, follow_up_duration, total_trial_duration} plus optional caps {max_n, max_duration}. The solver fills in the missing values with an audit trail (given, derived); cap violations surface as structured feasibility_warnings rather than silent over-cap designs.

Quick start

Prerequisites: R β‰₯ 4.2, Node β‰₯ 18. No npm install step (the MCP server ships pre-bundled in mcp-server/dist/index.js) and no remotes::install_local step (the launcher sources r-package/ClinicalTrialDesign/R/*.R directly out of the plugin cache).

1. Install CRAN dependencies (one-time)

bash
R -e 'install.packages(c("gsDesign","gsDesign2","graphicalMCP","jsonlite","officer","rmarkdown"))'

The first four are runtime imports; officer and rmarkdown are Suggests: and only needed for design_report(format="docx") / format="pdf".

Tested dependency versions

clinical-trial-design v0.0.13 was developed and tested against the versions below. CRAN's latest is usually fine; pin to these floors only if you hit a version-skew issue.

LayerDependencyTested version
R runtimeR4.5.3 (works on R β‰₯ 4.2)
R importsgsDesign3.9.0
gsDesign21.1.8
graphicalMCP0.2.9
jsonlite2.0.0
R suggestsofficer0.6.x (for design_report(format="docx"))
rmarkdown2.20+ (for design_report(format="pdf"); Pandoc system dep)
simtrial1.0.2 (for verify_design Monte Carlo)
rpact4.4.0
yaml2.3.12
testthat3.3.2
Node runtimeNode22.22.1 (works on Node β‰₯ 18)
Node bundled@modelcontextprotocol/sdk^1.0.0 (inlined in dist/index.js)
zod^3.23.0 (inlined)

2. Install the plugin

Method A β€” slash commands (recommended, inside Claude Code)

text
/plugin marketplace add wei-ai-lab/clinical-trial-design
/plugin install clinical-trial-design@wei-ai-lab

After install, restart Claude Code so it loads the bundled MCP server. Confirm with /plugin (clinical-trial-design should be listed and enabled at version 0.0.13).

Method B β€” host shell (equivalent, scriptable)

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’
  • Servicegraph logoServicegraph

    Search 100k+ US professional-services firms by industry, services, location, size, ratings.

    πŸ’» Developer Tools0 views
    Compare vs Servicegraph β†’
  • FTX MCP β€” FactoryTalk Optix MCP Server logoFTX MCP β€” FactoryTalk Optix MCP Server

    MCP server for FactoryTalk Optix: author, preview, and verify Studio changes via the emulator.

    πŸ’» Developer Tools1 views
    Compare vs FTX MCP β€” FactoryTalk Optix MCP Server β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Clinical Trial Design

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "clinical-trial-design": { "command": "npx", "args": ["-y", "clinical-trial-design"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClinical Trial Design AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/clinical-trial-design?style=directory)](https://allmcps.com/mcp/clinical-trial-design)
HTML Embed
<a href="https://allmcps.com/mcp/clinical-trial-design"><img src="https://allmcps.com/api/badge/clinical-trial-design?style=directory" alt="Clinical Trial Design on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Clinical Trial Design β†’Install in Claude DesktopInstall in CursorInstall in VS Code