Recent Releases of stata-mcp
stata-mcp - V1.6.2
Stata-MCP v1.6.2 Release Notes
Release Date: August 15, 2025
Version: 1.6.2
License: Apache License 2.0
๐ฏ Overview
Stata-MCP v1.6.2 is a maintenance release focused on improving code architecture and maintainability. This release introduces a significant refactoring of the CLI entry point, separating it from the main module initialization to enhance modularity and follow Python best practices.
๐ง Code Architecture Improvements
CLI Refactoring
- Refactored: Moved CLI entry point from
__init__.pyto dedicated CLI module - Added: New dedicated CLI module at
stata_mcp/cli/_cli.py - Improved: Better separation of concerns between module initialization and CLI functionality
- Enhanced: Cleaner code organization following Python packaging standards
Module Structure
- Changed: CLI functionality now resides in dedicated module instead of
__init__.py - Added: Proper CLI argument parsing and handling in separate module
- Improved: Reduced complexity in main module initialization
๐ฆ Technical Improvements
Entry Point Configuration
- Updated:
pyproject.tomlnow points to the new CLI entry point - Fixed: Entry point configuration to use dedicated CLI module
- Improved: Better compatibility with packaging standards
Code Organization
- Refactored: Removed CLI-related code from
__init__.py - Added: Clean separation between package initialization and CLI execution
- Enhanced: More maintainable code structure for future development
๐ Installation & Upgrade
Fresh Installation
bash
pip install stata-mcp==1.6.2
Upgrade from Previous Version
bash
pip install --upgrade stata-mcp
Using uv
```bash uvx stata-mcp --version
Should show: stata-mcp 1.6.2
```
๐ Breaking Changes
None - This is a backward-compatible maintenance release. All existing functionality remains the same.
๐งช Testing
Tested Features
- โ CLI argument parsing and execution
- โ All existing MCP tools and prompts
- โ Cross-platform compatibility (macOS, Windows, Linux)
- โ Package installation and entry point functionality
- โ Web UI launching via CLI
๐ Known Issues
None - All functionality from previous versions remains intact.
๐ Community
Contributors
- Sepine Tam - Code architecture refactoring and CLI module separation
Reporting Issues
Found a bug or have a feature request? Open an issue on GitHub
๐ Documentation
๐ Technical Details
Code Structure Changes
stata_mcp/
โโโ __init__.py # Cleaned - CLI code removed
โโโ cli/
โ โโโ __init__.py
โ โโโ _cli.py # New dedicated CLI module
โโโ ... (rest unchanged)
Entry Point Update
The entry point configuration in pyproject.toml has been updated to:
toml
[project.scripts]
stata-mcp = "stata_mcp.cli._cli:main"
Download: stata-mcp v1.6.2
PyPI: stata-mcp on PyPI
- Python
Published by SepineTam 7 months ago
stata-mcp - V1.6.1
Stata-MCP v1.6.1 Release Notes
Release Date: August 9, 2025
Version: 1.6.1
License: Apache License 2.0
๐ฏ Overview
Stata-MCP v1.6.1 is a patch release focused on fixing critical Excel file compatibility issues and improving overall stability. This release addresses the Excel file reading error reported in get_data_info functionality.
๐ง Bug Fixes
Excel File Support
- Fixed: Resolved Excel file reading issue in
get_data_infofunction - Fixed: Added missing
openpyxldependency for .xlsx file format support - Fixed: Improved error handling for Excel file parsing operations
Compatibility Improvements
- Fixed: Enhanced compatibility with various Excel file formats
- Fixed: Better error messages for file format issues
๐ฆ Dependency Updates
New Dependencies
- Added
openpyxl>=3.1.5for comprehensive Excel file support
Updated Dependencies
- All existing dependencies remain compatible
- No breaking changes introduced
๐ Installation & Upgrade
Fresh Installation
bash
pip install stata-mcp==1.6.1
Upgrade from Previous Version
bash
pip install --upgrade stata-mcp
Using uv
```bash uvx stata-mcp --version
Should show: stata-mcp 1.6.1
```
๐ Breaking Changes
None - This is a backward-compatible patch release.
๐งช Testing
Tested Features
- โ Excel (.xlsx) file reading functionality
- โ CSV file compatibility
- โ Stata (.dta) file support
- โ All regression analysis workflows
- โ Multi-platform compatibility (macOS, Windows, Linux)
๐ Known Issues
None - All reported issues from v1.6.0 have been addressed.
๐ Community
Contributors
- Sepine Tam - Bug fixes, dependency management, and release coordination
Reporting Issues
Found a bug or have a feature request? Open an issue on GitHub
๐ Documentation
๐ License
This release marks the official migration from MIT License to Apache License 2.0 for enhanced legal protection and compatibility.
License Changes
- Previous: MIT License
- Current: Apache License 2.0
- Scope: All project files, documentation, and contributions
Benefits of Apache 2.0
- Patent Grant: Includes explicit patent rights from contributors
- Protection Against Patent Litigation: Clear terms for patent disputes
- Commercial Friendly: Better suited for commercial use cases
- Compatibility: Compatible with GPL v3 and other major open source licenses
Updated Files
LICENSE- Full Apache 2.0 textpyproject.toml- Added license fieldCITATION.cff- Updated license specification- All README files (English, Chinese, French, Spanish)
- All documentation files
Statement.md- Updated in all supported languages
Download: stata-mcp v1.6.1
PyPI: stata-mcp on PyPI
Download: stata-mcp v1.6.1
PyPI: stata-mcp on PyPI
- Python
Published by SepineTam 7 months ago
stata-mcp - v1.5.2
[Add] Add a new function as prompt for LLMs help for help LLMs knows more about a Stata command.
[Reshape] Reshape the project structure.
[Update] Update cli args
usage: stata-mcp [-h] [-v] [--usable] [--install] [-t {stdio,sse,http,streamable-http}]
Stata-MCP command line interface
options: -h, --help show this help message and exit -v, --version show version information --usable check whether Stata-MCP could be used on this computer --install install Stata-MCP to Claude Desktop -t {stdio,sse,http,streamable-http}, --transport {stdio,sse,http,streamable-http} mcp server transport method (default: stdio)
- Python
Published by SepineTam 8 months ago
stata-mcp - v1.5.0
[Add] Add lots of subcommand while using.
usage: stata-mcp [-h] [-v] [--usable] [--install] [--stdio] [--sse] [--http]
Stata-MCP command line interface
options: -h, --help show this help message and exit -v, --version show version information --usable check whether Stata-MCP could be used on this computer --install install Stata-MCP to Claude Desktop --stdio mcp server transport method: stdio (default) --sse mcp server transport method: sse --http mcp server transport method: streamable-http
- Python
Published by SepineTam 8 months ago
stata-mcp - v1.5.0-beta
Release Notes for Stata-MCP v1.5.0-beta
We are excited to announce the release of Stata-MCP v1.5.0! This version introduces significant enhancements to the command-line interface (CLI), streamlines installation, and improves overall usability. We've focused on making Stata-MCP more robust and user-friendly for all our users.
New Features and Improvements
Enhanced Command-Line Interface (CLI)
-
argparseIntegration: The CLI has been completely refactored to utilize Python'sargparsemodule. This provides a more standardized, robust, and user-friendly way to handle command-line arguments, offering clearer help messages and better error handling.
Simplified Installation and Usability Checks
- New
--installCommand: A new command,stata-mcp --install, has been added to simplify the setup process. This command automates the installation of Stata-MCP configurations directly into Claude Desktop, significantly reducing manual setup steps. - New
--usableCommand: To help users verify their environment, we've introducedstata-mcp --usable. This command checks if the Stata Command Line Interface (CLI) is correctly configured and accessible on your system, ensuring a smoother experience.
Improved Version Management
-
stata-mcp --version: You can now easily check the installed version of Stata-MCP directly from your terminal usingstata-mcp --version. This feature provides a more reliable and consistent way to retrieve version information.
Internal Changes
- Code Refactoring: Key components such as
StataFinderandInstallerhave been reorganized into dedicated modules withinsrc/stata_mcp/utils/. This refactoring improves code modularity, maintainability, and future extensibility. - Dependency Management: Minor updates to internal dependencies have been made to ensure compatibility and enhance overall stability.
We hope these updates enhance your experience with Stata-MCP. As always, we welcome your feedback and contributions!
- Python
Published by SepineTam 8 months ago