stata-copilot
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stata-copilot Regress log wage on education and experience and return the coefficients and R²"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stata-copilot
English · 中文说明
An MCP server and skill pack that turn a coding agent into a disciplined Stata analyst. 让 AI 像研究助理那样跑 Stata:结果读成数字,危险命令碰不到,每一步都留得下。
Agents can already type regress y x into a terminal. What they cannot do is read Stata's
transcript reliably, tell a coefficient from a footnote, keep their hands off erase, or leave
behind a run record you could put in a replication package. stata-copilot closes that gap:
Structured results |
|
Safety rails | Shell escapes, |
Reproducibility trail | Every run is appended to |
Zero dependencies | The server is ~600 lines of plain Node (≥18) speaking JSON-RPC over stdio. No |
Requirements
Stata 17 or 18 (MP/SE/BE), licensed. Stata ships its own embedded engine —
pystataandmp-64.dll— and that is what this server loads by default.Python 3 that can import
pystata(the interpreter bundled with Stata or with DeepSeek Harness works;pythononPATHis used when nothing else is configured).Node.js ≥ 18.17 (only to run the server; Stata work happens in Stata).
Nothing else. There is no second service to start: --driver auto (the default) finds Stata and
pystata, then runs Stata inside a child process of this server, with break wired to the
shared library's StataSO_SetBreak.
If your machine already runs a stata-ai-skill HTTP service, --driver http still drives it
(--endpoint http://127.0.0.1:19522); that path is optional and never required.
Related MCP server: STATA-MCP Repro
Install
DeepSeek Harness: install the bundle, no config file
The package doubles as a DSH carrier bundle (dsh.bundle.patch in package.json), so it mounts
its own MCP row instead of asking you to edit a JSON file:
Settings → Plugins → install from source, paste
https://github.com/Parado-D/stata-copilot.Start a new session. The server's tools appear as
mcp__stata__stata_status,mcp__stata__stata_run, …,mcp__stata__stata_job_submit. No Host restart is involved — MCP entries are read when a session is created.
Or from a shell, with a local checkout:
dsh plugin --profile <profile> add file:/path/to/stata-copilot # copy
dsh plugin --profile <profile> add link:/path/to/stata-copilot # junction, live editsThe mount lives in cordis.patch.yml. Two details worth knowing:
The row starts the server with the DSH executable itself plus
ELECTRON_RUN_AS_NODE=1, so a standalonenodeis not required onPATH; on a source checkoutprocess.execPathisnodeand the variable is inert.failOnStartupError: falseand areconnectblock mean a missing Stata (or a stopped HTTP service, if you chose that driver) degrades to "tool unavailable", never to a profile that will not boot.
The repository is public, so the Git URL above installs anonymously — verified: pnpm add https://github.com/Parado-D/stata-copilot resolves and installs stata-copilot@0.3.0 in about
3 s, and the installed copy boots the MCP server from the bundled patch. If you are installing a
fork you keep private, pnpm's clone has no credentials and returns 404; install that one from a
local path (file: / link:) instead.
To tune the mount, override the row from your profile's own patch layer instead of editing the package:
- id: stata-copilot-mcp
config:
cwd: 'D:\papers\my-study' # default: your home directory
env:
STATA_COPILOT_MODE: readonly # open | guarded | readonly
STATA_COPILOT_ROOTS: 'D:\papers'1. Get the code
git clone https://github.com/Parado-D/stata-copilot.git
cd stata-copilot
npm link # optional: puts `stata-copilot` on PATH; there is nothing to installThere are no dependencies, so there is no npm install step and nothing to audit. Node ≥ 18.17 is
enough. (Publishing to npm is on the roadmap; until then the git URL is the install source.)
2. Register it with your MCP client
Claude Code (.mcp.json in the project root):
{
"mcpServers": {
"stata": {
"command": "node",
"args": ["C:/tools/stata-copilot/bin/stata-copilot.mjs", "--mode", "guarded", "--root", "."]
}
}
}Cursor / Windsurf / Claude Desktop (mcpServers block of the client config) — same entry.
DeepSeek Harness — use the bundle at the top of this section; nothing is hand-wired. If you
prefer the file-overlay route, examples/dsh.cordis.yml is the same
row as a standalone --patch file. Any Cordis client can also run the server directly:
node bin/stata-copilot.mjs --endpoint http://127.0.0.1:19522 --mode guarded --root ~/projects/paperCodex / other agents — MCP over stdio is the whole contract:
stata-copilot --mode guarded # after npm link; speaks JSON-RPC on stdin/stdoutCopy-paste versions of both configs are in examples/: mcp-config.json for the
mcpServers clients and dsh.cordis.yml for DeepSeek Harness (dsh web --patch ...).
3. Prove it works, with or without an agent
examples/real-analysis/run.mjs is a minimal MCP client — the same protocol an agent host
speaks. It runs a complete analysis on Stata's auto data (profile → summarize → regress →
robust regress → graph → ledger) and writes report.md, estimates.json and a PNG:
node examples/real-analysis/run.mjs # loads Stata itself (auto driver)If that command prints coefficients and writes the report, the server half is fine and any remaining problem is in the client wiring.
examples/paper/ is the longer version: a study split into numbered do-files
(10-import → 20-clean → 30-describe → 40-model → 50-figures), each one logged and
rerunnable on its own, producing tables, figures and output/REPORT.md:
node examples/paper/run.mjs # chapters through the MCP serverThe same five files also run in a plain Stata session (do analysis/run-all.do), which is the
point: the agent layer must not be the only way to reproduce the paper.
One way to run Stata, and a fallback
The server loads Stata itself. There is no second product to install and no service to keep
running: --driver auto (the default) finds the Stata installation and a Python that can import
pystata, then keeps a Stata session alive in a child process of this server.
|
| |
Stata runs in | a Python child that this package starts | an existing |
Extra software | Python 3 + the | that service |
|
| HTTP |
Install | this package only | two packages |
Standalone mode: Stata inside the server
Stata 17+ ships an official embedded engine: <Stata home>/utilities/pystata plus mp-64.dll.
The engine loads it in a long-lived child process, so the session (loaded data, estimates,
macros) survives between tool calls:
node bin/stata-copilot.mjs --driver pystata --stata-home "D:/" --python "C:/Python312/python.exe"--stata-home and --python are optional — auto discovers them — but naming them removes the
guesswork:
set STATA_COPILOT_STATA_HOME=D:\
set STATA_COPILOT_PYTHON=C:\Python312\python.exe--stata-homeis the folder holdingmp-64.dll(D:/in the example). The bridge adds<home>/utilitiestoPYTHONPATHitself, soimport pystataresolves without setup.stata_breakis real in this mode: the bridge calls the DLL'sStataSO_SetBreakfrom its stdin thread while Stata is still inside the previous command. Awhile 1 { }loop stops in about three seconds and the session stays usable.No HTTP hop means no 300-second artificial ceiling; each call carries its own timeout, and background jobs (
stata_job_*) keep working — they spawn a separate batch process either way.Graphs are files in this mode. Write
graph export "output/fig1.png", replace width(1200)and pass the path tostata_graphs; the engine does not capture the picture for you. The first export in a fresh process spends about a minute building Stata's graphics subsystem, and the ones after it take under a second.
Verified on Windows with Stata 18 MP: node test/pystata.mjs runs 13 live assertions (licence,
sysuse, coefficients identical to the HTTP engine, r(111) preserved, busy state, break, session
survives the break).
Tools
Tool | What it is for |
| Is Stata reachable, which installation, is a command running, what policy is active. |
| Run a block of commands; returns |
| Run an existing |
|
|
| Dataset header plus per-variable type, format, label and missing count. |
| One estimation command in, a coefficient table and fit statistics out: b, se, t/z, p, 95% interval, omitted terms. |
| Static review of Stata code for constructs that run without an error and do the wrong thing. Never executes anything. |
|
|
| The PNG a run exported, attached as an image the model can actually see. |
| Interrupt a runaway command, then confirm |
| The run ledger. |
| Run a |
| Job state, elapsed time, return code, first Stata error, log tail. |
| The log the job is writing right now. |
| Stop a job and keep the log so far. |
| Jobs recorded under a working directory, newest first. |
A session
> stata_status
running · Stata 18 MP · D:\StataMP-64.exe · busy false · mode guarded
> stata_profile_data { dataset: "auto" }
74 obs · 12 vars · make (str18) "Make and model" · price (int) 0 missing …
> stata_model { command: "regress price mpg weight" }
mpg b=-49.512 se=86.156 t=-0.575 p=0.567 [ -221.30, 122.28 ]
weight b= 1.747 se= 0.641 t= 2.723 p=0.008 [ 0.47, 3.03 ]
_cons b=1946.069 se=3597.05 t= 0.541 p=0.590 [ -5226.1, 9118.2 ]
fit: n=74 r2=0.293 F=14.74 crit=1.99394 omitted=[]
> stata_run { code: "scatter price mpg\ngraph export \"output/fit.png\", replace width(1200)" }
success · 1 graph → output/fit.png
> stata_graphs
[image]Long analyses
The local service embeds the Stata engine inside its own process, so one command runs at a time:
while a command is executing, every other call is answered with
409 Stata is busy executing another command, and a call that outlives the service's own limit
comes back without a return code at all. A twenty-minute imputation therefore cannot be driven
through stata_run, however the timeout is set.
stata_job_submit sidesteps that by not using the HTTP session: it starts
StataMP-64.exe /e /q do <file> as a separate OS process, copies the do-file to an ASCII name
first, and returns a job id. The interactive session stays free, there is no per-call ceiling
(default 30 minutes, --job-timeout), and the transcript lands in a log file you can read while
the job runs.
> stata_job_submit { file: "analysis/40-impute.do", label: "ice imputation" }
j-m3x9k1-4f2a · running · pid 9184 · log analysis/__job-j-m3x9k1-4f2a.log
> stata_job_status { jobId: "j-m3x9k1-4f2a" }
running · 420s elapsed
> stata_job_log { jobId: "j-m3x9k1-4f2a", tail: 4000 }
Imputing [Perfect prediction detected: using augmlogit to impute moccu; ...A job's state comes from its log, not from the exit code: batch Stata exits 0 even when the
do-file aborts, so stata_job_status reports failed plus the first r(NNN);, the offending
command, and its message. Records live in <cwd>/.stata-copilot/jobs/, so stata_job_list still
finds a job after the server restarts.
One Windows detail is handled for you: launching a second Stata makes the embedded engine reset the
next connection it accepts (one ECONNRESET, then normal). stata_job_submit waits for the service
to answer again before returning, so the calls you make right after a submit do not race that
hiccup. node examples/jobs.mjs shows the whole flow — submit, an interactive call that still gets
through in ~60 ms, live progress, the verdict, a kill, and the listing.
Catching the mistakes Stata does not report
Stata is quiet about the worst errors. These are all valid programs that run to completion and produce a different result from the one intended — the kind an agent will happily summarise into a report:
Construct | What actually happens |
| the |
|
|
|
|
| the macro expands to an empty string, the command still runs |
|
|
| with variable abbreviation on, an unknown name can resolve to another loaded variable |
Two layers answer this. The session starts with set varabbrev off, so a name
Stata cannot resolve is an error instead of a different variable. And
stata_lint reads the code before Stata sees it:
> stata_lint { file: "analysis/40-model.do" }
1 error(s), 2 warning(s), 1 note(s)
line 118 error gen-redefine `gen wvs` is already defined by line 96; Stata stops with r(110)
line 44 warning if-command `if foreign` tests observation 1 only, not every observation
line 12 warning sort-order `_n`-dependent code runs on whatever order the data are in
line 1 info no-varabbrev-guard this do-file estimates models but never turns abbreviation offstata_lint never executes anything, so it is safe in readonly mode and cheap
enough to run on every draft. Errors mean "Stata will abort"; warnings mean "this
runs and is probably wrong"; the caller decides whether that is acceptable.
For the data itself there is stata_signature — and verify: true on
stata_run/stata_run_do does the same thing around one call:
> stata_run { code: "replace mpg = mpg + 1", verify: true }
data.before { observations: 74, dataHashA: 2537987732, sortedby: null }
data.after { observations: 74, dataHashA: 3092844121, sortedby: null }
data.changed trueThat turns "the cleaning step only recoded labels" from a claim into a
fingerprint you can quote. Two fingerprints that match mean the data really did
not change; sortOrderChanged covers the case where the values are identical but
_n now means something else.
Safety model
Three modes, selected with --mode / STATA_COPILOT_MODE:
guarded(default) — refuses!,shell,winexec,erase,rmdir; warns onclear all.readonly— additionally refusessave,export,outreg2,esttab,log,putexcel,file,mkdir,copy,do— anything that can write to disk. Use it when an agent is only supposed to read and report.open— no checks. The active mode is printed in every result, and a call can only tighten the session mode, never loosen it.
Working-directory allow-list: --root (repeatable) or STATA_COPILOT_ROOTS (path-separator
separated). With roots configured, a run whose cwd falls outside them is refused. Without roots
the server trusts the caller and says so in stata_status.
Repro trail
Each stata_run / stata_run_do / stata_model appends one JSON line:
{"at":"2026-11-27T00:41:12.480Z","tool":"stata_model","ok":true,"returnCode":0,"ms":412,
"cwd":"D:/paper","code":"regress price mpg weight"}Disable with --no-ledger. The ledger is a convenience for building a replication appendix, not a
substitute for the .do files themselves — keep those under version control.
Skills
skills/stata-analysis/SKILL.md is the workflow that sits on top: plan → profile → estimate →
table → figure → audit. Drop the folder into your client's skills directory (.claude/skills/,
.agents/skills/, or the DSH skill path) and the agent follows it when the user asks for an
analysis rather than a one-off command.
Configuration
Flag | Env | Default |
|
|
|
|
|
|
|
| auto-detected; the folder holding |
|
|
|
|
|
|
|
|
|
|
| none (no cwd restriction) |
|
|
|
|
|
|
|
| ledger on |
|
|
|
|
|
|
|
|
|
Flags also accept --flag=value. Unknown flags are refused rather than ignored, and every option
in this table is generated into --help from the same declaration (src/config.mjs).
Is my installation working?
node bin/stata-copilot.mjs --doctorprints one JSON object — config, engine reachability, the Stata build the service found, licence state, and the tool inventory — and exits non-zero if the service is unreachable. Paste that output into a bug report; it answers most "it does not work" questions without a round trip.
Code map
bin/stata-copilot.mjs entry: config → engine → registry → serve (and --doctor)
src/server.mjs JSON-RPC over stdio; the protocol only, no Stata knowledge
src/tools/*.mjs one file per tool; {name, title, description, inputSchema, handler}
src/tools/index.mjs registry: definition checks, argument validation, dispatch
src/session.mjs gate → execute → truncate → ledger; the run contract lives here once
src/jobs.mjs background jobs: spawn Stata in batch mode, poll, kill, finalise from the log
src/policy.mjs safety rules as data (RULES/WARNINGS), modes, cwd allow-list
src/engines/http.mjs HTTP adapter for the local service; src/engines/index.mjs registers drivers
src/engines/pystata.mjs standalone engine: spawns the Python bridge, maps JSON lines to the contract
bridge/stata_bridge.py loads mp-64.dll via pystata; reader thread answers break, worker thread runs
src/parsers/*.mjs transcripts → numbers (macros, model, profile, distributions, errors)
src/lib/*.mjs text/image content helpers, schema validation
src/config.mjs flags + env + --help, all from one table
src/errors.mjs frozen error codes and the MCP error result shape
cordis.patch.yml DSH carrier bundle: mounts the MCP client row for this package
examples/paper/ numbered chapters (import → clean → describe → model → figures) + driver
examples/jobs.mjs the client view of a background job: submit, poll, log, kill, listEach layer has one job and one reason to change. Adding a tool touches two files; adding an engine
touches three; neither requires editing the protocol. See docs/EXTENDING.md for the recipes.
Development
npm test # contracts (45) + offline (50) — no Stata needed
npm run test:contracts # structural checks only: module graph, tool definitions, config
npm run test:stata # live Stata session over HTTP, 48 assertions
npm run test:pystata # live standalone engine, 13 assertions (needs --stata-home + python)
npm run demo:paper # the chaptered study, end to end, on the live session
npm run demo:jobs # background jobs: submit, watch, kill, list
npm run check # syntax + contracts, what pre-commit runsnpm test is the CI gate: every module must import, every tool definition must validate, every
config flag must appear in --help, the registry must still reject bad arguments, and the parsers,
policy rules and JSON-RPC framing must all pass against recorded transcripts and a stub engine.
npm run test:stata is the contract that matters: protocol handshake, tool inventory, real
regression coefficients matched against Stata's own output, policy refusal, image attachment,
ledger, and a background job that is submitted, polled, classified as failed from its log, and
killed.
Roadmap
pystataengine adapter — the session runs inside this server, no external service.stata_table— build anesttabtable from a list of named estimates, returned as CSV + Markdown.Panel / IV diagnostics: warn when an
xtsetvariable is missing, or when a model is fitted withoutvce(cluster ...)on clustered data.Mac / Linux verification in CI (Stata is licensed per machine, so CI runs the parser and protocol tests against recorded transcripts).
Acknowledgements
The engine contract (/status, /execute, /break, graph capture) comes from
stata-ai-skill, which manages the native Stata
session. This project is the agent-facing layer: structure, safety, ledger, and skills.
The standalone engine uses Stata's own embedded interface: pystata and mp-64.dll ship with
Stata and are the property of StataCorp; this project only calls them, through the documented
pystata API and — for break alone — the StataSO_SetBreak export of the shared library. It is
an alternative to the http engine, not a replacement for a Stata licence: running it still
requires an installed, licensed Stata. See NOTICE for the full attribution list.
中文速用
{
"mcpServers": {
"stata": { "command": "node", "args": ["C:/tools/stata-copilot/bin/stata-copilot.mjs"] }
}
}先
stata_status看会话是否就绪;stata_profile_data摸清变量与缺失。回归用
stata_model,直接拿 b/se/t/p 与 n/r2,不必从日志里抠表。出图后
stata_graphs取回 PNG;代理模型真的「看」得到图。每次运行都写进
<cwd>/.stata-copilot/runs.jsonl,stata_history可回读。默认
guarded模式会拒绝!、shell、erase;只读审查用--mode readonly。跑得久(插补、bootstrap、上千次循环)不要硬塞进
stata_run:服务是单线程,忙时会回 409,单次还有上限。用stata_job_submit起独立进程,stata_job_status轮询、stata_job_log看进度、stata_job_kill随时停。
License
MIT
Available Tools
16 toolsstata_breakInterrupt the running commandA
Send a break signal to Stata. Use after a timeout or runaway loop; then verify with stata_status that busy is false before running anything else.
Inputs: no named parameters.
stata_graphsFetch graph imagesA
Return Stata graphs as images the agent can actually look at. Defaults to the graphs produced by the most recent run; pass explicit file paths to fetch older ones. PNG/JPEG are returned as image content; SVG-only output is reported by path.
Inputs: max, files.
stata_historyRead the run ledgerA
List commands executed through this server (newest last), with success, return code, duration and cwd. The same rows are appended to <cwd>/.stata-copilot/runs.jsonl — a reproducibility trail for the paper.
Inputs: limit.
stata_job_killStop a background jobA
Terminate a background Stata job by its id and return the final state. Prefer this over guessing: a stuck imputation or an accidental while loop is one call away from being stopped, and the log written so far is kept.
Inputs: jobId (required), cwd.
stata_job_listList background jobsA
List the background Stata jobs recorded under the given working directory, newest first, with their state and duration. Use it after a restart to find a job whose id you no longer have.
Inputs: cwd, limit.
stata_job_logRead a background job logA
Return the tail of the log a background job is writing (Stata batch writes .log next to the do-file). Use it to see progress —counts, the current table, a long imputation step —while the job is still running.
Inputs: jobId (required), cwd, tail.
stata_job_statusCheck a background jobA
Report one background Stata job: state (running/ok/failed/timedout/killed), elapsed time, return code, the first Stata error if the do-file aborted, and the tail of its log. Call it in a loop with a pause between calls instead of blocking on a long run.
Inputs: jobId (required), cwd.
stata_job_submitStart a do-file in the backgroundA
Run a do-file as its own Stata process and return a job id immediately. Use this for analyses that take longer than a couple of minutes: the HTTP service is single-threaded (it answers 409 while busy) and caps each call, while a job has no ceiling and leaves the interactive session free. Poll with stata_job_status.
Inputs: file (required), cwd, mode, label, +1 more.
stata_lintLint Stata code before running itA
Check Stata code for constructs that run without an error yet do the wrong thing: the if command (first observation only), _n without a sort, gen on an existing variable, undeclared locals, missing(a b c) as a varlist, variable abbreviation left on. Pass code or file. Errors block, warnings do not: the caller decides.
Inputs: cwd, code, file.
stata_modelEstimate a model and return a coefficient tableA
Run one estimation command (e.g. "regress price mpg weight" or "xtreg y x, fe vce(cluster id)") and return a structured coefficient table — b, se, t/z, two-sided p per term — plus fit statistics. Use this instead of reading a regression table out of the transcript.
Inputs: command (required), cwd, quiet, timeout.
stata_profile_dataProfile the dataset in memoryA
Describe the data the session is holding: source file, observations, variables, and for each variable its type, display format, variable label and number of missing values. Optionally load a dataset first (Stata sysuse name or a file path).
Inputs: cwd, dataset, timeout.
stata_resultsRead stored resultsA
Return the macros left behind by the last command: r() from summarize/tabulate-style commands, e() from estimation, s() from sreturn. Use it to turn a transcript into numbers.
Inputs: cwd, scope, timeout.
stata_runRun Stata codeA
Execute a block of Stata commands in the live session and return structured results: success, return code, output transcript (truncated), generated graphs, and policy warnings. Set cwd when the code uses relative paths, and raise timeout for bootstrap/simulation loops.
Inputs: code (required), cwd, mode, verify, +1 more.
stata_run_doRun a .do fileA
Execute an existing do-file. The file must already exist on disk (agents should write the file, not push a giant string through stata_run). cwd defaults to the do-file's folder. Set background:true to run it as a separate Stata process and get a job id back instead of waiting.
Inputs: file (required), cwd, mode, label, +3 more.
stata_signatureFingerprint the loaded dataA
Read the datasignature fingerprint of the dataset currently in memory: observations, variables, two data hashes, and the sort order. Compare two fingerprints to prove whether a command or do-file changed the data. Optionally load a .dta first.
Inputs: cwd, dataset, timeout.
stata_statusStata session statusA
Report the Stata session state: service reachability, Stata path/version/edition, licence, whether a command is running, and the active policy mode. Call this first when a Stata tool fails.
Inputs: format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools have crisp, distinct roles (run code, fetch results, inspect graphs, break, lint, fingerprint), and descriptions explicitly steer away from each other. A few boundaries blur: stata_run_do with background:true overlaps stata_job_submit, and stata_job_status already returns the log tail that stata_job_log also returns; stata_results (e() macros) and stata_model (structured coefficient table) also partly overlap for estimation output.
Every tool uses the same stata_ prefix followed by a snake_case noun or verb_noun form (stata_run_do, stata_job_status, stata_profile_data), with the job family nested consistently under stata_job_*. No casing or verb-style drift anywhere in the set.
16 tools is at the upper edge but each earns its place: execution, introspection, diagnostics, and a coherent background-job lifecycle. The job family (list/submit/status/log/kill) accounts for five tools and is arguably a bit granular, but nothing is trivial or redundant enough to cut.
The domain is a live Stata session, and the surface covers it end to end: status/health, foreground and background execution, do-files, macro results, data profiling and fingerprinting, graphs as images, estimation tables, linting, history/reproducibility, interrupt, and job management. Only marginal gaps remain (e.g. explicit data load/clear or session restart helpers), which arbitrary code execution and stata_profile_data's optional load largely absorb.
Maintenance
Related MCP Connectors
Package, dependency, CI and config safety checks for coding agents. Pay per call.
Run verified read-only code tools: quant diagnostics + agent-ops preflight, no source exposure.
Checked language for AI-written agent workflows: limits, cost and data flows known before running.
Scoped agent execution. Server-side credentials, policy, budgets and verifiable receipts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables an agent to execute Stata do scripts or inline commands locally and retrieve structured results including status, error diagnostics, and output text for consumption by the model.1-
- AlicenseCqualityDmaintenanceProvides project-local, reproducible Stata execution for humans and AI agents, with immutable run artifacts, provenance tracking, planning gates, and a shared dashboard.22AGPL 3.0
- AlicenseAqualityBmaintenanceEnables LLM/agent applications to execute Stata code, load and inspect data, obtain structured regression results and graphs, and manage background tasks through the Model Context Protocol.10MIT
- AlicenseAqualityBmaintenanceEnables AI agents to invoke a local Stata installation, including a Windows Stata build under Wine on Linux and macOS, for regression analysis, econometrics, paper replication, and empirical research with command guards, resource monitoring, and automatic log capture.42AGPL 3.0