action
describe, codebook, summary, search, list, get, or lint.
How to use it
action is exposed by the MCP Stata MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the action tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Stata
$
uvx --refresh --refresh-package mcp-stata --from mcp-stata@latest mcp-stataOther tools in MCP Stata (4)
detect
Returns metadata about the Stata installation (version, flavor, OS) and optionally SSC packages.
history_diff
returns tracked changes in variables/macros and dataset dimensions.
history_stats
returns retained window metadata (historysize, earliestcommand, latestcommand, maxhistoryentries).
lint
performs static analysis of .do and .ado files for modern best practices.