Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Stata MCP server

by sepinetam/stata-mcpAGPL-3.0 licenceAudited 6 Oct 2026 · source 28f74d3556f2

PyPI stata-mcp 1.25.1stdiostreamable-http★ 263
!CAUTIONGrade C · 78/100 · 6 Oct 2026 · 28f74d3
263GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score78/100!CAUTION C
0 critical0 high2 medium17 low5 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 18 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 5 findings
L3 InventoryDeclared tools match the sourcePASS 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 PyPIstata-mcp at 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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
__import__(package)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMCode injectioncode.dynamic_import · src/stata_mcp/utils/doctor.py:209
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
__import__(package)
Why
No further detail recorded for this rule.
Fix
—
LOWCode injectioncode.dynamic_import · tests/test_release_binaries.py:24
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
"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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../outside",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/stata/test_do_boundary.py:881
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"foo/../../bar",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/utils/test_installer_addons.py:277
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"skills/../../bad",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/data_info/test_security.py:361
F-04 Network egressCWE-200 · CWE-319Layer L1
"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
F-04 Network egressCWE-200 · CWE-319Layer L1
"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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-13 Inventory / provenanceCWE-1104Layer L3
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

  1. !CAUTION C 78 / 100

    First audit · 28f74d3556f2

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/sepinetam/stata-1/badge.svg)](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?
Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.
Is Stata safe to connect to an agent?
With care. The audit graded it C (78/100) and found 24 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Stata need?
It reads OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Stata run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as stata-mcp.
How current is this page?
The grade is for one exact copy of the source (28f74d3556f2), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Stata MCP server is the right one?
sepinetam/stata-mcp (this page). 3 servers share the name; see the side-by-side comparison.

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.