S

Stats Explorer MCP

by Meador793 · io.github.Meador793/stats-explorer-mcp

Enables AI assistants to run verified statistical and analytics computations—including hypothesis tests, A/B testing, descriptive summaries, and sample-size planning—directly on local CSV, TSV, Excel, and Parquet files of any size. Results include effect sizes, confidence intervals, plain-English interpretations, and assumption warnings, with optional independent checks.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-meador793-stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "STATS_EXPLORER_ROOTS": "workspace",
        "STATS_EXPLORER_STREAM_MB": "512",
        "STATS_EXPLORER_WORKERS": "cores − 1",
        "STATS_EXPLORER_CACHE": "ask",
        "STATS_EXPLORER_CACHE_DIR": "system temp",
        "STATS_EXPLORER_MAX_FILE_MB": "no limit",
        "STATS_EXPLORER_GUIDED": "on",
        "STATS_EXPLORER_CONFIRM_SELECTIONS": "on",
        "STATS_EXPLORER_CONFIRM_VIA": "auto",
        "STATS_EXPLORER_HIDE_LINK": "0",
        "STATS_EXPLORER_JEV": "off",
        "STATS_EXPLORER_JEV_CHECKPOINTS": "plan,conclusions",
        "TYPESAFE_API_KEY": "<YOUR_VALUE>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<YOUR_VALUE>",
        "STATS_EXPLORER_AUDIT_LOG": "<VALUE>",
        "STATS_EXPLORER_APP_URL": "<VALUE>",
        "STATS_EXPLORER_ASK_SECONDS": "120",
        "STATS_EXPLORER_SAMPLE_PERCENT": "1",
        "STATS_EXPLORER_BACKGROUND_SECONDS": "40"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
STATS_EXPLORER_ROOTS No Folders data files may be read from (and reports written to). Separated by `:` on macOS/Linux or `;` on Windows. Default: workspace
STATS_EXPLORER_STREAM_MB No CSV/TSV/Parquet files above this size are streamed (Parquet: by rows × columns). Default: 512
STATS_EXPLORER_WORKERS No Parallel readers for large files (at most 16 by default). Default: cores − 1
STATS_EXPLORER_CACHE No Keep columns read from large files: `ask`, `on` or `off`. Default: ask
STATS_EXPLORER_CACHE_DIR No Where kept columns go. Default: system temp
STATS_EXPLORER_MAX_FILE_MB No Refuse files larger than this. Default: no limit
STATS_EXPLORER_GUIDED No `off` exposes the individual test tools (`t_test`, `anova`, …) directly, without `start_analysis` and the six steps. Default: on
STATS_EXPLORER_CONFIRM_SELECTIONS No `off` runs with the agent's column, chart and report choices without asking you. Default: on
STATS_EXPLORER_CONFIRM_VIA No `chat` asks for confirmations in the conversation even if the client claims to support forms (recommended for Claude Code). Default: auto
STATS_EXPLORER_HIDE_LINK No `1` removes the one-line app link at the end of results. Default: 0
STATS_EXPLORER_JEV No Jev checks: `cooperate`, `enforce` or `orchestrated`. See docs/JEV.md for its other settings. Default: off
STATS_EXPLORER_JEV_CHECKPOINTS No Comma list of plan, conclusions, data. Default plan,conclusions (data sends column names and text samples to Jev). Default: plan,conclusions
TYPESAFE_API_KEY secret No API key used when `STATS_EXPLORER_JEV` is set to `enforce`.
STATS_EXPLORER_APPROVAL_SECRET secret No Secret used when `STATS_EXPLORER_JEV` is set to `orchestrated`.
STATS_EXPLORER_AUDIT_LOG No Path of a JSON Lines file recording every Jev checkpoint decision.
STATS_EXPLORER_APP_URL No Changes the app link at the end of results.
STATS_EXPLORER_ASK_SECONDS No Ask before a full read expected to take longer than this. Default: 120
STATS_EXPLORER_SAMPLE_PERCENT No Size of the quick sample. Default: 1
STATS_EXPLORER_BACKGROUND_SECONDS No Continue as a background job after this long. Default: 40

Similar servers