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