Help us improve
Share bugs, ideas, or general feedback.
From mcp-stata
Describes and summarizes current Stata dataset in memory with structure, stats, and variable codebooks. Useful for data exploration before analysis.
npx claudepluginhub tmonk/mcp-stata --plugin mcp-stataHow this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-stata:stata-inspectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
If an argument (variable name) is provided:
Audits Stata datasets for structure, missingness, labeling, suspicious values, duplicate identifiers, and documentation readiness. Useful for data QA, codebook reviews, sanity checks, and pre-analysis cleanup.
Explores datasets interactively: lists tables with stats, previews rows and schemas, shows column distributions, flags quality issues with SWD-styled charts.
Provides Stata reference for .do files, data management, econometrics, causal inference, graphics, Mata programming, and packages like reghdfe, estout, did, rdrobust. Aids writing, debugging, explaining code.
Share bugs, ideas, or general feedback.
If an argument (variable name) is provided:
stata_inspect_data(action="codebook", query=<variable>) and display the codebook output.If no argument is provided:
stata_inspect_data(action="describe") — display the dataset structure (obs, vars, types, labels).stata_inspect_data(action="summary") — display descriptive statistics (N, mean, sd, min, max).If either call returns an error indicating no data in memory, tell the user to load data first (e.g., /stata-run sysuse auto, clear or stata_load_data("auto")).