mcp-stata
01Plugin Claude Code
Local marketplace for the mcp-stata plugin.
Plugin Claude Code
Local marketplace for the mcp-stata plugin.
Plugin Claude Code
mcp-stata - an agentic toolkit for empirical researchers. Gives AI agents native control over a local Stata installation, allowing agents to run do-files, inspect data, check stored results, and export graphs.
Agent
End-to-end statistical analysis agent for Stata. Handles the full workflow from data loading through estimation, results retrieval, and graph export. Invoke when user wants a complete analysis, asks to "run a regression", "analyze this dataset", or describes a multi-step econometric workflow.
Agent
Stata error diagnosis and debugging agent. Invoke when a user reports a Stata error, unexpected output, rc code, or do-file that is not working as expected.
Agent
Specialist agent for publication-ready Stata outputs. Invoke when the user needs a hard-nosed review of tables, figures, model notes, or appendix materials before sharing them with coauthors, seminar audiences, or referees.
Agent
Specialist agent for replication, robustness, and multi-specification evidence gathering in Stata. Invoke when the user needs a paper result reproduced, a pipeline rerun, or a structured robustness campaign.
Hook
Runs when a session starts on startup, resume, clear and compact, executing install.sh. From tmonk/mcp-stata.
Skill Claude CodeCodex
Design, run, and critique causal inference workflows in Stata. Use when the user is working on identification, treatment effects, DiD, IV, event studies, RD, or assumption-sensitive empirical claims.
Skill Claude CodeCodex
Audit datasets for structure, missingness, labeling, suspicious values, duplicate identifiers, and documentation readiness. Use when a researcher asks for data QA, codebook review, sanity checks, or pre-analysis cleanup guidance.
Skill Claude CodeCodex
Track dataset lineage, transformation steps, merge logic, and reproducibility risks in Stata workflows. Use when the user needs to explain where data came from, how it changed, or why a pipeline can be trusted.
Skill Claude CodeCodex
Diagnose local Stata, MCP, package, startup, graph-export, and permissions issues. Use when setup is failing, Stata is not discovered, packages are missing, logs are truncated, or a managed machine behaves differently from a normal workstation.
Skill Claude CodeCodex
List, export, and review Stata graphs from the current session.
Skill Claude CodeCodex
Look up Stata command documentation and display formatted help text.
Skill Claude CodeCodex
Describe and summarize the current dataset in memory. Optionally inspect a specific variable with codebook.
Skill Claude CodeCodex
Run static analysis on a Stata .do or .ado file and report style and best-practice issues.
Skill Claude CodeCodex
Tail, read, or search a Stata log file from a previous command or background task.
Skill Claude CodeCodex
Improve, modernize, and optimize existing Stata code for performance, portability, and maintainability. Use when legacy patterns such as preserve/restore, cd.
Skill Claude CodeCodex
Plan and critique power, MDE, and sample-size calculations for Stata-based research workflows. Use when the user is designing a study, checking detectability, or defending precision claims.
Skill Claude CodeCodex
Review regression outputs, tables, and graphs for publication readiness. Use when the user asks whether a result is ready for a paper, appendix, seminar, referee response, or coauthor review.
Skill Claude CodeCodex
Organize and execute Stata workflows for referee responses, robustness requests, and coauthor follow-ups. Use when the user needs to answer a critique with targeted reruns, tables, figures, and a defensible audit trail.
Skill Claude CodeCodex
Run replication, robustness, and specification-sensitivity workflows for Stata projects. Use when a researcher wants to reproduce a result, rerun a pipeline, compare specifications, audit a do-file sequence, or check whether a claim is stable.
Skill Claude CodeCodex
Fetch and display stored r(), e(), and s() results from the last Stata command.
Skill Claude CodeCodex
Run arbitrary Stata code or a .do file and display the result.
Skill Claude CodeCodex
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.