Skip to content
Claude Code

StatsPAI for Claude Code

io.github.brycewang-stanford/statspai

Econometrics and causal inference (DiD, IV, RD, synthetic control, DML) with Stata/R parity grades

client:Claude Code transport:stdio runtime:pypi

Install StatsPAI in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add statspai -e STATSPAI_MCP_DATA_ROOTS=<STATSPAI_MCP_DATA_ROOTS> -e STATSPAI_MCP_PROFILE=<STATSPAI_MCP_PROFILE> -- uvx statspai

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

StatsPAI in other clients