StatsPAI for VS Code
io.github.brycewang-stanford/statspai
Econometrics and causal inference (DiD, IV, RD, synthetic control, DML) with Stata/R parity grades
client:VS Code
transport:stdio
runtime:pypi
Install StatsPAI in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "statspai-mcp-data-roots",
"description": "STATSPAI_MCP_DATA_ROOTS",
"password": true
},
{
"type": "promptString",
"id": "statspai-mcp-profile",
"description": "STATSPAI_MCP_PROFILE",
"password": true
}
],
"servers": {
"statspai": {
"type": "stdio",
"command": "uvx",
"args": [
"statspai"
],
"env": {
"STATSPAI_MCP_DATA_ROOTS": "${input:statspai-mcp-data-roots}",
"STATSPAI_MCP_PROFILE": "${input:statspai-mcp-profile}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs