# Stata

> Use this tool when you need to streamline statistical analysis and integrate Stata software with code editors for enhanced productivity. It solves problems of inefficient workflow and limited coding assistance by providing real-time output and AI-assisted coding with contextual understanding of Stata data and commands. The Stata MCP Extension takes Stata commands as input and outputs results directly in the editor, making it ideal for data scientists and researchers working with statistical analyses.

Canonical page: https://skillsregistry.net/skills/hanlulong-stata  
JSON: https://api.skillsregistry.net/v1/skills/hanlulong-stata

## Description

The Stata MCP Extension provides seamless integration between Stata statistical software and code editors like VS Code and Cursor through the Model Context Protocol. It enables users to execute Stata commands directly from their editor, view real-time output, and benefit from AI-assisted coding with contextual understanding of Stata data and commands. Created by Lu Han and published by DeepEcon, this cross-platform extension automatically detects Stata installations, supports syntax highlighting for Stata file formats, and establishes a local MCP server that connects the editor to Stata - making it particularly valuable for data scientists and researchers who want enhanced productivity when working with statistical analyses.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** productivity
- **Updated:** 2026-05-22

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/hanlulong-stata)
- **Repository:** <https://github.com/hanlulong/stata-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hanlulong-stata"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hanlulong-stata` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hanlulong-stata/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
