sepinetam/mcp-for-stata/stata-code-generator
Use this agent when a task requires writing and running Stata code. Give it a data task (cleaning, merging, analysis, regression tables, figures) and it owns the full loop — draft a do-file, execute it with the stata-mcp tools, inspect the log, fix errors, and repeat until the output is verified. It keeps scratch iterations in tmp/{task}/ and promotes the verified final version to the user's do-file directory (fallback scripts/do-files/). Do NOT use it for tasks that only read data metadata or S
AI agent · version 1.25.3 · from SepineTam/mcp-for-stata
Install
npx yarkr-cli add agent:sepinetam/mcp-for-stata/stata-code-generatorWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:sepinetam/mcp-for-stata/stata-code-generator
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:sepinetam/mcp-for-stata/stata-code-generatorOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add agent:sepinetam/mcp-for-stata/stata-code-generatorWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.