Meta Workbench MCP
v1.0.0Sample size, forest & funnel plots, RoB 2, PRISMA 2020, GRADE tables — local meta-analysis tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sample_size Sample size calculator
Sample size for a two-group comparative study using normal approximations (same formulas as the Meta Workbench web calculator). design='means': two independent means (needs diff, sd1, sd2). design='proportions': two independent proportions, pooled-null variance, no continuity correction (needs p1, p2 as fractions). design='noninferiority': continuous (sd1/sd2, expectedDiff, margin) or binary (p1/p2, margin) endpoint. Returns per-group analysable n, total, and the attrition-adjusted recruitment target.
| Parameter | Type | Description |
|---|---|---|
design * | string | Study design to size |
alpha | number | Significance level (default 0.05; non-inferiority uses one-sided alpha, default 0.025) |
attrition | number | Expected attrition in percent (default 0) |
diff | number | [means] Absolute difference to detect |
direction | string | [noninferiority] Which direction is better (default 'higher') |
endpoint | string | [noninferiority] Endpoint type (default 'means') |
expectedDiff | number | [noninferiority-means] Expected difference, new − reference (default 0) |
margin | number | [noninferiority] Non-inferiority margin (same units as the endpoint; a fraction for binary) |
p1 | number | [proportions] Event proportion group 1, as a fraction 0–1 (for non-inferiority binary: new group) |
p2 | number | [proportions] Event proportion group 2, as a fraction 0–1 (for non-inferiority binary: reference group) |
power | number | Power in percent, e.g. 80 (default 80) |
ratio | number | Allocation ratio (default 1). Means/proportions: group 2 : group 1. Non-inferiority: reference : new |
sd1 | number | [means] SD group 1 / [noninferiority-means] SD of new group |
sd2 | number | [means] SD group 2 / [noninferiority-means] SD of reference group |
sided | string | Test sidedness for means/proportions (default 'two'); non-inferiority is always one-sided |
forest_plot Forest plot with DerSimonian–Laird pooling
Pool study-level effect sizes by inverse variance (fixed-effect and DerSimonian–Laird random-effects, with Q, I², τ²) and draw a forest plot as SVG. Standard errors are recovered from the 95% CIs. In MCP Apps hosts an interactive view renders inside the conversation; elsewhere the result carries the same plot as SVG text plus the pooled numbers.
| Parameter | Type | Description |
|---|---|---|
studies * | array | One entry per study; effect and CI on the reported scale |
measure | string | Effect measure (default 'OR'). OR/RR are pooled on the log scale |
model | string | Which pooled rows to draw (default 'both'). Both pooled estimates are always computed and returned |
rob_traffic_light RoB 2 traffic-light plot
Draw a robvis-style RoB 2 traffic-light plot (SVG) from per-domain judgements, plus the summary bar plot (SVG). The overall judgement follows the RoB 2 rule unless overridden per study. Studies with 'some concerns' in 2+ domains are flagged † (RoB 2 allows considering an overall High there; never applied silently).
| Parameter | Type | Description |
|---|---|---|
studies * | array | |
weighted | boolean | Weight the summary plot by sample size N (default false) |
prisma_diagram PRISMA 2020 flow diagram
Draw a PRISMA 2020 flow diagram (SVG) for a review that searched databases and registers. Derived counts are computed for you: records screened = identified − removed before screening; reports sought = screened − excluded; reports assessed = sought − not retrieved.
| Parameter | Type | Description |
|---|---|---|
databases * | integer | Records identified from databases |
studiesIncluded * | integer | Studies included in the review |
automationRemoved | integer | Records marked ineligible by automation tools (default 0) |
duplicatesRemoved | integer | Duplicate records removed (default 0) |
exclusionReasons | array | Full-text exclusion reasons with counts, e.g. 'Wrong population (n = 24)' |
fullTextExcluded | integer | Reports excluded at full-text stage (default 0) |
notRetrieved | integer | Reports not retrieved (default 0) |
otherRemoved | integer | Records removed for other reasons (default 0) |
registers | integer | Records identified from registers (default 0) |
reportsIncluded | integer | Reports of included studies (defaults to studiesIncluded) |
screenExcluded | integer | Records excluded at title/abstract screening (default 0) |
funnel_plot Funnel plot with Egger's and Begg's tests
Draw a funnel plot (SVG) from study effects and standard errors given on the analysis scale (e.g. log OR), with pseudo 95% confidence limits around the pooled effect, and test for funnel-plot asymmetry: Egger's regression test (intercept, SE, t, df, p) and Begg's rank-correlation test (Kendall's τ, p). The pooled centre is the fixed-effect inverse-variance estimate unless pooledEffect overrides it. At least 3 studies are required; below 10 studies the tests are underpowered and the summary says so.
| Parameter | Type | Description |
|---|---|---|
studies * | array | One entry per study, effects already on the analysis scale; at least 3 studies are required |
pooledEffect | number | Optional pooled effect the plot and pseudo 95% confidence limits are centred on (e.g. a random-effects estimate). Default: the fixed-effect inverse-variance pooled estimate |
grade_sof_table GRADE summary-of-findings table
Build a GRADE Summary of Findings table (HTML with inline styles) from per-outcome pooled results. For OR/RR/HR rows the anticipated absolute effects per 1,000 are derived from the assumed baseline risk (OR converted through the baseline risk; HR approximated as RR and footnoted). MD/SMD rows show the mean difference instead. Certainty is rendered with GRADE symbols (⊕⊕⊕⊕ … ⊕◯◯◯), downgrade reasons become lettered footnotes, and each row gets a plain-language 'what happens' line computed from the numbers.
| Parameter | Type | Description |
|---|---|---|
outcomes * | array | One entry per outcome row of the summary-of-findings table |
comparison | string | Optional comparison line shown under the title |
title | string | Optional table title, e.g. 'Intervention compared with usual care for acute ischaemic stroke' |