Execute Stata commands and scripts through an MCP server for statistical analysis and data processing. Designed for developers integrating Stata workflows into AI-assisted applications.
io.github.tmonk/mcp-stata
Local install
STDIO
No auth required
How models use it and what it is built for.
Execute Stata commands and scripts through an MCP server for statistical analysis and data processing. Designed for developers integrating Stata workflows into AI-assisted applications.
Local install — runs as a subprocess.
Where to find authoritative docs and source for Stata.
Paste any of these into Agent Studio after connecting Stata.
Common questions about connecting and running Stata.
What is the mcp-stata server and what can it do?
The mcp-stata server is a lightweight MCP (Model Context Protocol) server that allows you to execute Stata commands and scripts programmatically. It enables integration of Stata statistical analysis into AI-assisted workflows and applications.
How do I install and run the mcp-stata server?
Install it using the command `uvx mcp-stata@1.0.4`. The server uses stdio transport, meaning it communicates through standard input/output streams when connected to an MCP client.
Do I need Stata installed on my machine to use this server?
Yes, the mcp-stata server is a lightweight wrapper that requires a working Stata installation on your system to execute commands. The server itself is just the interface layer.
What version of Stata is supported?
The registry metadata does not specify minimum or maximum Stata versions. Consult the project repository or documentation for compatibility details with your Stata installation.
Can I use this server for production data analysis pipelines?
The mcp-stata server is designed as a lightweight interface for Stata integration. For production use, verify error handling, security, and data validation practices by reviewing the project documentation or source code.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams