About io.github.SepineTam/stata-mcp
io.github.SepineTam/stata-mcp is an MCP server published by SepineTam in the AI category: stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design. It is published to PyPI as stata-mcp and runs with uvx.
The repository has 285 stars and 37 forks, is licensed AGPL-3.0, and its last commit was on 30 Nov 2026. The latest release is v1.25.3 (6 Nov 2026): Stata-MCP v1.25.3 Release Date: November 6, 2026 Type: Security Patch What's New Fixes a URL guard bypass in get_data_info. It follows v1.25.2 (15 Oct 2026), and the 5 most recent releases go back to v1.24.0 (6 Sep 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution.
Install
uvx stata-mcppip install stata-mcpgit clone https://github.com/SepineTam/mcp-for-stataSecurity checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.0K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 97 source files and found 5 calls to eval or shell execution, in src/stata_mcp/stata/stata_do/do.py:523, src/stata_mcp/stata/stata_do/do.py:679 and src/stata_mcp/utils/doctor.py:359 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/stata_mcp/cli/_parsers.py:96, src/stata_mcp/cli/_parsers.py:96, src/stata_mcp/cli/_parsers.py:96
- Starts other programs
- 15 callssrc/stata_mcp/stata/stata_do/async_do.py:167, src/stata_mcp/stata/stata_do/do.py:456, src/stata_mcp/stata/stata_do/do.py:523
- Outbound network calls
- 5 callssrc/stata_mcp/data_info/base.py:560, src/stata_mcp/data_info/base.py:570, src/stata_mcp/utils/doctor.py:580
- Writes or deletes files
- 39 callssrc/stata_mcp/api/write_dofile.py:25, src/stata_mcp/audit/store.py:190, src/stata_mcp/audit/store.py:251
- Lockfile
- None in the repository
Pattern matches on the source text of 97 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.0K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README