From mcp-stata
Displays mcp-stata identity, connected tools, status, slash commands, and resources for Stata code execution, data loading, inspection, graphs, results, and session management.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-stata:stataThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Call `stata_manage_session(action="detect")` to verify the Stata connection, then respond with:
Call stata_manage_session(action="detect") to verify the Stata connection, 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
If stata_manage_session(action="detect") fails, report the error and suggest the user set STATA_PATH to the Stata executable path.
npx claudepluginhub tmonk/mcp-stata --plugin mcp-stataRuns Stata do-files, queries data structure, installs ado packages, reads .smcl/.log files, and looks up command documentation via the MCP-for-Stata server.
Dispatches Stata tasks for commands, .do files, regressions, econometrics, graphs, dataset inspection, replication, and errors to mcp-stata tools and specialized research skills.
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.