Stata MCP server
io.github.SepineTam/stata-mcp·v1.25.2·266 starsLet LLM help you achieve your regression analysis with Stata
266 stars2.8k downloads/wk
Reviews
Write oneNobody has reviewed Stata yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Stata tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan94 source files scanned8/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (2)
- mediumsubprocess with shell=True
exec.shell-truestata_mcp-1.25.2/src/stata_mcp/stata/stata_do/do.py: …n( cmd, shell=True, # Windows Stata requires shell execut…
- highShell command built from a string (injection risk)
exec.shell-concatstata_mcp-1.25.2/src/stata_mcp/utils/doctor.py: … try: win_result = subprocess.run( f'"{stata_cli_path}" /e do "{temp_do_file}…
How Stata compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 66/100
- higher than 28% of 4,460 AI and agents servers
- GitHub stars
- 266
- more than 95% of 2,711 AI and agents servers
- Downloads a week
- 2,794
- more than 95% of 1,538 AI and agents servers with a package
Release history: 4 versions in the registry since 2026-08-29, latest 2026-10-15, typically one every 18 days.
Install Stata in Claude Code, Cursor or VS Code
claude mcp add stata-mcp -- uvx stata-mcp
What the publisher says
From the Stata repository's README, as published. We do not edit it. Read it on GitHub
MCP-for-Stata (Stata-MCP): Run Stata with ANY Agent
MCP-for-Stata is an safety first open-source MCP server and CLI tool with Skills 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.
Turn Claude Code, Codex, and other AI agents into an on-demand research assistant.
Stata is a registered trademark of StataCorp LLC. This project is an independent community-developed tool and is not affiliated with, endorsed by, or sponsored by StataCorp LLC.
<!-- mcp-name: io.github.SepineTam/stata-mcp -->
💡 Quick Start
You do not need to edit any configuration. Just tell your agent:
Install MCP-for-Stata for yourself globally following the instructions in the GitHub repository at SepineTam/mcp-for-stata.🆕 News
- 📖 Skills installed by default: Stata-related skills are now installed together with the MCP, no separate setup needed. See the installation guide.
- 🚀 DeepSeek Harness Day 0 Support: Install MCP-for-Stata in DeepSeek Harness with uvx stata-mcp install -c dsh. See the DeepSeek Harness guide.
- 🧪 Claude Science Support: MCP-for-Stata now works in Claude Science with a sandbox allowlist. See the Claude Science guide.
- Find more in WeChat: Why I made it?, and 8 figures find out Stata-MCP
- 🦞 OpenClaw Support: Standalone CLI tools for OpenClaw integration (stata-mcp tool), see OpenClaw guide
- ✨ Claude Code Plugin Support: Official plugin package with MCP server and Stata LSP integration
- Use MCP-for-Stata in Claude Code, see Claude Code advanced usage, or in Codex see Codex advanced usage
Finding our newest research? View latest research reports.
Looking for others?
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreD → Cscore 66: Shell command built from a string (injection risk); subprocess with shell=True
Stata: common questions
- Is Stata MCP server safe?
- With care: it is graded C, so read the findings first (66/100). Read the Stata safety report
- How do I install Stata?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Stata need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Stata maintained?
- The last commit was 20 days ago (2026-10-15). The latest release is v1.25.2.
- What can I use instead of Stata?
- Servers from other publishers that do the same job: MCP Server for WinDbg Crash Analysis and Depwire MCP server.
- How does Stata compare with other AI and agents MCP servers?
- safety score 66/100 (higher than 28% of 4,460 AI and agents servers); github stars 266 (more than 95% of 2,711 AI and agents servers); downloads a week 2,794 (more than 95% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Stata
Same job from other publishers: the closest match first, then the best rated.
- MCP Server for WinDbg Crash AnalysisA Model Context Protocol server for Windows crash dump analysis using WinDbg/CDBnot reviewedEstablishedA
- DepwireDependency graph + 24 MCP tools. Impact analysis, simulation, security, agent coordinationnot reviewedEstablishedB