Skills/PyPI/stata-mcp

stata-mcp@1.25.3

VERIFIED· not started

Publisher claims: "MCP-for-Stata: a stable, security-first MCP server and CLI for integrating local Stata into Claude Code, Codex, OpenClaw, and other AI research workflows." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher sepinetam · publishing for 528 daysInstalls 9,502Last detonated 7 h ago
$claude mcp add stata-mcp -- uvx stata-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
OPENAI_API_KEYConfiguration, not credentials: CHAT_MODEL, CLAUDE_CONFIG_DIR, CODEX_HOME, DSH_HOME, OPENAI_BASE_URL, OPENAI_MODEL, ProgramFiles, ProgramW6432, STATA_CLI, STATA_MCP_CONFIG_FILE, STATA_MCP_CWD, THINKING_MODEL, UV_TOOL_DIR
Where it talks to
statamcp.com (its own)Also githubusercontent.com, aidea-labs.com, astral.sh — not the publisher's domain; check what for before connecting.
What the honeypot saw
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names githubusercontent.com, aidea-labs.com, astral.sh as well as its own vendor. The guard injects OPENAI_API_KEY only into requests to statamcp.com (and its subdomains) and refuses the rest.

$vet-skills run --secrets OPENAI_API_KEY=statamcp.com -- uvx stata-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-18 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/installer/installer.py:466 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/doctor.py:359 · Python subprocess execution detectedwin_result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandsrc/stata_mcp/monitor/ram_monitor.py:34 · Process kill command — agent can terminate processeslimit, it will kill the process and raise RAMLimitExceededError.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/doctor.py:156 · Python subprocess execution detectedcommand_result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/stata_mcp/utils/__init__.py:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileswith open(".env", "w+", encoding="utf-8") as f:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/stata/stata_do/do.py:592 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/installer/addon_lsp.py:38 · Python subprocess execution detectedresult = subprocess.run([claude, "plugin", *arguments], capture_output=True, text=True, timeout=20)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/update.py:158 · Python subprocess execution detectedresult = subprocess.run(command, capture_output=True, text=True, timeout=180, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/usable.py:102 · Python subprocess execution detectedresult = subprocess.run(cmd, shell=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/usable.py:74 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/stata/stata_do/do.py:679 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/installer/installer.py:689 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/stata/stata_do/do.py:523 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/doctor.py:317 · Python subprocess execution detectedprocess = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/utils/installer/installer.py:661 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/stata_mcp/stata/stata_do/do.py:456 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Collapsed <details> block carrying instructionsREADME.md:143 · Collapsed <details> block carrying instructions<summary>Local and share with your partners</summary> If you want to install it locally only for the certain workspace, you can `cd` to your working directory, Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈74 tok
1 file · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for stata-mcp@1.25.3 as of 6 h ago. This is the package itself, not its dependencies.