MCP Stata
未认领A lightweight Model Context Protocol (MCP) server for Stata. Execute commands, inspect data, retrieve stored results (r()/e()), and view graphs in your chat interface. Built for economists who want to integrate LLM assistance into their Stata workflow.
aieconometricseconomicsllmmcpmcp-serverstata
安装
$
uvx --refresh --refresh-package mcp-stata --from mcp-stata@latest mcp-stata工具(5 个)
action
describe, codebook, summary, search, list, get, or lint.
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.