Let LLM help you achieve your regression analysis with Stata.
Now Stata-MCP has been supported to find Stata CLI automatically.
Looking for other Stata integrations or others?
- A VScode or Cursor integrated here. Confused it? 💡 Difference
- Jupyter Lab Usage (Important: Stata 17+) here
- NBER-MCP 🔧 under construction
- AER-MCP
💡 Quick Start
For more detailed usage information, visit the Usage guide.
And some advanced usage, visit the Advanced guide
Prerequisites
- uv - Package installer and virtual environment manager
- Claude, Cline, ChatWise, or other LLM service
- Stata License
- Your API-KEY from LLM
Installation
# 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
📝 Documentation
- For more detailed usage information, visit the Usage guide.
- Advanced Usage, visit the Advanced
- Some questions, visit the Questions
- Difference with Stata-MCP@hanlulong, visit the Difference
💡 Questions
- Cherry Studio 32000 wrong
- Windows Support
🚀 Roadmap
- [x] macOS support
- [x] Windows support
- [ ] Additional LLM integrations
- [ ] Performance optimizations
⚠️ Disclaimer
This project is for research purposes only. I am not responsible for any damage caused by this project. Please ensure you have proper licensing to use Stata.
For more information, refer to the Statement.
🐛 Report Issues
If you encounter any bugs or have feature requests, please open an issue.
📄 License
MIT License and Extensions
📚 Citation
If you use Stata-MCP in your research, please cite this repository using one of the following formats:
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}
}
APA
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
Chicago
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.
📬 Contact
Email: sepinetam@gmail.com
Or contribute directly by submitting a Pull Request! We welcome contributions of all kinds, from bug fixes to new features.
❤️ Acknowledgements
The author sincerely thanks the Stata official team for their support and the Stata License for authorizing the test development.
✨ Star History
Stata-MCP
Project Details
- SepineTam/stata-mcp
- Other
- Last Updated: 4/18/2025
Categories
Recomended MCP Servers
MCP Server for Adobe After Effects. Enables remote control (compositions, text, shapes, solids, properties) via the Model Context...
A Model Context Protocol server implementation for Kagi's API
Model Context Protocol based AI Agent that runs a browser from Claude desktop
MCP server for creating whimsical boards from an LLM context
MCP server for document format conversion using pandoc.
MCP server for Docker
大家好!我是功能丰富的 MCP 服务,旨在打破设备与服务的隔阂,为用户带来便捷体验。 天气工具和气象平台联动,快速为用户推送全球实时天气,助力大家规划出行。控制浏览器工具模拟人工操作,自动搜索、浏览网页,大幅节省时间。摄像头工具调用本地摄像头拍照、录像,实现人脸识别,保障家庭安防。 为实现工具协同,我搭建了稳定框架,开发者可以基于现有服务进行拓展
A Model Context Protocol (MCP) server for interacting with the Hetzner Cloud API. This server allows language models...
A custom extension for the chat app SillyTavern
Talk with your notes in Claude. RAG over your Apple Notes using Model Context Protocol.






