StatsPAI MCP Server
brycewang-stanford/StatsPAI
[](https://agentrank-ai.com/tool/brycewang-stanford--StatsPAI/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) 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.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
brycewang-stanford/StatsPAI is a Python MCP server licensed under MIT. 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. Topics: agent-native, ai-agents, causal-discovery, causal-inference, data-science, difference-in-differences, double-machine-learning, econometrics, instrumental-variables, llm, mcp, panel-data, policy-evaluation, python, regression-discontinuity, rstats, stata, statistics, synthetic-control, treatment-effects.
Ranked #158 out of 24846 indexed tools.
In the top 1% of all indexed tools.
Ecosystem
Score Breakdown
338 stars → growing community
Last commit 29d ago → recently updated
8/8 issues closed → responsive maintainer
6 contributors → small team
No dependents → no downstream usage
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
Matched Queries
From the README
简体中文(默认) | [English](https://github.com/brycewang-stanford/statspai/blob/main/README_EN.md) <p align="center"> </p> # StatsPAI:面向 Agent 设计的 Stata/R 平替 <p align="center"> <a href="https://doi.org/10.21105/joss.10604"></a> <br> 由 <strong>Stanford REAP</strong> 团队开发和维护 <br> 论文已发表于 <strong><em>Journal of Open Source Software</em>(JOSS)</strong>:Wang & Rozelle (2026), 11(125), 10604 · <a href="https://doi.org/10.21105/joss.10604">doi:10.21105/joss.10604</a> </p> StatsPAI 面向那些原本需要在 Stata、R 和 Python 之间来回切换的实证研究者。它的目标很直接:把常见的计量经济学、因果推断、诊断、稳健性、表格导出和 Agent 可读元数据,放到一个 Python-native API 里。 你可以把它理解成新项目的 Stata/R 平替入口: - Stata 风格:`regress`、`ivregress`、`reghdfe`、`csdid`、`rdrobust`、`synth`、`psmatch2`、`esttab` / `outreg2`。 - R 风格:`lm`、`fixest`、`did`、`rdrobust`、`Synth`、`DoubleML`、`MatchIt`、`modelsummary`、`broom`。 - 关键处遵循 Stata 约定:`regress`、`ivreg` 和各类似然估计器都接受 `vce="robust"` / `vce="cluster firm"`,稳健 / 聚类标准误采用 Stata 的小样本修正和 z / t 参考分布;任何拟合结果之后都可以做 `testRead full README on GitHub →
Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.