Let LLM help you achieve your regression analysis with Stata
Project description
Stata-MCP
Let LLM help you achieve your regression analysis with Stata ✨
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
# 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
🚀 Roadmap
- macOS support
- 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.2}
}
APA
Song Tan. (2025). Stata-MCP: Let LLM help you achieve your regression analysis with Stata (Version 1.3.2) [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.2. 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stata_mcp-0.1.0.tar.gz.
File metadata
- Download URL: stata_mcp-0.1.0.tar.gz
- Upload date:
- Size: 42.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19b79b1da510a079221bfdca8b151183200a03aed55d320cff70033c1ef134d6
|
|
| MD5 |
71dd4639512f4fd3f06d02f58da7b6d3
|
|
| BLAKE2b-256 |
1f0e29c69127c9eec7226cbde0dac19c0c2bea0847e4201a27d59f92f59c1baa
|
File details
Details for the file stata_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stata_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68e7cef9470ba7d07e0a60760d1667fb011197c8603c53602d4a34a1e93c1fef
|
|
| MD5 |
f2468cff3a0f37628f5db3c216e91dc1
|
|
| BLAKE2b-256 |
c1ee9a66c23d24934d0c0e7fd4e4632e24a95736389d29da4fd82b2ecd9ad39c
|