Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.crosstabs/crosstabs

PYPI · CROSSTABS

Local survey workflow and statistical crosstab analysis with auditable evidence

Available components

0 this week 77 Trust /100

Last scanned (23 hours ago)

Scores higher than 71% of PyPI servers

Category Data and Analytics

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 0 of 41 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency19
  • Repository check failed: no source repository is declared. See how to fix → View diagnostics → Fail
  • Build provenance not yet verified. View diagnostics → Unverified
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 13 days ago).Pass
  • Security-disclosure policy not yet verified: we couldn't inspect the source repository.Unverified
Schema Quality & AI Usability76
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 7210 tokens (~144/item across 50 items; 48 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage67
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 48 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 50 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
What we tested

Checks we ran (14)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • License
  • Maintenance
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Checks we could not complete (2)

These are gaps on our side, not findings about this package. We only credit what we can confirm, so a category made up entirely of them scores 0.

  • Provenance in Provenance & TransparencyBuild provenance not yet verified.
  • Security disclosure in Provenance & TransparencySecurity-disclosure policy not yet verified: we couldn't inspect the source repository.

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 21 Nov 26 +1
    • Stability: 0.97 → pass security
  • 20 Nov 26 −1
    • Stability: pass → 0.97 functional
  • 14 Nov 26 +1
    • Stability: 0.97 → pass security
  • 12 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 10 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 8 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 7 Nov 26 −14
    • Malware scan: pass → unverified ▼ security
    • Package version: 1.5.2 → 1.5.3 functional
  • 5 Nov 26 +16
    • Malware scan: unverified → pass ▲ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 21 Nov 2026 · Analysed pypi/crosstabs@1.5.3

Provenance Inconclusive

We could not complete the check, so nothing is claimed either way. This is a gap on our side, not a finding about the package.

Result Inconclusive
Ecosystem pypi
Reason Unsupported forge
Discovered via Registry attestation endpoint

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend Known build tool hatchling.build

Background: Why install scripts are a supply-chain risk →

Dependencies 41 packages
Packages resolved 41
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 48 exposed · ~7,068 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
attributable_risk ~136

Attributable or prevented risk measures for epidemiological studies. Parameters: - matrix: [[exposed outcome+, exposed outcome-], [unexposed outcome+, unexposed outcome-]] - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Direction-appropriate impact measures, risk-difference interval, relative-risk status, orientation, and causal caveat

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

bonferroni_correction ~72

Bonferroni correction for multiple testing. Parameters: - p_values: List of p-values to correct - alpha: Family-wise error rate (default 0.05) Returns: Adjusted p-values and significance

NameTypeReqDescription
alphanumber––
p_valuesarrayyes–

No output schema declared.

No examples provided.

breslow_day_test ~123

Breslow-Day test for homogeneity of odds ratios across strata. Parameters: - tables: List of 2×2 contingency tables (one per stratum) - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Test statistic, p-value, and whether ORs are homogeneous

NameTypeReqDescription
inputSemanticsstringyes–
tablesarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

check_assumptions ~108

Check chi-square test assumptions. Verifies expected cell frequencies and provides recommendations. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Assumption validity and recommendations

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

chi_square_test ~118

Perform Pearson's chi-square test of independence. Parameters: - matrix: 2D contingency table as list of lists - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Test statistic, p-value, effect size (Cramér's V), and interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

chi_square_yates ~114

Chi-square with Yates continuity correction for 2×2 tables. Parameters: - matrix: 2×2 contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Yates-corrected chi-square and p-value

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

cmh_test ~139

Cochran-Mantel-Haenszel test for stratified 2×2 tables. Tests association while controlling for a stratifying variable. Parameters: - tables: List of 2×2 contingency tables (one per stratum) - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: CMH chi-square, common odds ratio, RBG interval, and interpretation

NameTypeReqDescription
inputSemanticsstringyes–
tablesarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

cohens_kappa ~107

Cohen's Kappa for inter-rater agreement (unweighted). Parameters: - matrix: Square confusion matrix - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Kappa coefficient with CI and interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

correspondence_analysis ~139

