Stata-MCP

by SepineTam
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Supports running Stata statistical analysis on macOS systems, with Windows support planned for future releases.

让 LLM 帮助您使用 Stata 实现回归分析。

现在已经支持Stata-MCP自动查找Stata CLI。


正在寻找其他 Stata 集成或其他?

💡 快速入门

有关更详细的使用信息,请访问使用指南

一些高级用法,请访问高级指南

先决条件

  • uv - 软件包安装程序和虚拟环境管理器
  • Claude、Cline、ChatWise 或其他 LLM 服务
  • Stata 许可证
  • 您的 LLM API 密钥

安装

# Clone the repository git clone https://github.com/sepinetam/stata-mcp.git cd stata-mcp # Copy example config cp example.config.py config.py # Using uv (recommended) to test usable uv run usable.py # Alternative setup with pip # python3.11 -m venv .venv # source .venv/bin/activate # pip install -r requirements.txt

📝 文档

💡 问题

🚀 路线图

  • [x] macOS 支持
  • [x] Windows支持
  • [ ] 附加 LLM 集成
  • [ ] 性能优化

⚠️ 免责声明

本项目仅供研究之用。本人不对因本项目造成的任何损害负责。请确保您拥有使用 Stata 的适当许可。

欲了解更多信息,请参阅声明

🐛 报告问题

如果您遇到任何错误或有功能请求,请打开问题

📄 许可证

MIT 许可证和扩展

📚 引用

如果您在研究中使用 Stata-MCP,请使用以下格式之一引用此存储库:

BibTeX

@software{sepinetam2025stata, author = {Song Tan}, title = {Stata-MCP: Let LLM help you achieve your regression analysis with Stata}, year = {2025}, url = {https://github.com/sepinetam/stata-mcp}, version = {1.3.1} }

美国心理学会

Song Tan. (2025). Stata-MCP: Let LLM help you achieve your regression analysis with Stata (Version 1.3.1) [Computer software]. https://github.com/sepinetam/stata-mcp

芝加哥

Song Tan. 2025. "Stata-MCP: Let LLM help you achieve your regression analysis with Stata." Version 1.3.1. https://github.com/sepinetam/stata-mcp.

📬 联系方式

电子邮件: sepinetam@gmail.com

或者直接提交Pull 请求来贡献代码!我们欢迎各种类型的贡献,从错误修复到新功能。

❤️ 致谢

作者真诚感谢Stata官方团队的支持以及授权测试开发的Stata License。

✨ 明星历史

-
security - not tested
F
license - not found
-
quality - not tested

MCP 服务器允许大型语言模型与 Stata 软件交互以执行回归分析和其他统计操作。

  1. Prerequisites
    1. Installation
      1. 📝 Documentation
        1. 💡 Questions
          1. 🚀 Roadmap
            1. ⚠️ Disclaimer
              1. 🐛 Report Issues
                1. 📄 License
                  1. 📚 Citation
                    1. BibTeX
                    2. APA
                    3. Chicago
                  2. 📬 Contact
                    1. ❤️ Acknowledgements
                      1. ✨ Star History
                        ID: wwch657j12