Stata MCP Server for Grok
io.github.aliveranme/stata-mcp
通过 pystata 驱动真实 Stata 的 MCP 服务器:数据加载/清洗/建模/诊断/图形导出,75 个工具覆盖完整计量工作流。
client:Grok
transport:stdio
runtime:npm
Install Stata MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"stata-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aliveranme/stata-mcp"
],
"env": {
"STATA_HOME": "<STATA_HOME>",
"STATA_EDITION": "<STATA_EDITION>",
"STATA_ALLOWED_ROOTS": "<STATA_ALLOWED_ROOTS>"
}
}
}
}
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