Stata MCP
MCP-for-Stata is an open-source MCP server and CLI that lets any AI agent you use invoke local Stata on your device for regression analysis, econometrics, paper replication, and empirical research. It provides command guards, resource monitoring, automatic log capture, and cross-platform client installation, while you retain control of your data and Stata license.
People who work with stata, econometrics and statistical analysis and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-09-14 · ★ 260 · #3 OF 85 MAINTAINED DESIGN · VERIFIED 2026-09-18
AGPL-3.0 · Python servers · how we verify → /methodology
01 · Install Stata MCP
before you install - you'll need
STATA_MCP__CWD
Environment variables documented in the project's README - it lists which are required and which have defaults.
Claude Code
claude mcp add sepinetam-stata-mcp -- uvx stata-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"sepinetam-stata-mcp": {
"command": "uvx",
"args": [
"stata-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license AGPL-3.0 - declared in the repository
pypi package stata-mcp - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.SepineTam is GitHub-verified and matches the repo owner
03 · What Stata MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v1.24.0 · 2026-09-06
Stata-MCP v1.24.0 · Release Date: September 6, 2026 · Feature Enhancement and Security · What's New · Adds auditable Stata execution, local diagnostics, and installed Stata discovery while upgrading to MCP Python SDK…
v1.23.1 · 2026-08-29
Stata-MCP v1.23.1 · Release Date: August 29, 2026 · Feature Enhancement and Security · What's New · Strengthens dependency and CI security while adding clearer Stata output guidance for agent-driven research workflows.…
v1.23.0 · 2026-08-27
Stata-MCP v1.23.0 · Release Date: August 27, 2026 · Feature and Security · What's New · Adds client-specific MCP setup for WorkBuddy, Pi, and GitHub Copilot CLI, and hardens Windows do-file execution against crafted…
04 · Who maintains Stata MCP
stata-mcp is maintained by sepinetam. We track 2 MCP servers from sepinetam - 2 actively maintained, 263 combined GitHub stars, oldest repo from Mar 2025. Full record: all servers from sepinetam.
05 · Facts
- repository
- github.com/sepinetam/stata-mcp
- category
- design - ranked #3 of 85 actively-maintained design servers as of 2026-09-18.
- release cadence
- 10+ releases in the last 90 days (latest 2026-09-06)
- registry
- io.github.SepineTam/stata-mcp (active, first published 2026-02-28 · 32 versions)
- packages
- pypi:stata-mcp
06 · Stata MCP FAQ
What is Stata MCP?
MCP-for-Stata is an open-source MCP server and CLI that lets any AI agent you use invoke local Stata on your device for regression analysis, econometrics, paper replication, and empirical research. It provides command guards, resource monitoring, automatic log capture, and cross-platform client installation, while you retain control of your data and Stata license.
Is Stata MCP still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-14 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
How do I install Stata MCP?
Run `uvx stata-mcp`. The README documents one environment variable (STATA_MCP__CWD) to set first. You can also paste the ready-made client config above.
Does Stata MCP run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Stata MCP
Alternatives to Stata MCP
Maintained design servers if Stata MCP isn't the fit.
- Figma Context MCP (glips) Give your coding agent access to your Figma data. Implement designs in any framework in one-shot. ★ 15,874 · 2026-09-18
- Figma MCP Server (figma) The Figma MCP server brings Figma design context directly into your AI workflow. ★ 1,998 · 2026-09-11
- Type UI Design systems, UI prompts, and layout variations for AI coding tools. ★ 1,942 · 2026-07-04
- Appllama Study screens, flows and paywalls from top-earning iOS apps, then build from what wins. ★ 1,848 · 2026-09-06
- Openflowkit MCP Local-first OpenFlowKit diagramming tools for Claude, Cursor, Windsurf & other MCP clients. ★ 770 · 2026-08-19
- Fable Cut Zero-dependency browser video editor AI agents drive via a JSON timeline over MCP; ffmpeg export. ★ 674 · 2026-09-17
head to head · Figma Context MCP (glips) vs Stata MCP · Photoshop MCP vs Stata MCP · Codesign vs Stata MCP
More design MCP servers · Flato Design MCP · Figma MCP Express · Validator · Openroad MCP (the-openroad-project) · Figma UI MCP
More Python MCP servers · Serp API · Minirag MCP · Dev Time · Airlock · Shuck File · see all