H
hanlulong/stata-mcp
Stata MCP Extension for VS Code, Cursor, and Antigravity IDE
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# Stata MCP Extension for VS Code, Cursor, and Antigravity
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
This extension provides Stata integration for Visual Studio Code, Cursor, and Antigravity IDE using the Model Context Protocol (MCP). It enables AI-powered Stata development with GitHub Copilot, Cursor, Antigravity, Cline, Claude Code, or Codex.
## Features
Run Stata Commands: Execute selections or entire .do files directly from your editor
Real-time Output: See Stata results instantly in your editor
Syntax Highlighting: Full syntax support for Stata .do, .ado, .mata, and .doh files
AI Assistant Integration: Contextual help and code suggestions via MCP
Cross-platform: Works on Windows, macOS, and Linux
Multi-Session Parallel Execution: Run multiple Stata sessions simultaneously with AI coding tools
## Demo
Watch how this extension enhances your Stata workflow with Cursor (or VS Code/Antigravity) and AI assistance:
🎬 Full Video Version | 📄 View Generated PDF Report
Demo prompt: "Write and execute Stata do-files, ensuring that full absolute file paths are used in all cases. Load the auto dataset (webuse auto) and generate summary statistics for each variable. Identify and extract key features from the dataset, produce relevant plots, and save them in a folder named plots. Conduct a regression analysis to examine the main determinants of car prices. Export all outputs to a LaTeX file and compile it. Address any compilation errors automatically, and ensure that LaTeX compilation does not exceed 10 seconds. All code errors should be identified and resolved as part of the workflow."
## Requirements
Stata 17 or higher installed on your machine
UV package manager (automatically installed or can be installed manually if needed)
## Installation
> Note: Initial installation requires setting up dependencies which may take up to 2 minutes to complete. Please be patient during this one-time setup process. All subsequent runs will start instantly.
1. Open VS Code, Cursor, or Antigravity
2. Open the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
3. Search for "Stata MCP"
4. Click Install
That's it — the extension auto-starts the MCP server and appears in the status bar as "Stata".
Other installation methods — CLI, .vsix file, Open VSX
#### From the command line
bash
# VS Code
code --install-extension DeepEcon.stata-mcp
# Cursor
cursor --install-extension DeepEcon.stata-mcp
# Antigravity (installs from Open VSX Registry)
antigravity --install-extension DeepEcon.stata-mcp
#### From a local .vsix file
Download stata-mcp- .vsix from the releases page, then either:
bash
code --install-extension path/to/stata-mcp-0.5.3.vsix
cursor --install-extension path/to/stata-mcp-0.5.3.vsix
antigravity --install-extension path/to/stata-mcp-0.5.3.vsix
…or in the UI: Extensions view → … menu → Install from VSIX… → pick the downloaded file.
#### Registries
VS Code Marketplace:
Open VSX (Cursor / Antigravity):
Starting with version 0.1.8, the extension integrates a fast Python package installer called uv to set up the environment. If uv is not found on your system, the extension will attempt to install it automatically.
## ⚡ Connect Your AI Assistant
Once the extension is running (status bar shows "Stata"), the local MCP server is listening on:
## Features
Run Stata Commands: Execute selections or entire .do files directly from your editor
Real-time Output: See Stata results instantly in your editor
Syntax Highlighting: Full syntax support for Stata .do, .ado, .mata, and .doh files
AI Assistant Integration: Contextual help and code suggestions via MCP
Cross-platform: Works on Windows, macOS, and Linux
Multi-Session Parallel Execution: Run multiple Stata sessions simultaneously with AI coding tools
## Demo
Watch how this extension enhances your Stata workflow with Cursor (or VS Code/Antigravity) and AI assistance:
🎬 Full Video Version | 📄 View Generated PDF Report
Demo prompt: "Write and execute Stata do-files, ensuring that full absolute file paths are used in all cases. Load the auto dataset (webuse auto) and generate summary statistics for each variable. Identify and extract key features from the dataset, produce relevant plots, and save them in a folder named plots. Conduct a regression analysis to examine the main determinants of car prices. Export all outputs to a LaTeX file and compile it. Address any compilation errors automatically, and ensure that LaTeX compilation does not exceed 10 seconds. All code errors should be identified and resolved as part of the workflow."
## Requirements
Stata 17 or higher installed on your machine
UV package manager (automatically installed or can be installed manually if needed)
## Installation
> Note: Initial installation requires setting up dependencies which may take up to 2 minutes to complete. Please be patient during this one-time setup process. All subsequent runs will start instantly.
1. Open VS Code, Cursor, or Antigravity
2. Open the Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
3. Search for "Stata MCP"
4. Click Install
That's it — the extension auto-starts the MCP server and appears in the status bar as "Stata".
Other installation methods — CLI, .vsix file, Open VSX
#### From the command line
bash
# VS Code
code --install-extension DeepEcon.stata-mcp
# Cursor
cursor --install-extension DeepEcon.stata-mcp
# Antigravity (installs from Open VSX Registry)
antigravity --install-extension DeepEcon.stata-mcp
#### From a local .vsix file
Download stata-mcp- .vsix from the releases page, then either:
bash
code --install-extension path/to/stata-mcp-0.5.3.vsix
cursor --install-extension path/to/stata-mcp-0.5.3.vsix
antigravity --install-extension path/to/stata-mcp-0.5.3.vsix
…or in the UI: Extensions view → … menu → Install from VSIX… → pick the downloaded file.
#### Registries
VS Code Marketplace:
Open VSX (Cursor / Antigravity):
Starting with version 0.1.8, the extension integrates a fast Python package installer called uv to set up the environment. If uv is not found on your system, the extension will attempt to install it automatically.
## ⚡ Connect Your AI Assistant
Once the extension is running (status bar shows "Stata"), the local MCP server is listening on:
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/hanlulong-stata-mcp/)
- Source
- awesome · https://github.com/hanlulong/stata-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.