/mcp-stata:statafrom mcp-stata
Reports mcp-stata connection status, version, flavor, and lists all available Stata MCP tools and slash commands. Use to verify Stata toolkit availability.
Ships in mcp-stata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
ToolSearch query="select:stata_manage_session"
Call stata_manage_session(action="detect") to verify the Stata connection. If stata_manage_session(action="detect") fails, report the error and suggest the user set STATA_PATH to the Stata executable path.
Then respond with:
__ __
____ ___ _________ _____/ /_____ _/ /_____ _
/ __ `__ \/ ___/ __ \______/ ___/ __/ __ `/ __/ __ `/
/ / / / / / /__/ /_/ /_____(__ ) /_/ /_/ / /_/ /_/ /
/_/ /_/ /_/\___/ .___/ /____/\__/\__,_/\__/\__,_/
/_/ mcp-stata
mcp-stata is connected. Stata {version} ({flavor}) detected.
MCP Tools:
stata_run — execute do-file code & ad-hoc commands
stata_load_data — load datasets (sysuse / webuse / path)
stata_inspect_data — describe, codebook, summary, list, get rows
stata_manage_graphs — list, export, or export_all graphs
stata_get_help — Stata command documentation
stata_get_results — fetch r() / e() / s() stored results
stata_read_log — tail or search log output
stata_manage_session — create/stop sessions, history diff, UI channel
stata_task_status — poll background task progress
stata_control — break or cancel running work
Slash Commands:
/stata-run <code> — run arbitrary Stata code
/stata-inspect [var] — describe/summarize current dataset
/stata-results — fetch stored r()/e()/s() results
/stata-graph [name] — export graph(s)
/stata-lint <path> — lint a .do or .ado file
/stata-log [path] — tail log output
/stata-help <topic> — look up Stata documentation
Resources (MCP):
stata://data/summary stata://data/metadata
stata://graphs/list stata://variables/list
stata://results/stored
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tmonk/mcp-stata --plugin mcp-stata20 skills in this plugin
/stata-causal-inferenceDesign, 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./stata-data-auditAudit 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./stata-data-provenanceTrack 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./stata-environment-diagnoseDiagnose 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./stata-graphList, export, and review Stata graphs from the current session./stata-helpLook up Stata command documentation and display formatted help text.Other plugins' skills for the same job