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
Augment LLMs with Todoist features
The definitive Vibe Coder's sanity check MCP server: Prevent cascading errors in AI workflows by implementing strategic pattern...
CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to...
A working example to create a FastAPI server with SSE-based MCP support
A docker MCP Server (modelcontextprotocol)
The OpenAPI-MCP proxy translates OpenAPI specs into MCP tools, enabling AI agents to access external APIs without custom...
A Model Context Protocol (MCP) server for creating, reading, and manipulating Microsoft Word documents. This server enables AI...
A NL2SQL plugin based on FocusSearch keyword parsing, offering greater accuracy, higher speed, and more reliability!
A Model Context Protocol (MCP) server that enables Claude and other AI assistants to send SMS messages using...
Make websites accessible for AI agents
A MCP provider Deepseek reasoning content to MCP-enabled AI Clients, like Claude Desktop. Supports access to Deepseek's CoT...






