Stata-MCP is a server that integrates with Stata to assist users in performing regression analysis and econometric tasks using LLM capabilities.
From the registry: Let LLM help you achieve your regression analysis with Stata
Please install the `stata-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Stata License** — Valid licensed copy of Stata (StataCorp LLC) installed on the system (https://www.stata.com)
- **uv** — uv package manager recommended for running stata-mcp Run: `uv --version` (https://github.com/astral-sh/uv)
Canonical MCP server config (stdio transport):
- command: `uvx`
- args: ["stata-mcp"]
- optional environment variables:
- `STATA_MCP_CWD`: Working directory for Stata sessions (example: `/path/to/your/project`)
Note: MCP server bridging LLMs to Stata for econometric regression analysis. Requires licensed Stata installation. Also supports Claude Code plugin: claude plugin marketplace add sepinetam/stata-mcp.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.STATA_MCP_CWDrequiredSpecifies the current working directory for Stata-MCP.