Stata MCP Extension (VS Code)

hanlulongExperiments & data analysisListed

About this tool

A Stata extension for VS Code, Cursor and Antigravity. Run selected code or complete do files, inspect output, plots and data, and expose local Stata to agents such as Claude Code, Codex, GitHub Copilot or Cline through an automatically started MCP server. Includes syntax highlighting and parallel sessions.

  • Feature 1: Run selected code or entire .do files in the editor and view results live.
  • Feature 2: The extension starts an MCP server with tools such as stata_run_selection and stata_run_file.
  • Feature 3: Streamable HTTP and SSE endpoints.
  • Feature 4: Data viewer, plot display and parallel sessions.
  • Feature 5: Windows, macOS and Linux support.

Resource information

Maintainer
Independent developer Lu Han (hanlulong), published as OpenEcon.ai.
Type
Plug-in
Category
Experiments & data analysis
Runs on
Plug-in
Who it's for
Econometrics, public-health and social-science researchers having agents write, run and revise regressions and robustness tests in local Stata.
License at time of listing
MIT
Source
GitHub