mcp-server

StatsPAI: Accelerate Causal Inference and Econometrics in Python

Use StatsPAI’s unified API and MCP server to run robust causal analysis—ideal for founders building data‑driven policy or product impact tools.

From the repo · “StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.”

345 stars+6★ this week72 forksPythonGuide quality 8/10 · reviewed Oct 22Updated 10/22/2026100% free · open source
What it does

StatsPAI provides a unified API for causal inference and applied econometrics, allowing data-driven founders to easily perform complex statistical analyses.

When to use it
  • •When you need to perform causal inference on your startup's data to inform business decisions
  • •When you want to unify different statistical methods under a single API for easier comparison and analysis
  • •When you require machine-readable schemas and structured result objects for further data processing and visualization
Ready-to-paste prompt
Run `statspai.CausalModel(y='outcome', T='treatment', X=['covariate1', 'covariate2']).estimate()` to estimate the causal effect of a treatment on an outcome while controlling for covariates
Heads up: Make sure you have Python 3.8 or later installed, as StatsPAI is not compatible with earlier Python versions
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/statspai && curl -fsSL https://workflowstacks.com/api/skills/statspai/claude-skill -o ~/.claude/skills/statspai/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

27
top-level files
16
folders
134.7M
source size
MIT
license
Key files
.pre-commit-config.yaml
AGENTS.md
README_CN.md
README.md
File tree
.coverage_campaign/
.github/
.tier_eg_campaign/
.tierd_campaign/
benchmarks/
docs/
examples/
papers/
plans/
rust/
schemas/
scripts/
src/
StatsPAI_full_data_analysis_skill/
tests/
tools/
.codespellrc
.flake8
.gitattributes
.gitignore
.pre-commit-config.yaml
.zenodo.json
AGENTS.md
CHANGELOG.md
Quick Actions
Details
Creator
brycewang-stanford
Language
Python
Category
mcp-server
Published
7/26/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/statspai.svg)](https://workflowstacks.com/skills/statspai?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Related skills

More mcp-server tools founders pair with this one.

mcp-server★ 370,019
Rea: Reverse Engineer Apps
Inspect apps down to binary level with Rea. For founders needing code clarity.
mcp-server★ 156,544
open-webui: Self‑hosted AI Chat UI for Faster LLM Integration
Launch a sleek, web‑based AI interface that works with Ollama, OpenAI API, and more—ideal for founders needing a quick, customizable LLM front‑end. 153k+ GitHub stars.
mcp-server★ 133,734
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
mcp-server★ 4,330
basic-memory — Persistent AI chats that keep your project context
Founders get AI conversations that remember details, so you never waste time re‑explaining. Ideal for Python‑based, privacy‑first workflows. 4.3k+ GitHub stars
mcp-server★ 28,670
qwen-code: Supercharge Your Terminal with an AI Coding Agent
Boost developer productivity by running an AI-powered coding assistant directly in your terminal. Ideal for founders who need fast, context-aware code generation without leaving the CLI.
mcp-server★ 2,297
agent-teams-ai
You're the boss, agents are your team. They handle tasks on their own, message each other, and review each other's work. You just watch the kanban board and give high-level commands. Codex/Claude/OpenCode/Cursor/Grok/GitHub Copilot/Kiro/Z.AI/MiniMax/Kimi(200+ models, 75+ LLM providers, free models no auth). Build your AI company with multiple teams