stata-code
Active·★ 51·MIT·Updated 2026-10-21
`stata-code` is an agent-native Stata bridge that allows driving Stata from modern development environments like LLM agents, Jupyter notebooks, or VS Code using a unified Python core. It provides structured, token-efficient results and supports complex empirical econometrics workflows with cross-validation.
#Stata#Python#LLM Agents#Jupyter Notebook#VS Code Extension#Econometrics#Data Analysis#API Bridge
01
Features
01MIT License for open and commercial integration
02Unified, agent-native structured result format for LLMs
03Multiple frontends: Jupyter kernel, MCP server, VS Code extension, and CLI from a single Python core
04Supports Stata 17+ (pystata) and Stata 13+ (console backend without pystata)
05Built-in support for empirical econometrics workflows (DiD, IV, RDD) with cross-validation
02
Compatibility
Python 3.10+
Runtime
Verified via docs
Stata 17+
Runtime
Verified via docs
Stata 13+
Runtime
Verified via docs
Jupyter
Platform
Verified via docs
VS Code
IDE
Verified via docs
MCP Clients
Integration
Verified via docs
03
Quick start
1
$ pip install "stata-code[mcp,kernel]"
04
Use cases
↳Drive Stata commands and analyze results using LLM agents like Claude Code
↳Execute Stata code directly within Jupyter notebooks or JupyterLab
↳Develop Stata projects with enhanced features in VS Code, including syntax highlighting, outline, and code-lens runner
↳Automate and cross-validate complex empirical research workflows in econometrics
↳Integrate Stata into Python applications for programmatic control and data processing
05
Alternatives
unraid★ 141
Query, monitor, and manage Unraid servers via GraphQL API through MCP tools. Supports system info, Docker, VMs, array/parity, notifications, plugins, rclone, and live telemetry.
Skill_Seekers★ 15.2k
Convert documentation websites, GitHub repositories, and PDFs into Claude AI skills with automatic conflict detection
StatsPAI★ 343
StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.
Agently★ 1.7k
[GenAI Application Development Framework] 🚀 Build GenAI application quick and easy 💬 Easy to interact with GenAI agent in code using structure data and chained-calls syntax 🧩 Use Event-Driven Flow *TriggerFlow* to manage complex GenAI working logic 🔀 Switch to any model without rewrite application code
FlashLearn★ 607
Integrate LLM in any pipeline - fit/predict pattern, JSON driven flows, and built in concurency support.
Comments
Log in to leave a comment
No comments yet. Be the first!