Skip to content
Grok

StatsPAI for Grok

io.github.brycewang-stanford/statspai

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

client:Grok transport:stdio runtime:pypi

Install StatsPAI in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

StatsPAI in other clients