# Stats Explorer

> Stats Explorer is an open-source MCP server for analytics and data. Verified statistics tools for assistants: tests, A/B readouts, power analysis and reports. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, vscode
- **Repository:** https://github.com/meador793/stats-explorer-mcp
- **MCP Registry name:** io.github.Meador793/stats-explorer-mcp
- **Categories:** analytics and data, developer tools
- **Listing updated:** 2026-11-16

## About

Instead of letting a model guess at numbers, this server hands data analysis to 18 tools that read your CSV, TSV, Excel or Parquet files by column name, so large datasets never go through the chat. Tests cover t-tests, z-tests, ANOVA with Tukey HSD, ANCOVA, MANOVA, chi-square, Fisher's exact, binomial and correlation. A/B and A/B/n readouts report lift with intervals, sample ratio mismatch checks, Holm-adjusted comparisons and Bayesian probability to beat the control, and there is sample-size planning.

Each result includes an effect size, confidence interval, a plain-English interpretation and warnings when an assumption looks weak. 43 reference cases are checked against SciPy and statsmodels on every commit. Columns, groups and report sections the agent proposes are shown to you for confirmation before anything runs.

It runs locally over stdio with no network calls or API key. Optionally, TypeSafe's Jev model can independently check the test plan and the assistant's written conclusions.

## Features

- **Statistical tests:** t-tests, ANOVA with Tukey HSD, chi-square, Fisher's exact and more.
- **A/B readouts:** Lift, sample ratio checks and Bayesian win probability.
- **File-based analysis:** Read CSV, TSV, Excel and Parquet without pasting data.
- **Guided workflow:** Hypothesis tests follow a six-step guide with confirmations.
- **Plain-English results:** Effect sizes, intervals and assumption warnings.
- **Optional Jev check:** A second model reviews plans and conclusions.

## Good for

- Analyse an A/B test result from a CSV
- Find which groups differ after ANOVA
- Plan the sample size for an experiment
- Rank which columns drive an outcome

## Install

### Claude Code (Terminal)

```sh
claude mcp add stats-explorer-mcp --env TYPESAFE_API_KEY='<TYPESAFE_API_KEY>' --env STATS_EXPLORER_APPROVAL_SECRET='<STATS_EXPLORER_APPROVAL_SECRET>' -- npx -y stats-explorer-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<STATS_EXPLORER_APPROVAL_SECRET>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<STATS_EXPLORER_APPROVAL_SECRET>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "stats-explorer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<STATS_EXPLORER_APPROVAL_SECRET>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<STATS_EXPLORER_APPROVAL_SECRET>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "stats-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stats-explorer-mcp"
      ],
      "env": {
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "STATS_EXPLORER_APPROVAL_SECRET": "<STATS_EXPLORER_APPROVAL_SECRET>"
      }
    }
  }
}
```

## FAQ

### Does it send my data anywhere?

No, it runs locally and makes no network calls unless Jev's enforce mode is on.

### How accurate is it?

43 reference cases are checked against SciPy and statsmodels to six significant figures.

### Which file types work?

CSV, TSV, Excel and Parquet.

### Can I use it in VS Code?

Yes, via an extension for Copilot's agent mode.

### Is Stats Explorer free?

Yes. Stats Explorer is open source, so you can use and self-host it for free.

### How do I add Stats Explorer to Claude Code?

Run this command in your terminal: claude mcp add stats-explorer-mcp --env TYPESAFE_API_KEY='<TYPESAFE_API_KEY>' --env STATS_EXPLORER_APPROVAL_SECRET='<STATS_EXPLORER_APPROVAL_SECRET>' -- npx -y stats-explorer-mcp

### What are the best alternatives to Stats Explorer?

The closest alternatives to Stats Explorer are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/stats-explorer
