Skip to main content
Glama

Stata-MCP

README.md5.89 kB
<h1 align="center"> <a href="https://www.statamcp.com"> <img src="https://example-data.statamcp.com/logo_with_name.jpg" alt="logo" width="300"/> </a> </h1> <h1 align="center">Stata-MCP</h1> <p align="center"> 让大语言模型(LLM)帮助您使用Stata完成回归分析 ✨</p> [![en](https://img.shields.io/badge/lang-English-red.svg)](../../../../README.md) [![cn](https://img.shields.io/badge/语言-中文-yellow.svg)](README.md) [![fr](https://img.shields.io/badge/langue-Français-blue.svg)](../fr/README.md) [![sp](https://img.shields.io/badge/Idioma-Español-green.svg)](../sp/README.md) [![PyPI version](https://img.shields.io/pypi/v/stata-mcp.svg)](https://pypi.org/project/stata-mcp/) [![PyPI Downloads](https://static.pepy.tech/badge/stata-mcp)](https://pepy.tech/projects/stata-mcp) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../../../../LICENSE) [![Issue](https://img.shields.io/badge/Issue-report-green.svg)](https://github.com/sepinetam/stata-mcp/issues/new) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/SepineTam/stata-mcp) --- > 正在寻找其他? > > - [追踪 DID](https://github.com/asjadnaqvi/DiD):如果您想获取关于DID(双重差分法)的最新信息,请点击[此处](https://asjadnaqvi.github.io/DiD/)。现在有[Sepine Tam](https://github.com/sepine)和[StataMCP-Team](https://github.com/statamcp-team)的中文翻译 🎉 > - Jupyter Lab 使用方法(重要提示:Stata 17+)[此处](../../JupyterStata.md) > - [NBER-MCP](https://github.com/sepinetam/NBER-MCP) & [AER-MCP](https://github.com/sepinetam/AER-MCP) 🔧 建造之下 > - [Econometrics-Agent](https://github.com/FromCSUZhou/Econometrics-Agent) > - [TexIV](https://github.com/sepinetam/TexIV):一个基于机器学习的框架,利用先进的NLP和机器学习技术将文本数据转化为可用于实证研究的变量 > - VScode 或 Cursor 集成 [此处](https://github.com/hanlulong/stata-mcp)。搞不清楚?️💡 [区别](../../Difference.md) ## 💡 快速开始 > 标准配置要求:请确保 Stata 安装在默认路径,并且在 macOS 或 Linux 上存在 Stata CLI。 标准配置 json 如下,您可以通过添加环境变量来自定义配置。 ```json { "mcpServers": { "stata-mcp": { "command": "uvx", "args": [ "stata-mcp" ] } } } ``` 有关更详细的使用信息,请访问[使用指南](../../Usages/Usage.md)。 一些高级的功能,访问[高级指南](../../Usages/Advanced.md) ### 前提条件 - [uv](https://github.com/astral-sh/uv) - 包安装器和虚拟环境管理器 - Claude、Cline、ChatWise或其他LLM服务 - Stata许可证 - 您的LLM API密钥 ### 安装 对于新版本,您无需再次安装 `stata-mcp` 包,只需使用以下命令检查您的计算机是否可以使用 stata-mcp。 ```bash uvx stata-mcp --usable uvx stata-mcp --version ``` 如果您希望在本地使用,也可以通过 pip 安装或下载源代码并编译。 **通过 pip 安装** ```bash pip install stata-mcp ``` **下载源代码并编译** ```bash git clone https://github.com/sepinetam/stata-mcp.git cd stata-mcp uv build ``` 然后您可以在 `dist` 目录中找到编译好的 `stata-mcp` 可执行文件,可直接使用或加入 PATH。 例如: ```bash uvx /path/to/your/whl/stata_mcp-1.6.3-py3-non-any.whl # 这里的文件名可根据版本修改 ``` ## 📝 文档 - 有关更详细的使用信息,请访问[使用指南](../../Usages/Usage.md)。 - 高级用法,请访问[高级指南](../../Usages/Advanced.md) - 一些问题,请访问[问题](../../Usages/Questions.md) - 与[Stata-MCP@hanlulong](https://github.com/hanlulong/stata-mcp)的区别,请访问[区别](../../Difference.md) ## 💡 常见问题 - [Cherry Studio 32000 wrong](../../Usages/Questions.md#cherry-studio-32000-wrong) - [Cherry Studio 32000 error](../../Usages/Questions.md#cherry-studio-32000-error) - [Windows 支持](../../Usages/Questions.md#windows-supports) - [网络问题](../../Usages/Questions.md#network-errors-when-running-stata-mcp) ## 🚀 路线图 - [x] macOS支持 - [x] Windows支持 - [ ] 更多LLM集成 - [ ] 性能优化 ## ⚠️ 免责声明 本项目仅用于研究目的。我对本项目造成的任何损害不承担责任。请确保您拥有使用Stata的适当许可证。 更多信息,请参阅[声明](../../Rights/Statement.md)。 ## 🐛 报告问题 如果您遇到任何错误或有功能请求,请[提交问题](https://github.com/sepinetam/stata-mcp/issues/new)。 ## 📄 许可证 [Apache License 2.0](../../../../LICENSE) ## 📚 引用 如果您在研究中使用 Stata-MCP,请使用以下格式之一引用此存储库: ### BibTeX ```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.6.3} } ``` ### APA ``` Song Tan. (2025). Stata-MCP: Let LLM help you achieve your regression analysis with Stata (Version 1.6.0) [Computer software]. https://github.com/sepinetam/stata-mcp ``` ### Chicago ``` Song Tan. 2025. "Stata-MCP: Let LLM help you achieve your regression analysis with Stata." Version 1.6.0. https://github.com/sepinetam/stata-mcp. ``` ## 📬 联系方式 电子邮件:[sepinetam@gmail.com](mailto:sepinetam@gmail.com) 或通过提交[拉取请求](https://github.com/sepinetam/stata-mcp/pulls)直接贡献!我们欢迎各种形式的贡献,从错误修复到新功能。 ## ❤️ 致谢 作者诚挚感谢Stata官方团队给予的支持和授权测试开发使用的Stata License ## ✨ 历史Star [![Star History Chart](https://api.star-history.com/svg?repos=sepinetam/stata-mcp&type=Date)](https://www.star-history.com/#sepinetam/stata-mcp&Date)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SepineTam/stata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server