Skip to content
Cursor

StatsPAI for Cursor

io.github.brycewang-stanford/statspai

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

client:Cursor transport:stdio runtime:pypi

Install StatsPAI in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "statspai": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "statspai"
      ],
      "env": {
        "STATSPAI_MCP_DATA_ROOTS": "<STATSPAI_MCP_DATA_ROOTS>",
        "STATSPAI_MCP_PROFILE": "<STATSPAI_MCP_PROFILE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

StatsPAI in other clients