spss-studio-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@spss-studio-mcpRun an independent-samples t-test on experiment_study.sav (grouping: group, dependent: posttest)"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SPSS Studio MCP for Mac
Make SPSS an Agent's "statistics engine + chart factory": paper-ready charts, deep result parsing, verified methods, and safe execution.
This MCP is Mac Only, for Windows versions, see flupke91/spss-studio-mcp.
English | 繁體中文(香港)
spss-studio-mcp is an MCP (Model Context Protocol) server for IBM SPSS
Statistics. It gives Agent clients such as Codex / Claude Code / Cursor:
Paper-ready charts: 11
spss_chart_*tools export PNG / TIFF (1950×1500 @300 dpi) in one call and return the file path for direct submission to journals;Deep result parsing: OMS text → Markdown tables + structured JSON + statistical summaries for 16 analysis families (t / F / r / B / Wald / α / χ² / p / effect sizes);
Verified methods: all 37 analysis tools plus 11 supporting tools are verified on real SPSS Statistics 32 for Mac;
Mediation / moderation:
spss_mediation(Baron & Kenny three-step regression + Sobel test) andspss_moderation(mean-centred interaction regression);Safety layer: dangerous-command blocking, data path allowlist,
dry_runpreflight, and JSONL audit logging.
Everything is verified on IBM SPSS Statistics 32.0.0.0 for macOS — 105 unit tests pass, including a self-contained real-machine reproduction manifest. Per-case results: docs/macos_verification.md.
Quick Start
macOS (SPSS Statistics 32 for Mac is auto-discovered inside the .app
bundle under /Applications; Python ≥3.10 required):
cd spss-studio-mcp
bash scripts/install_macos.sh # creates .venv, installs deps, configure-claude
.venv/bin/spss-studio-mcp status # SPSS batch: OK
.venv/bin/spss-studio-mcp configure-codex # optional: Codex configThen drive it from your client in natural language, e.g.:
Run descriptive statistics and reliability analysis on examples/data/survey_study.sav
Independent-samples t-test on examples/data/experiment_study.sav (grouping: group, dependent: posttest)
Mediation analysis on examples/data/mediation_study.sav: autonomy → satisfaction → performance
Histogram with normal density of engagement_total in examples/data/survey_study.sav, PNG 300dpiRelated MCP server: mcp-macos-cua
Paper-Ready Charts (Core Feature)
Tool | Purpose |
| Histogram / histogram with normal density |
| Scatter plot of two variables |
| Bar chart of category means / with 95% CI error bars |
| Time-series line / area charts |
| Grouped box-and-whisker plot |
| Mean ± CI error bar chart |
| Normal Q-Q plot |
| Kaplan-Meier survival curve |
spss_chart_histogram_density(
variable="engagement_total",
title="Engagement total distribution (with normal density)",
image_format="PNG", # PNG / TIFF
width_px=1950, height_px=1500, dpi=300,
data_file="examples/data/survey_study.sav",
)
# → returns the image file path, ready for submissionFormat note: chart output is PNG and TIFF only. Windows vector EMF export was removed because SPSS for macOS cannot produce EMF metafiles (its
OMS FORMAT=DOCarchive contains only raster PNG wrapped in.eps). Useimage_format="PNG"or"TIFF".
Structured Results & Statistical Summaries
spss_structured_result(
syntax="T-TEST GROUPS=group(1 2) /VARIABLES=posttest.",
data_file="examples/data/experiment_study.sav",
)
# → {markdown, json: {tables, summary}, files, warnings}The Markdown returned by run_syntax ends with a ### Statistical Summary
block containing a plain-language conclusion plus key statistics.
Extraction details for the 16 analysis families: docs/result_parsing.md.
Sample Datasets
examples/data/ ships five research-style datasets (fixed random seeds,
fully reproducible):
File | Scenario | Key variables |
| Survey: 200 students' learning engagement |
|
| Experiment: 120 participants, pre/post memory training |
|
| Survival: 150 follow-up cases |
|
| Mediation: 300 employees |
|
| Longitudinal: 60 people, 3 waves |
|
Safe Execution
Dangerous commands (
HOST/ERASE/DELETE FILE, ...) are blocked at the start of a line;Data files must live under
examples/, the system temp dir, or a directory declared inSPSS_ALLOWED_DIRS;spss_run_syntax(..., dry_run=True)validates without executing;Audit logs are written to
logs/audit.jsonlby default (override withSPSS_AUDIT_LOG).
See docs/security.md.
Documentation
License
MIT (upstream: flupke91/spss-studio-mcp, MIT).
MIT (upstream: Exekiel179/SPSS-MCP, MIT).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The statistical analyst in your AI chat — validated, citable, re-runnable analysis of your data.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
AI access to Quadratic spreadsheets: open files, run Python/SQL, query connected databases.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects AI agents to a local Stata installation, enabling execution of Stata code, data inspection, graph generation, and result verification through natural language interactions.81AGPL 3.0
- AlicenseAqualityDmaintenanceEnables AI agents to control macOS desktop apps via screenshots, mouse clicks, keyboard input, accessibility queries, and AppleScript.1115MIT
- AlicenseAqualityAmaintenanceEnables AI agents to drive IBM SPSS Statistics for statistical analysis and publication-quality chart generation through natural language, returning structured results and ensuring safe execution.51MIT
- AlicenseNot gradedqualityCmaintenanceProvides a virtual statistician for AI agents, offering real statistical methods such as design of experiments, hypothesis testing, regression, and process control. It includes an advisor tool to recommend appropriate analyses and generates plain-language interpretations of results.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CongJyu/spss-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server