stata-mcp

Community

Connect AI to Stata for data analysis.

Authortmonk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill bridges the gap between AI agents and local Stata installations, enabling AI to execute Stata code, inspect data, and generate visualizations without manual intervention.

Core Features & Use Cases

  • Execute Stata Code: Run any Stata command or .do file directly.
  • Data Inspection: Get summaries, variable details, and raw data slices.
  • Graph Export: Generate and export Stata graphs in various formats.
  • Result Verification: Access stored results (r(), e()) for validation.
  • Use Case: An AI can now analyze a dataset using Stata's advanced statistical functions, then export the resulting regression table and a generated scatterplot, all through natural language commands.

Quick Start

Use the stata-mcp skill to load the 'auto' dataset and run a regression of price on mpg.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stata-mcp
Download link: https://github.com/tmonk/mcp-stata/archive/main.zip#stata-mcp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.