Skip to main content

Let LLM help you achieve your regression analysis with Stata

Project description

logo

Stata-MCP

Let LLM help you achieve your regression analysis with Stata ✨

en cn fr sp Version License: MIT Issue


Looking for other Stata integrations or others?

💡 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

💡 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

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stata_mcp-1.3.4.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stata_mcp-1.3.4-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file stata_mcp-1.3.4.tar.gz.

File metadata

  • Download URL: stata_mcp-1.3.4.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for stata_mcp-1.3.4.tar.gz
Algorithm Hash digest
SHA256 dc8cee3fe7024d01a497dcffe50e05e814c5c764502a6cec0da791a65a0d9724
MD5 9e831021a8bb4a297a8a13a9ab47596c
BLAKE2b-256 0c59c3f94f44b299e559cde4409a6d3d4fd67f7f50105284d94f82da14d19e5c

See more details on using hashes here.

File details

Details for the file stata_mcp-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: stata_mcp-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for stata_mcp-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c882784bc02bc9b2925d3c3b76573f9310c9f0e2e473adac00cb38c88c616f7
MD5 3a3d5cfb2803e9891ec485dd0965a1f9
BLAKE2b-256 3003618570c7fcc26e4607954a2edc1a6ecd8d4fcca59bdb8a3cc9b6b5dc3c11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page