MCP server · Audited from source
Stata MCP server
by sepinetam/stata-mcpAGPL-3.0 licenceAudited 6 Oct 2026 · source 28f74d3556f2
Is it safe? With care — CAUTION, grade C (78/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 24 findings (0 critical, 0 high, 2 medium, 17 low). Maintainer's description: Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.
Cite
Cite this page
ModelsAtlas. “Stata MCP server (sepinetam/stata-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/sepinetam/stata-1
3 MCP servers are called Stata. This is the one we pick. Compare all 3 →
- sepinetam/stata-mcp★ 263!CAUTION
- hanlulong/stata-mcp★ 500✕BLOCK
- tmonk/mcp-stata★ 86✕BLOCK
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
24 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared7 observations
- ShellDeclared7 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 18 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
L3 Inventory | Declared tools match the source | PASS 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
sepinetamUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
stata-mcpat version 1.25.1 - LicenceAGPL-3.0From the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read28f74d3556f2The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventoryBuilt at runtimeThe source declares no tools; the server lists them when a client connects, so we cannot read them.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (24)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · src/stata_mcp/utils/doctor.py:201
__import__(package)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/stata_mcp/utils/doctor.py:209
__import__(package)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · tests/test_release_binaries.py:24
module = importlib.import_module(module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · tests/test_diagnostic_logging.py:20
exec(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/test_diagnostic_logging.py:48
exec(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/stata_mcp/data_info/base.py:331
digest = hashlib.md5(self.bytes_io_data.getvalue()).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/stata_mcp/utils/installer/addon_source.py:143
blob = hashlib.sha1(f"blob {len(data)}\0".encode() + data).hexdigest()- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · tests/utils/test_installer_addons.py:303
"sha": hashlib.sha1(b"blob 5\0" + data).hexdigest(),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · .claude/skills/mcp-smoke-test/scripts/cleanup.sh:12
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../../../../" && pwd)"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · .claude/skills/mcp-smoke-test/scripts/prepare_smoke_test.sh:12
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../../../../" && pwd)"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/skills/test_stata_audit_skill.py:272
"../../outside",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/stata/test_do_boundary.py:881
"foo/../../bar",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/utils/test_installer_addons.py:277
"skills/../../bad",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/data_info/test_security.py:361
"https://192.168.1.1/data.csv",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/data_info/test_security.py:374
"https://192.168.1.1/data.csv",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/data_info/test_security.py:522
data_path="https://192.168.1.1/data.csv",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/data_info/test_security.py:547
data_path="https://192.168.1.1/data.csv",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/guard/test_data_path_auditor.py:169
result = auditor.validate_url("https://192.168.1.1/data.csv")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenancemcp.no_tools_extracted · server.json
- Why
- the tool list is enumerated at runtime by tools/list, not declared in source
- Fix
- the page says so rather than showing an empty table
INFOSupply chainprompt.pipe_to_shell · README.es.md:107
curl -fsSL https://raw.githubusercontent.com/SepineTam/mcp-for-stata/master/scripts/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.fr.md:107
curl -fsSL https://raw.githubusercontent.com/SepineTam/mcp-for-stata/master/scripts/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:119
curl -fsSL https://raw.githubusercontent.com/SepineTam/mcp-for-stata/master/scripts/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.zh-CN.md:111
curl -fsSL https://raw.githubusercontent.com/SepineTam/mcp-for-stata/master/scripts/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · docs/claude-plugin.md:153
curl -fsSL https://claude.ai/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
None declared in source
The tool list is built at runtime, so we cannot read it from the source.
Install
Package version 1.25.1 · audited commit 28f74d3
Read the findings first. The most severe is Code injection (medium) at src/stata_mcp/utils/doctor.py.
No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.
Audit history
- !CAUTION C 78 / 100
First audit ·
28f74d3556f2
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/sepinetam/stata-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Stata MCP server
What is the Stata MCP server?
Is Stata safe to connect to an agent?
What credentials does Stata need?
How does Stata run?
How current is this page?
Which Stata MCP server is the right one?
Sources
- sepinetam/stata-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 28f74d3556f2Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Stata MCP server?
- Is Stata safe to connect to an agent?
- What credentials does Stata need?