A/B Test Sample Size Calculator MCP
Server Details
Exact A/B test sample size, duration, z-test, chi-square, Fisher-Freeman-Halton and peeking risk.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- theluckystrike/ab-test-sample-size-calculator-mcp
- GitHub Stars
- 0
- Server Listing
- ab-test-sample-size-calculator-mcp
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 5 tools
The tools split cleanly across the A/B workflow: planning (calculate_sample_size, estimate_test_duration), peeking (check_peeking_risk), and post-hoc analysis (test_ab_significance, fisher_exact_test). Minor overlap exists because estimate_test_duration internally recomputes sample size like calculate_sample_size, and both test_ab_significance and fisher_exact_test can return a Fisher exact p for the same 2x2 table, but the descriptions make the intended division (2x2 with conversions vs. general r x c tables) readable.
Four of five names follow a verb_noun pattern (calculate_, check_, estimate_, test_), which is predictable and readable. Only fisher_exact_test deviates with a noun-first statistic name, a minor consistency break that does not hinder identification.
Five tools is well-scoped for a focused statistical calculator, and each tool earns its place by covering a distinct phase of the A/B lifecycle. No tool feels padded or redundant enough to remove.
The surface covers planning, duration, sequential monitoring, and result significance, which is a solid lifecycle for A/B testing. Gaps are minor: no reverse power/sample-size lookup, no multi-variant post-hoc correction at analysis time (only Bonferroni at design), and no Bayesian or sequential analysis beyond the boundary table.
Available Tools
5 toolscalculate_sample_sizeA/B test sample size calculatorARead-onlyIdempotentInspect
Exact sample size per variant for an A/B test on a conversion rate (two independent proportions): baseline rate, minimum detectable effect (relative or absolute), alpha, power, one or two-sided, several variants with optional Bonferroni, and unequal allocation. Uses the pooled/unpooled normal formula (same as R power.prop.test) and also reports the figure Evan Miller's calculator gives, so the two can be reconciled.
Inputs: mde (required), baseline_rate (required), alpha, power, +5 more.
check_peeking_riskA/B test peeking and sequential testing riskARead-onlyIdempotentInspect
What peeking does to an A/B test: the real false positive rate if you check a fixed-horizon test K times and stop at the first p < alpha (for example about 14% at 5 looks with alpha 0.05), and the Pocock and O'Brien-Fleming group sequential boundaries (z and nominal p per look) that keep the overall rate at alpha, for up to 10 equally spaced looks.
Inputs: looks (required), alpha.
estimate_test_durationA/B test duration estimatorARead-onlyIdempotentInspect
How many days an A/B test must run: from a known sample size per variant, or from baseline rate and MDE (computed as in calculate_sample_size), plus daily visitors and the share of traffic in the test. Returns exact days and the recommended whole weeks (to cover weekday effects).
Inputs: daily_visitors (required), mde, alpha, power, +5 more.
fisher_exact_testFisher exact and Fisher-Freeman-Halton testARead-onlyIdempotentInspect
Exact p-value for a contingency table of counts. 2x2: Fisher exact test (two-sided, greater or less, as R fisher.test). Larger r x c tables (for example 3 variants x converted/not, or 4 x 4 survey tables): Fisher-Freeman-Halton exact test by a network algorithm. Also returns Pearson chi-square and how many cells have expected counts below 5, so you can see when the chi-square approximation is unsafe.
Inputs: table (required), alternative.
test_ab_significanceA/B test significance calculatorARead-onlyIdempotentInspect
Is an A/B test result statistically significant? From visitors and conversions per group: two-proportion z-test (pooled), one or two-sided p-value, Wald confidence interval for the difference, relative lift, Pearson chi-square with and without Yates correction (R prop.test), Fisher exact p for the same 2x2 table, and a sample ratio mismatch (SRM) check against the planned split.
Inputs: control_visitors (required), variant_visitors (required), control_conversions (required), variant_conversions (required), +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Exact statistics & probability: distributions, hypothesis tests, CIs, Bayesian updates, regression.
Detect hiring adverse impact and estimate whether a selection method is worth its cost.
Build, inspect and read adaptive A/B tests. Config travels in the URL; no account or API key needed.
Compute exact min/km, min/mile, and 400m track splits for 5K, 10K, Half Marathon, and Marathon.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables agents to calculate how many evaluation test cases are needed to trust model comparisons, find the smallest detectable accuracy gap, and assess paired or unpaired results using McNemar and two-proportion statistical tests.4MIT
- AlicenseAqualityBmaintenanceGive AI agents 10 offline tools for market observations, repeated headlines, forecast evaluation, correlation risk and statistical checks. Preserve source clocks, missing data and stated assumptions. Python, CLI and MCP share the same zero-dependency core; no feed collection or trade execution.1028 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceProvides honest A/B test verdicts using interactive cards, with statistical calculations for conversion rates, sample sizes, and Bayesian probability-to-beat.MIT
- AlicenseAqualityCmaintenanceEval-integrity statistics for AI benchmark claims — multiple-testing correction, power/MDE for model gaps, judge-bias and leaderboard-rank checks. Catches a benchmark number that won't survive a second look.9MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.