Skip to main content
Glama
SPSS-MCP

SPSS-MCP

by Exekiel179

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPSS_TIMEOUTNoTimeout (in seconds) for each analysis job after the SPSS engine is running. Increase this if analyses time out.
SPSS_INSTALL_PATHNoPath to the IBM SPSS Statistics installation, e.g. C:\Program Files\IBM\SPSS Statistics\31. Only needed if SPSS is not auto-detected.
SPSS_STARTUP_TIMEOUTNoEngine startup timeout (in seconds) to increase if SPSS itself launches slowly. Separate from SPSS_TIMEOUT, which controls the timeout for each analysis job after the engine is already running.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
spss_list_supported_methodsA

List registry-backed SPSS methods available for structured execution. Use this to discover cold methods that have schemas, templates, and coverage assertions.

spss_get_method_schemaA

Get the JSON schema for a registry-backed SPSS method. Useful for structured orchestration and parameter inspection before execution.

spss_get_method_supportB

Get support metadata for a registry-backed SPSS method, including command family, support tier, coverage assertions, and documentation tags.

spss_check_statusA

Check the SPSS MCP server status: which capabilities are available (SPSS installed vs file-only mode), SPSS path, library versions, and configuration. Call this first to understand what tools are available.

spss_list_filesB

List SPSS .sav files in a directory. Useful for discovering available datasets when the user hasn't specified a file path.

spss_list_variablesB

List all variable names and their labels from an SPSS .sav file. Optionally filter by a search term. Does not require SPSS to be installed.

spss_read_metadataB

Read variable names, types, labels, and value labels from an SPSS .sav file. Returns a detailed Markdown report of the file's structure. Does not require SPSS to be installed.

spss_read_dataB

Read rows of data from an SPSS .sav file as a Markdown table. Optionally filter to specific variables and limit row count. Does not require SPSS to be installed.

spss_file_summaryA

Get a summary of an SPSS .sav file: case count, variable count, variable list, and basic descriptive statistics computed locally (no SPSS needed). Does not require SPSS to be installed.

spss_import_csvA

Convert a CSV file to SPSS .sav format directly using pandas + pyreadstat — no IBM SPSS Statistics installation required. Much faster than going through SPSS syntax because it bypasses the SPSS engine entirely. Saves the .sav file next to the CSV by default, or to a custom output_path.

spss_run_syntaxA

Execute arbitrary SPSS syntax commands and return the output as Markdown. Optionally specify a data_file to automatically prepend GET FILE. By default, this also persists .spv (SPSS viewer) and .sps (executed syntax) files. Requires IBM SPSS Statistics to be installed.

spss_frequenciesB

Run SPSS FREQUENCIES on one or more variables. Returns frequency tables with counts, percentages, and optional statistics. Requires IBM SPSS Statistics to be installed.

spss_descriptivesB

Run SPSS DESCRIPTIVES for numeric variables. Returns N, mean, std deviation, min, max, and optional statistics. Requires IBM SPSS Statistics to be installed.

spss_crosstabsA

Run SPSS CROSSTABS to create a contingency table between two categorical variables. Optionally includes chi-square test and row/column percentages. Requires IBM SPSS Statistics to be installed.

spss_regressionB

Run SPSS linear regression. Specify a dependent variable and one or more predictors. Returns coefficients, R-squared, ANOVA table, and significance tests. Requires IBM SPSS Statistics to be installed.

spss_t_testC

Run SPSS t-test. Supports one_sample, independent, and paired test types. Requires IBM SPSS Statistics to be installed.

spss_anovaB

Run SPSS one-way ANOVA (ONEWAY). Optionally includes post-hoc tests (e.g., TUKEY, BONFERRONI, LSD). Requires IBM SPSS Statistics to be installed.

spss_correlationsC

Run SPSS CORRELATIONS to compute Pearson or Spearman correlation matrix. Requires IBM SPSS Statistics to be installed.

spss_factorC

Run SPSS FACTOR analysis (principal components or principal axis factoring). Includes eigenvalues, variance explained, and rotated factor matrix. Requires IBM SPSS Statistics to be installed.

spss_reliability_alphaC

Run SPSS RELIABILITY analysis (Cronbach's alpha). Returns scale reliability and item statistics for psychometric workflows. Requires IBM SPSS Statistics to be installed.

spss_compute_scale_scoreC

Compute a scale score (SUM or MEAN) from multiple item variables, with optional reverse coding and minimum valid item count. Requires IBM SPSS Statistics to be installed.

spss_nonparametric_testsC

Run common nonparametric tests in SPSS: Mann-Whitney U, Wilcoxon signed-rank, or Kruskal-Wallis. Requires IBM SPSS Statistics to be installed.

spss_normality_outliersA

Run SPSS EXAMINE to check normality and outliers for numeric variables, with optional diagnostic plots. Requires IBM SPSS Statistics to be installed.

spss_repeated_measures_anovaB

Run SPSS repeated-measures ANOVA (within-subject GLM). Provide within-factor name, number of levels, and one variable per level. Requires IBM SPSS Statistics to be installed.

spss_validate_syntaxA

Validate SPSS syntax without executing it. Checks for basic syntax errors. Requires IBM SPSS Statistics to be installed.

spss_logistic_regressionB

Run binary or multinomial logistic regression. Supports stepwise selection, categorical predictors, and model diagnostics. Requires IBM SPSS Statistics to be installed.

spss_ordinal_regressionB

Run ordinal regression (PLUM) for ordered categorical outcomes. Supports multiple link functions and parallel lines test. Requires IBM SPSS Statistics to be installed.

spss_genlinC

Run generalized linear model (GENLIN) with flexible distribution and link functions. Supports Poisson, binomial, gamma, negative binomial, and other distributions. Requires IBM SPSS Statistics to be installed.

spss_mixedC

Run linear mixed-effects model (multilevel model) with random effects. Supports nested and crossed random effects, repeated measures structures. Requires IBM SPSS Statistics to be installed.

spss_genlinmixedC

Run generalized linear mixed model combining GLM with random effects. Supports non-normal outcomes with hierarchical structure. Requires IBM SPSS Statistics to be installed.

spss_cox_regressionC

Run Cox proportional hazards regression for survival analysis. Supports time-dependent covariates, stratification, and model diagnostics. Requires IBM SPSS Statistics to be installed.

spss_kaplan_meierC

Run Kaplan-Meier survival analysis with log-rank test. Produces survival curves and compares groups. Requires IBM SPSS Statistics to be installed.

spss_discriminantC

Run discriminant analysis to classify cases into groups. Supports stepwise selection and cross-validation. Requires IBM SPSS Statistics to be installed.

spss_cluster_hierarchicalC

Run hierarchical cluster analysis with dendrogram. Supports multiple linkage methods and distance measures. Requires IBM SPSS Statistics to be installed.

spss_twostep_clusterB

Run two-step cluster analysis with automatic cluster number determination. Handles large datasets and mixed variable types. Requires IBM SPSS Statistics to be installed.

spss_manovaB

Run multivariate analysis of variance (MANOVA) for multiple dependent variables. Tests multivariate effects and provides univariate follow-ups. Requires IBM SPSS Statistics to be installed.

spss_glm_univariateB

Run univariate general linear model (GLM) with factorial designs. Supports estimated marginal means, contrasts, and post-hoc tests. Requires IBM SPSS Statistics to be installed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 37 tools

Disambiguation4/5

Each statistical procedure (ANOVA, regression, factor, clustering, survival) targets a clearly distinct analysis, and the registry/status tools are separate concerns. Minor overlaps: spss_list_variables and spss_read_metadata both return variable names/labels, and spss_run_syntax is a generic escape hatch that can subsume nearly every analytical tool.

Naming Consistency4/5

All tools share a consistent spss_ prefix and snake_case, mostly following an action_or_method pattern (spss_list_files, spss_run_syntax, spss_validate_syntax). The deviations are statistical procedures named after SPSS commands (spss_anova, spss_frequencies), which is still predictable within the domain.

Tool Count3/5

37 tools is heavy, but the breadth of SPSS procedures justifies many distinct entries. Still, there is redundancy (spss_genlin vs spss_glm_univariate vs spss_anova, spss_genlinmixed vs spss_mixed) and spss_run_syntax could cover several, pushing it above a comfortable scoped set.

Completeness4/5

The surface covers data import/metadata, descriptives, t-tests, ANOVA family, a wide range of regressions, mixed models, factor/reliability, nonparametric, clustering, discriminant, MANOVA, and survival analysis. Gaps exist around data manipulation (variable transforms, merge/split, case filtering), exporting .sav or results, and chart output beyond diagnostics.