Stata MCP server
Let LLM help you achieve your regression analysis with Stata
C66/100grade C
Adoption
Established
260 stars2.1k 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.9 · 2026-09-19 · same rubric, same numbers if you re-run it
1 high1 medium
- 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 1 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.0/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.0/src/stata_mcp/utils/doctor.py: … try: win_result = subprocess.run( f'"{stata_cli_path}" /e do "{temp_do_file}…
Overall 66/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON
Grade history
- 2026-09-19restoreD → Cscore 66: Shell command built from a string (injection risk); subprocess with shell=True
Install directly
claude mcp add stata-mcp -- uvx stata-mcp
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, Claude Desktop or Cursor 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 in the last day (2026-09-18). The latest release is v1.25.0.
- What can I use instead of Stata?
- Servers from other publishers that do the same job: Agent Spreadsheet MCP server.
Alternatives to Stata
Same job from other publishers: the closest match first, then the best rated.
- Agent Spreadsheet MCPAgent-safe Excel workbook analysis, editing, recalc, and verification tools.not reviewedGrowingA