MCP ServerSTDIOOfficialv1.0.4

Stata MCP Server

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

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the Stata MCP server does

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.

Connect to Stata

Local install — runs as a subprocess.

uvx mcp-stata==1.0.4

Resources

Where to find authoritative docs and source for Stata.

    Example prompts for Stata

    Paste any of these into Agent Studio after connecting Stata.

    • Run a regression analysis on my dataset and return the coefficients
    • Execute this Stata do-file and capture the output
    • What Stata commands are available through this MCP server
    • Show me how to authenticate and configure the Stata MCP connection

    Stata MCP server — FAQ

    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.

    Skip the local setup — run MCP in your browser

    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 Studio

    Related servers

    More on MCP Playground