mcp-stata

tmonk/mcp-stata

3.4

If you are the rightful owner of mcp-stata and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Stata MCP Server connects AI assistants to a local Stata installation, enabling seamless execution and interaction with Stata commands and data.

Tools

Functions exposed to the LLM to take actions

run_command

Execute Stata syntax with options for structured JSON or plain output.

load_data

Heuristic loader for various data sources with JSON envelope.

get_data

View dataset rows with a JSON response, capped to 500 rows.

describe

View dataset structure.

codebook

Retrieve variable-level metadata.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources