MCP Server Plugin logo

MCP Server Plugin

Community
Exekiel179

MCP server integrating IBM SPSS Statistics with Claude Code — 33 statistical analysis tools for psychology researchers

PublisherExekiel179
RepositorySPSS-MCP
LanguagePython
Forks
3
Stars
24
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP Server Plugin exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    24 stars and 3 forks from the linked repository.

SPSS-MCP

License: MIT Python 3.10+ Platform: Windows MCP

A Model Context Protocol (MCP) server that gives AI assistants direct access to IBM SPSS Statistics for statistical analysis.

Describe your analysis in plain language — SPSS-MCP translates it into SPSS syntax, runs it against the real SPSS engine, and returns Markdown-formatted results.

🚀 快速开始: 查看 QUICK_START.md 或直接运行 install.bat 一键安装


Presentation Page

配套网页主题:Claude Code 与 SPSS-MCP:从概念到一键配置

适合培训、汇报和课堂演示,内容覆盖:

  • 什么是 Claude Code,以及它和网页对话式协作的区别
  • 什么是 MCP 协议
  • Claude Code 的安装与配置
  • GLM key 获取
  • SPSS-MCP 的安装、配置与一键接入
  • 简单统计分析示例与现场演示路径

Contact

  • 公众号:人类变量
  • 微信:Exekiel179

Requirements

  • Windows 10/11
  • Python 3.10+
  • IBM SPSS Statistics (version 20-31)
  • Claude Code with MCP support

Quick Install

One-Click (Recommended)

bash
git clone https://github.com/Exekiel179/SPSS-MCP.git
cd SPSS-MCP
install.bat

Then restart Claude Code. Done!

Manual Install

bash
# 1. Install
pip install -e .

# 2. Auto-configure Claude Code
spss-mcp configure-claude

# 3. Restart Claude Code

Configuration

Basic Setup

Recommended: let SPSS-MCP auto-configure Claude Code for you:

bash
spss-mcp configure-claude

This command:

  • detects your SPSS installation
  • merges mcpServers.spss into Claude Code's user config (~/.claude.json)
  • creates a timestamped backup before updating existing settings

If you prefer manual setup, add this to Claude Code settings (Ctrl+, → search mcpServers):

json
{
  "mcpServers": {
    "spss": {
      "command": "spss-mcp",
      "args": ["serve", "--transport", "stdio"]
    }
  }
}

SPSS Path (if not auto-detected)

Create .env file:

ini
SPSS_INSTALL_PATH=C:\Program Files\IBM\SPSS Statistics\31

Slow SPSS startup?

If SPSS itself launches slowly on your machine, increase the engine startup timeout:

ini
SPSS_STARTUP_TIMEOUT=300

This is separate from SPSS_TIMEOUT, which controls the timeout for each analysis job after the engine is already running.

Optional: Install Skills

Skills make analysis more reliable and auto-save results:

cmd
set SKILLS_DIR=%USERPROFILE%\.claude\skills
xcopy /E /I skills\spss-analyst "%SKILLS_DIR%\spss-analyst"
xcopy /E /I skills\spss-mcp-guard "%SKILLS_DIR%\spss-mcp-guard"

Restart Claude Code after installation.


Usage

Just describe your analysis in natural language:

请对 data.sav 进行描述性统计
分析 age 和 income 的相关性
用 t 检验比较男女收入差异

Claude will:

  1. Read your data file
  2. Generate SPSS syntax
  3. Execute the analysis
  4. Return formatted results
  5. Save .spv and .sps files

Output Files

Every analysis produces:

FileDescription
.spvSPSS Viewer file (open in SPSS for full charts)
.spsSPSS syntax file (the exact commands that ran)

Default location: %TEMP%\spss-mcp\results\

With skills installed: spss_result/ in your working directory


Available Tools

File & Data (9 tools)

  • spss_check_status - Check server capabilities
  • spss_list_files - List .sav files
  • spss_list_variables - List variables with labels
  • spss_read_metadata - Read variable types and labels
  • spss_read_data - Preview data rows
  • spss_file_summary - Get file statistics
  • spss_import_csv - Convert CSV to .sav

Basic Statistics (9 tools)

  • spss_frequencies - Frequency tables
  • spss_descriptives - Mean, SD, min, max
  • spss_crosstabs - Contingency tables with chi-square
  • spss_t_test - Independent/paired/one-sample t-tests
  • spss_anova - One-way ANOVA with post-hoc
  • spss_correlations - Pearson/Spearman correlations
  • spss_regression - Linear regression
  • spss_normality_outliers - Normality tests
  • spss_nonparametric_tests - Mann-Whitney, Wilcoxon, Kruskal-Wallis

Advanced Analysis (18 tools)

  • Logistic regression (binary/multinomial/ordinal)
  • Generalized linear models (GLM, GENLIN, GENLINMIXED)
  • Mixed models (MIXED)
  • Survival analysis (Cox regression, Kaplan-Meier)
  • Multivariate analysis (Factor, MANOVA, Discriminant)
  • Clustering (Hierarchical, Two-step)
  • Reliability (Cronbach's α)
  • And more...

Total: 36 tools across 8 categories


Troubleshooting

SPSS not detected

Run spss-mcp status. If SPSS shows ✗:

  1. Create .env file with SPSS path
  2. Restart Claude Code

Analysis timeout

Increase timeout in .env:

ini
SPSS_TIMEOUT=300

Skills not working

  1. Verify files exist:
    %USERPROFILE%\.claude\skills\spss-analyst\SKILL.md
    %USERPROFILE%\.claude\skills\spss-mcp-guard\SKILL.md
  2. Restart Claude Code

MCP server not connecting

  1. Check JSON syntax in settings
  2. Verify spss-mcp command works in terminal
  3. Re-run spss-mcp configure-claude
  4. Restart Claude Code

Platform Support

PlatformFile ToolsAnalysis Tools
Windows 10/11✓✓ (requires SPSS)
macOS✓✗
Linux✓✗

Analysis tools require SPSS XD API (Windows-only).


Development

bash
# Compile check
python -m compileall src/spss_mcp

# Run tests
pytest

# Format code
black src/ tests/
isort src/ tests/

# CLI commands
spss-mcp status       # Check environment
spss-mcp setup-info   # Generate config
spss-mcp configure-claude  # Auto-update Claude Code settings

License

MIT — see LICENSE


Links

Installation

TypingMind
{
  "mcpServers": {
    "spss-mcp": {
      "command": "spss-mcp",
      "args": [
        "serve",
        "--transport",
        "stdio"
      ]
    }
  }
}

Use MCP Server Plugin MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Server Plugin is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Server Plugin as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Server Plugin MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "spss-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Server Plugin MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Server Plugin MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Server Plugin to help me with this task?
MCP Server Plugin
Sure. I read it.
Here is what I found using MCP Server Plugin.

Frequently asked questions

What is the MCP Server Plugin MCP server used for?

MCP Server Plugin is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Server Plugin MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Server Plugin with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Server Plugin MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Server Plugin connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Server Plugin MCP to TypingMind?

MCP Server Plugin runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Server Plugin MCP provide in TypingMind?

MCP Server Plugin exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Server Plugin MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Server Plugin requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