{"_id":"@aliveranme/stata-mcp","_rev":"8-efc1629be04c4afb716b568f2e1bd4f7","name":"@aliveranme/stata-mcp","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@aliveranme/stata-mcp","version":"1.0.0","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.0","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"40a38b05c7ca4e64e3b0d4b0b6faaa07415ea69f","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.0.tgz","fileCount":18,"integrity":"sha512-y66gSNOBO5MXTis/2u8PsNVwX4DiF+6Mm5nU63KFGmnJkeQUhkPrLwOBdTD04Hmd9WBdYePhJdQx676PlmlFZw==","signatures":[{"sig":"MEUCIQDgheYzTMSreI319l6Q0pSvAck7Y1MP62qd9cDQ9hU71wIgRjkvEWp31hp8xouILOHyjQyyC2CRNOlUedp6JmR46hI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374607},"engines":{"node":">=18"},"gitHead":"902539f9f28f0997ddae49676003a7e1dc420dde","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.0_1785673196588_0.552125260992663","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aliveranme/stata-mcp","version":"1.0.4","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.4","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"d947ef207a3927552f18b6060d47cc3cd2148bd8","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.4.tgz","fileCount":18,"integrity":"sha512-8wtUiRzIMMX5enb3lX98AVxak0KN90mxvs7QggRbUI1K1pm8s43zh8dn+SXwm4eYNWwzfhB+GFKxXHrVUNEAgw==","signatures":[{"sig":"MEYCIQDfevwCD6RaVmtmLg3SIs1+J9HgSnW40pXLr3Y96L8QTQIhAIkaxtFV6lvsxzDXwTuUyGMbkmdvnbRFu/XKjWCU3nbI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374608},"engines":{"node":">=18"},"gitHead":"90cbd47c71eba89d6e0abda9bf5a91663ce5d5f8","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.4_1785673562477_0.803250413668426","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aliveranme/stata-mcp","version":"1.0.5","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.5","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"9419bfd33508d3b125ca1e1d14a599d8cd60fe51","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.5.tgz","fileCount":18,"integrity":"sha512-xMiZrqrgSjUPZYLRxhonyoYwiJlfSPYK/KPiMPrOdMdJ1pkUmcq33aJMm7MVNIf6/grVhlKodrLKFgX2II/nfQ==","signatures":[{"sig":"MEQCIAOfnKdzoqrpgWsHRco6NBb60JUIZOaj+5q/7B9yhSUlAiB9nYoeFiQ9B0L7fClTJidN3WEwGQSasvnIBQmT7+uc5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374608},"engines":{"node":">=18"},"gitHead":"e5a6df9339a4838c5aebefe51d4891b9edd1a0a0","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.5_1785673657933_0.4343582782929527","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aliveranme/stata-mcp","version":"1.0.6","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.6","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"bbb2e5fd94f5ac060e44dc7ff6620770bff8938e","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.6.tgz","fileCount":18,"integrity":"sha512-OPBsUXTBoqFjUtGxWG25LlWrndkDErEQRxdizgAVc2+AFg/gaiWzFEn4UicetxOxobdP2ye1oBmtmG/UysJd5A==","signatures":[{"sig":"MEYCIQCdS/0Ma6DRRa9IVItlrVIjy5kMtrKR5DzKANMcPRwZ7wIhAJeTPzNRAB53r8DgXhf4O0Sd+xabeFjjtbcGDaUQUiRL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374259},"engines":{"node":">=18"},"gitHead":"a5a020ba7512dbdd2560fb267dd654c7187de0e6","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.6_1785674568291_0.18928903112811857","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aliveranme/stata-mcp","version":"1.0.7","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.7","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"b5e6eb992dd38ba60be36572771eea51e5bef513","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.7.tgz","fileCount":18,"integrity":"sha512-cNfitl+F8BeXw4OpSuRVQqWvBxkV+jneVhaJWKAa2CEZmzPtlVhyiIVlUZqlFFBEVANQZUIvkJ2Rys+iKuon4A==","signatures":[{"sig":"MEUCIQCohRxfOElfs9MgpVsNcBbDVrT3j0UHtY678YOrj1TEQwIgA0nKhY0osmCSIc5C/5lBz/yhh7TnQv91++el6k7QbbQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374259},"engines":{"node":">=18"},"gitHead":"42558b8d4c9597de16394c7ff85ac5d2e5d16ad3","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.7_1785675691149_0.8389771078402255","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@aliveranme/stata-mcp","version":"1.0.8","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.8","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"069a41b943d5a4e54dcc818867e77591c87db292","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.8.tgz","fileCount":18,"integrity":"sha512-ab7rfw4HR2eQTB127CfFJiMteUSL4Npy9WdjRvH0ddEo4y2RoUg57g1bFh/oOLbtIvDTGwf8IfTAKysWSo/eOg==","signatures":[{"sig":"MEQCIHY9iYJEfrITIHWHD1HGvje9JyRixmnQ+AJ7MtvSVypZAiBagaIburMb6FnKdcjJgIN/Sapc0z1cL7UXSMxA2jBYyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374259},"engines":{"node":">=18"},"gitHead":"b0abe63f144377af46e7b87e0a6662d9598c2de9","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.8_1785675926329_0.4445835448735158","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@aliveranme/stata-mcp","version":"1.0.9","keywords":["mcp","stata","pystata","econometrics"],"license":"MIT","_id":"@aliveranme/stata-mcp@1.0.9","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"bin":{"stata-mcp-server":"index.js"},"dist":{"shasum":"256642426f6a29e64d1cf7f33eb7b6f13b80e54c","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.9.tgz","fileCount":18,"integrity":"sha512-+EUGBVwKr71WKwRF7yqDHUeG++7u3dJoSEA3mIZAp9oUT8jwEg4+hGlJdzUUEWEtQOcHxT7mm1H6WnBvBnOCRA==","signatures":[{"sig":"MEUCIQCPRkw++oIzfbZnsfW6vRPO+xrPEqInePjr4PD1ZxMz7gIgBGDkulegUzHq6kS6jWQ3AO2JQFVqLIKPhEU0i7ql/9c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":376648},"engines":{"node":">=18"},"gitHead":"397a1dfafac839fd060776c49d63c227f20ef7d3","mcpName":"io.github.aliveranme/stata-mcp","_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"_npmVersion":"10.8.2","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stata-mcp_1.0.9_1785683435689_0.023385944183991425","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@aliveranme/stata-mcp","version":"1.0.10","description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","mcpName":"io.github.aliveranme/stata-mcp","license":"MIT","bin":{"stata-mcp-server":"index.js"},"engines":{"node":">=18"},"keywords":["mcp","stata","pystata","econometrics"],"_id":"@aliveranme/stata-mcp@1.0.10","gitHead":"6abc35f28cf132662b8c029a979523a1bcd23a11","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-7z/zrg6yV/pQquPQRnN/Lz6jGmA0t8eGd97ZzKw3kuTdyi0bRXpHd2p6L501a8cAJLfjunUNomVfJiUlqUS0Lg==","shasum":"7e1c70d3819981c67ecaf370b4470a19ab7a0174","tarball":"https://registry.npmjs.org/@aliveranme/stata-mcp/-/stata-mcp-1.0.10.tgz","fileCount":18,"unpackedSize":377292,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHQsKVKbbnFzbpg5ojezF0L+CF6ZUfZre0S2cU4+P5UiAiEAqBpdTu1mGFbPqPpR8uWZip6191TrL8vrwPxBhVoIFVs="}]},"_npmUser":{"name":"aliveranme","email":"aliveranme@163.com"},"directories":{},"maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stata-mcp_1.0.10_1786918214346_0.8696839129367577"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-02T12:19:56.396Z","modified":"2026-08-16T22:10:14.689Z","1.0.0":"2026-08-02T12:19:56.748Z","1.0.4":"2026-08-02T12:26:02.604Z","1.0.5":"2026-08-02T12:27:38.084Z","1.0.6":"2026-08-02T12:42:48.434Z","1.0.7":"2026-08-02T13:01:31.302Z","1.0.8":"2026-08-02T13:05:26.488Z","1.0.9":"2026-08-02T15:10:35.906Z","1.0.10":"2026-08-16T22:10:14.506Z"},"license":"MIT","keywords":["mcp","stata","pystata","econometrics"],"description":"MCP server that drives real Stata via pystata — 数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。","maintainers":[{"name":"aliveranme","email":"aliveranme@163.com"}],"readme":"# Stata MCP Server (NPM)\n\nMCP server 通过 [pystata](https://www.stata.com/python/) 驱动真实 Stata：数据加载/清洗/建模/诊断/图形导出，75 个工具覆盖完整计量工作流。\n\n## 前置依赖\n\n- **Python 3.10+**\n- **真实 Stata**（StataNow 19 / Stata 18，任意版本 mp/se/be）—— pystata 由 Stata 自带，从 `STATA_HOME/utilities` 加载\n- 可选：`uv`（自动安装 fastmcp 依赖）；无 uv 时需 `pip install fastmcp>=3.2.0`\n\n## 使用\n\n```bash\n# 环境变量（必填）\nexport STATA_HOME=/Applications/StataNow\nexport STATA_EDITION=mp\n\n# MCP 客户端配置（stdio 传输）\n# command: npx -y @aliveranme/stata-mcp\n```\n\n## 配置 MCP 客户端（Claude Code 示例）\n\n```json\n{\n  \"mcpServers\": {\n    \"stata\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aliveranme/stata-mcp\"],\n      \"env\": { \"STATA_HOME\": \"/Applications/StataNow\", \"STATA_EDITION\": \"mp\" }\n    }\n  }\n}\n```\n\n## 安全\n\n- 危险命令护栏（shell-out / 文件销毁 / 代码执行）与宏混淆防御\n- 可选路径沙箱：`STATA_ALLOWED_ROOTS=/allowed/dir:/other`（分号分隔）\n\n完整文档见 https://github.com/aliveranme/stata-mcp\n","readmeFilename":"README.md"}