Correspondence analysis for visualizing associations. Parameters: - matrix: Contingency table - row_labels: Optional row labels - col_labels: Optional column labels - inputSemantics: Must be "descriptive_aggregate_values": the values are described, not used for survey-weighted inference - weighted: Must be false; weighted or survey-design data is not accepted here Returns: 2D coordinates for biplot and explained variance

NameTypeReqDescription
col_labelsarray––
inputSemanticsstringyes–
matrixarrayyes–
row_labelsarray––
weightedbooleanyes–

No output schema declared.

No examples provided.

cramers_v ~116

Calculate Cramér's V effect size (standard and bias-corrected). Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Standard and bias-corrected Cramér's V with interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

crosstab_from_csv ~85

Parse CSV and create contingency table from two columns. Parameters: - csv_text: CSV content as string - row_var: Name of row variable column - col_var: Name of column variable column Returns: Contingency table with labels

NameTypeReqDescription
col_varstringyes–
csv_textstringyes–
row_varstringyes–

No output schema declared.

No examples provided.

crosstab_from_data ~83

Create contingency table from raw data. Parameters: - data: List of data objects with row and column variables - row_var: Name of row variable - col_var: Name of column variable Returns: Contingency table with labels

NameTypeReqDescription
col_varstringyes–
dataarrayyes–
row_varstringyes–

No output schema declared.

No examples provided.

data_quality_flags ~317

Screen survey rows for speeders, straight-liners, duplicates and incomplete interviews. Parameters: - data: Respondent rows - columns: Columns for the incomplete and exact-duplicate checks (default: all) - duration_var: Interview duration column; enables the speeder check - speeder_percent_of_median: Flag durations below this % of the median (default 33) - speeder_min_seconds: Optional absolute floor; the larger threshold applies - grid_vars: Grid items in questionnaire order; enables the straight-liner check - straightliner_min_answered: Minimum answered grid items to judge a row (default 3) - id_var: Respondent ID column; later repeats are flagged - exact_duplicates: Also flag exact copies of earlier rows (default true) - max_missing_share: Flag rows with a blank share above this (null skips the check) - include_all_rows: Return every row's flags instead of flagged rows only Returns: Per-rule summaries, counts flagged/overlapping/kept, and row flags with reasons (1-based row numbers). Nothing is removed.

NameTypeReqDescription
columns–––
dataarrayyes–
duration_var–––
exact_duplicatesboolean––
grid_vars–––
id_var–––
include_all_rowsboolean––
max_missing_share–––
speeder_min_seconds–––
speeder_percent_of_mediannumber––
straightliner_min_answeredinteger––

No output schema declared.

No examples provided.

detect_outliers ~92

Detect outliers in numeric data. Parameters: - values: List of numeric values - method: "zscore" or "iqr" - threshold: Z-score cutoff (default 2.0) or IQR fence multiplier (default 1.5) Returns: Outlier statistics and identified outliers

NameTypeReqDescription
methodstring––
threshold–––
valuesarrayyes–

No output schema declared.

No examples provided.

effect_size ~108

Calculate multiple effect sizes for contingency table. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Cramér's V (corrected), phi, and contingency coefficient

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

fdr_correction ~72

Benjamini-Hochberg false discovery rate correction. Parameters: - p_values: List of p-values to correct - alpha: FDR level (default 0.05) Returns: Adjusted significance with FDR control

NameTypeReqDescription
alphanumber––
p_valuesarrayyes–

No output schema declared.

No examples provided.

fishers_exact ~117

Fisher's exact test for 2×2 tables. Parameters: - matrix: 2×2 contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Odds ratio, two-sided exact p-value, and large-sample 95% CI

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

g_test ~133

G-test (likelihood ratio test) for contingency tables. Uses the same asymptotic chi-square reference distribution as Pearson's test, so it is not a small-sample exact-test substitute. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: G statistic, p-value, effect size

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

get_runtime_status ~52

Report the running package version, tool names and storage mode; never plugin identity or local configuration. Parameters: - expectedPackageVersion: Optional package version to compare with the running one

NameTypeReqDescription
expectedPackageVersion–––

No output schema declared.

No examples provided.

goodman_kruskal_gamma ~110

Goodman-Kruskal's gamma for ordinal association. Parameters: - matrix: Contingency table with ordinal rows and columns - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Gamma coefficient with CI

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

kendalls_tau ~60

Kendall's tau-b rank correlation. Parameters: - ranks_x: First set of ranks - ranks_y: Second set of ranks Returns: Tau coefficient and p-value

NameTypeReqDescription
ranks_xarrayyes–
ranks_yarrayyes–

No output schema declared.

No examples provided.

key_driver_analysis ~145

Key driver analysis by relative importance (Shapley values and Johnson's weights). Parameters: - data: Respondent rows - outcome_var: Numeric outcome column (e.g. overall satisfaction) - driver_vars: 2–15 numeric driver columns - weight_var: Optional weight column Returns: R², each driver's correlation, standardized beta, VIF, Shapley share of R² (exact over all subsets), Johnson relative weight, importance/ performance quadrant and collinearity warnings. Associative, not causal.

NameTypeReqDescription
dataarrayyes–
driver_varsarrayyes–
outcome_varstringyes–
weight_var–––

No output schema declared.

No examples provided.

lambda_coefficient ~107

Goodman-Kruskal Lambda (proportional reduction in error). Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Lambda values (asymmetric and symmetric)

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

linear_trend_test ~160

Linear-by-linear association test (Mantel-Haenszel trend test). Parameters: - matrix: Contingency table - row_scores: Optional numeric scores for rows (default: 0, 1, 2, ...) - col_scores: Optional numeric scores for columns - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Z-statistic and p-value for linear trend

NameTypeReqDescription
col_scoresarray––
inputSemanticsstringyes–
matrixarrayyes–
row_scoresarray––
weightedbooleanyes–

No output schema declared.

No examples provided.

mcnemar_test ~119

McNemar's test for paired categorical data. Parameters: - matrix: 2×2 table of paired, non-negative integer outcome counts - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Coherent primary result plus exact and asymptotic secondary details

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

monte_carlo_chi_square ~254

Monte Carlo estimate of a fixed-margin chi-square p-value. The workload envelope admits at most 100 rows, 100 columns, and 1,000 cells, with a total frequency of 9,007,199,254,740,991. It admits 100,000 simulations and 20,000,000 cell-simulations. Work runs in chunks of at most 512 simulations under a 32 MiB estimated numeric peak and a 30-second server deadline. MCP cancellation is observed between chunks. Parameters: - matrix: Contingency table - n_sim: Number of simulations from 1 through 100,000 (default 10000) - seed: Random seed for reproducibility - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Simulated p-value, observed statistic, method, seed, and workload receipt

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
n_siminteger––
seedinteger––
weightedbooleanyes–

No output schema declared.

No examples provided.

mosaic_plot_data ~134

Generate coordinates for mosaic plot visualization. Parameters: - matrix: Contingency table - row_labels: Optional labels for rows - col_labels: Optional labels for columns - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Cell coordinates with residual-based coloring

NameTypeReqDescription
col_labelsarray––
inputSemanticsstringyes–
matrixarrayyes–
row_labelsarray––
weightedbooleanyes–

No output schema declared.

No examples provided.

nps_analysis ~210

Net Promoter Score with a margin of error. Parameters: - data: Respondent rows with a 0–10 score (use with score_var) - score_var: 0–10 likelihood-to-recommend column - segment_var: Optional column; each segment is tested against the rest - weight_var: Optional weight column (Kish effective n for the variance) - counts: Instead of rows, {"promoters": int, "passives": int, "detractors": int} - compare_counts: Second group's counts for a two-group z-test (second minus first) - confidence: Confidence level for intervals (default 0.95) Returns: NPS, shares, multinomial standard error, Wald and adjusted-Wald intervals, and segment or two-group comparisons

NameTypeReqDescription
compare_counts–––
confidencenumber––
counts–––
data–––
score_var–––
segment_var–––
weight_var–––

No output schema declared.

No examples provided.

odds_ratio ~128

Calculate the sample odds ratio with a 95% Woolf interval. Parameters: - matrix: [[exposed outcome+, exposed outcome-], [unexposed outcome+, unexposed outcome-]] - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: JSON-safe estimate, status, interval, and explicit table orientation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

penalty_analysis ~177

Penalty analysis for just-about-right (JAR) scales. Parameters: - data: Respondent rows - liking_var: Overall liking column (numeric) - jar_vars: JAR attribute columns coded 1..scale with the midpoint as just right - scale: 3, 5 or 7 points - weight_var: Optional weight column - action_threshold: Share of the base a side needs to be actionable (default 0.2) Returns: Per attribute and side: proportion, mean liking, mean drop versus the just-about-right group, weighted penalty, Welch t-test and action flag

NameTypeReqDescription
action_thresholdnumber––
dataarrayyes–
jar_varsarrayyes–
liking_varstringyes–
scaleinteger––
weight_var–––

No output schema declared.

No examples provided.

phi_coefficient ~103

Calculate phi coefficient for 2×2 table. Parameters: - matrix: 2×2 contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Phi coefficient and interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

post_hoc_chi_square ~121

Full post-hoc analysis after chi-square test. Includes standardized residuals, adjusted residuals, and chi-square contributions by cell. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Complete post-hoc analysis

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

power_analysis ~136

Power or sample size calculation for comparing two proportions. Parameters: - p1: Proportion in group 1 - p2: Proportion in group 2 - n: Sample size per group (if provided, calculates power) - alpha: Significance level (default 0.05) - power: Target power if calculating sample size (default 0.80) Returns: Two-sided normal-approximation power or required sample size

NameTypeReqDescription
alphanumber––
nnumber––
p1numberyes–
p2numberyes–
powernumber––

No output schema declared.

No examples provided.

proportion_ci ~110

Calculate confidence interval for a proportion. Parameters: - successes: Number of successes - total: Total sample size - method: "wilson" (recommended), "agresti", or "normal" - countSemantics: Must be "integer_binomial_counts": successes and total are integer counts Returns: Proportion with 95% CI

NameTypeReqDescription
countSemanticsstringyes–
methodstring––
successesnumberyes–
totalnumberyes–

No output schema declared.

No examples provided.

pull_database_query ~395

Run one read-only SELECT/WITH query against a local or private database and write the result to a local file the crosstabs.com workspace opens. Parameters: - connectionEnvVar: NAME of an environment variable holding the SQLAlchemy URL (e.g. "CROSSTABS_DB_URL"). Never pass a URL or password here. - outputPath: Absolute path of the file to write; the extension picks the format (.sav, .dta, .csv, .xlsx; .parquet for other tools) - query: One SELECT or WITH statement (give query or table) - table: Table to read in full: table, schema.table or db.schema.table - limit: Keep at most this many rows (1 to 1,000,000) - labelsPath: Optional YAML/JSON file with variable labels, value labels, measure levels and user-missing codes - categorical: Text columns to code 1..k with value labels on request - columnComments: Use database column comments as variable labels (table only) - timeoutSeconds: Statement timeout, 1 to 21,600 seconds - overwrite: Replace outputPath if it already exists Returns: Written path, row and column counts, per-column schema (type, label, measure, value labels, notes) and the read-only protections applied. Results above 1,000,000 rows, 1,000 columns or 20,000,000 cells are refused, matching the browser import limits. Weights are never guessed and values are never recoded unless categorical coding is requested.

NameTypeReqDescription
categorical–––
columnCommentsboolean––
connectionEnvVarstringyes–
labelsPath–––
limit–––
outputPathstringyes–
overwriteboolean––
query–––
table–––
timeoutSecondsinteger––

No output schema declared.

No examples provided.

pull_survey_responses ~534

Pull responses from a survey platform into a local labelled file the crosstabs.com workspace opens, with question wording as variable labels, choices as value labels and multi-selects as 0/1 multiple-response sets. Credentials are read from the platform's environment variables on this machine (for example QUALTRICS_API_TOKEN, SURVEYMONKEY_ACCESS_TOKEN, REDCAP_API_TOKEN; run `crosstabs pull <platform> --help`). Never pass a token, key, secret or password in any argument. Parameters: - platform: qualtrics, surveymonkey, medallia, alchemer, typeform, google-forms, decipher, questionpro, jotform, surveysparrow, redcap, kobo, odk-central or limesurvey - surveyId: Survey/form id (Qualtrics SV_..., Decipher survey path, ODK "<projectId>/<xmlFormId>", Kobo asset uid, ...) - outputPath: Absolute path of the file to write; the extension picks the format (.sav, .dta, .csv, .xlsx; .parquet for other tools) - includePartial: Keep partial/in-progress responses (flagged in response_complete); by default only complete responses are kept - since: Only responses on or after this ISO date/time, where supported - until: Only responses before this ISO date/time, where supported - limit: Keep at most this many responses (1 to 1,000,000) - settings: Non-secret platform settings such as {"datacenter": "iad1"}, {"region": "eu"}, {"server": "..."}, {"api_url": "..."}, {"fields": "e_ltr,q_osat"} (Medallia), {"layout": "..."} (Decipher), {"include_identifiers": true} to keep IP/location/contact fields - overwrite: Replace outputPath if it already exists Returns: Written path and sidecar path, row/column counts, complete/partial counts, multiple-response sets, per-variable schema and notes. Platform weight fields are carried as plain variables; no weight is ever applied or guessed. Results above 1,000,000 rows, 1,000 variables or 20,000,000 cells are refused (the browser import limits).

NameTypeReqDescription
includePartialboolean––
limit–––
outputPathstringyes–
overwriteboolean––
platformstringyes–
settings–––
since–––
surveyIdstringyes–
until–––

No output schema declared.

No examples provided.

recommend_test ~120

Recommend appropriate statistical tests for your data. Parameters: - matrix: Contingency table - data_type: "categorical" or "ordinal" - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Ranked test recommendations with rationales

NameTypeReqDescription
data_typestring––
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

relative_risk ~127

Calculate relative risk with 95% confidence interval for 2x2 table. Parameters: - matrix: [[exposed outcome+, exposed outcome-], [unexposed outcome+, unexposed outcome-]] - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Relative risk, CI, and individual risks

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

risk_difference ~153

Calculate exposed-minus-unexposed risk difference for a 2×2 table. Labels the reciprocal absolute difference as NNT for lower exposed risk or NNH for higher exposed risk. Parameters: - matrix: [[exposed outcome+, exposed outcome-], [unexposed outcome+, unexposed outcome-]] - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Risk difference, interval, direction, and NNT/NNH when applicable

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

somers_d ~115

Somers' D (asymmetric ordinal measure). Parameters: - matrix: Contingency table with ordinal rows and columns - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: d(Y|X), d(X|Y), and symmetric versions

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

spearmans_rho ~63

Spearman's rank correlation coefficient. Parameters: - ranks_x: First set of ranks - ranks_y: Second set of ranks Returns: Rho coefficient and p-value

NameTypeReqDescription
ranks_xarrayyes–
ranks_yarrayyes–

No output schema declared.

No examples provided.

stacked_bar_data ~163

Generate data for stacked bar chart. Parameters: - matrix: Contingency table - by_rows: If True, groups are rows; if False, groups are columns - row_labels: Optional labels for rows - col_labels: Optional labels for columns - inputSemantics: Must be "descriptive_aggregate_values": the values are described, not used for survey-weighted inference - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Stacked bar chart data with proportions

NameTypeReqDescription
by_rowsboolean––
col_labelsarray––
inputSemanticsstringyes–
matrixarrayyes–
row_labelsarray––
weightedbooleanyes–

No output schema declared.

No examples provided.

standardized_residuals ~131

Calculate adjusted standardized residuals from a contingency table. Values above |2| are nominal cell-level flags. When many cells are inspected, use a multiplicity correction or an adjusted alpha. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Residuals matrix with interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

survey_sample_size ~334

Survey planning: completes for a margin of error, margin of error for n, or per-group sizes for comparing two proportions. Parameters: - calculation: "sample_size_for_margin", "margin_of_error" or "two_proportions" - margin_of_error: Target margin as a proportion (0.05 = ±5 points) - n: Completed interviews (for "margin_of_error") - confidence: Confidence level (default 0.95) - proportion: Expected proportion (0.5 is most conservative) - population: Optional population size for the finite population correction - design_effect: Design effect, at least 1 - response_rate: Optional response rate in (0, 1] to convert completes to invitations - p1, p2: Group proportions (for "two_proportions") - alpha: Two-sided significance level (default 0.05) - power: Target power (default 0.8) - allocation_ratio: n2/n1 (default 1) Returns: Required completes (and invitations), margin of error, or group sizes with and without the Fleiss continuity correction. For the power of a fixed design use power_analysis.

NameTypeReqDescription
allocation_rationumber––
alphanumber––
calculationstringyes–
confidencenumber––
design_effectnumber––
margin_of_error–––
n–––
p1–––
p2–––
population–––
powernumber––
proportionnumber––
response_rate–––

No output schema declared.

No examples provided.

tau_c ~104

Stuart's tau-c for rectangular ordinal tables. Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Tau-c coefficient with standard error and p-value

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

turf_analysis ~298

TURF (Total Unduplicated Reach and Frequency) for portfolios of k items. Parameters: - data: Respondent rows (one object per respondent) - items: 1–30 item columns (ratings, or 0/1 flags with reach_rule="binary") - k: Portfolio size, 1–8 - reach_rule: "top_box" (value ≥ scale_max), "top_2_box" (≥ scale_max − 1), "threshold" (≥ threshold) or "binary" (1 = reached, 0 = not) - scale_max: Scale maximum; inferred from the item columns when omitted - threshold: Minimum reached value for reach_rule="threshold" - weight_var: Optional weight column; non-positive or blank weights are dropped - must_include: Items forced into every portfolio - exclude: Items never considered - top: Number of ranked portfolios to return (1–50) Returns: Ranked portfolios with reach and frequency, the search method (exhaustive up to 50,000 combinations, otherwise greedy), and an incremental reach ladder over all eligible items

NameTypeReqDescription
dataarrayyes–
exclude–––
itemsarrayyes–
kintegeryes–
must_include–––
reach_rulestring––
scale_max–––
threshold–––
topinteger––
weight_var–––

No output schema declared.

No examples provided.

uncertainty_coefficient ~103

Uncertainty Coefficient (entropy-based association measure). Parameters: - matrix: Contingency table - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Uncertainty coefficients and mutual information

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–

No output schema declared.

No examples provided.

weighted_kappa ~123

Weighted Cohen's Kappa for ordinal agreement. Parameters: - matrix: Square confusion matrix - weights: "linear" or "quadratic" (default) - inputSemantics: Must be "integer_frequency_counts": you confirm every cell is a non-negative integer count of observations - weighted: Must be false; weighted or survey-design data is not accepted here Returns: Weighted kappa with CI and interpretation

NameTypeReqDescription
inputSemanticsstringyes–
matrixarrayyes–
weightedbooleanyes–
weightsstring––

No output schema declared.

No examples provided.

Install

How do I install the io.github.crosstabs/crosstabs MCP server?

io.github.crosstabs/crosstabs runs locally as a PyPI package, launched with uvx crosstabs. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · crosstabs

# add to Claude Code
claude mcp add crosstabs-crosstabs -- uvx crosstabs
Common questions

What is the io.github.crosstabs/crosstabs MCP server?

io.github.crosstabs/crosstabs is an MCP server listed in the public MCP registry as io.github.crosstabs/crosstabs. Local survey workflow and statistical crosstab analysis with auditable evidence. This page covers its PyPI package (crosstabs).

Is the io.github.crosstabs/crosstabs MCP server safe to use?

io.github.crosstabs/crosstabs scores 77 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 November 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.crosstabs/crosstabs MCP server expose?

io.github.crosstabs/crosstabs exposes 48 tools: get_runtime_status, chi_square_test, fishers_exact, mcnemar_test, g_test, and 43 more. Their descriptions and schemas cost roughly 7,068 tokens of context every time the server is loaded.

Is the io.github.crosstabs/crosstabs MCP server still maintained?

io.github.crosstabs/crosstabs is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.crosstabs/crosstabs MCP server under?

io.github.crosstabs/crosstabs declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the io.github.crosstabs/crosstabs MCP server?

VerifyMCP ran 14 checks on io.github.crosstabs/crosstabs, covering Malware scan, Known CVEs, Install scripts, Dependency health and 10 more. 2 items could not be completed, a gap on our side rather than a finding about io.github.crosstabs/crosstabs: Provenance and Security disclosure. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.