stata-mcp-server

mkprevo/stata-mcp-server

3.2

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

The Stata MCP Server is a Model Context Protocol server designed to manage and run Stata .do files, integrating seamlessly with Claude Desktop on macOS.

Tools

Functions exposed to the LLM to take actions

BROOK_Do_FILES

Get a list of .do files in a directory

READ_FILE

Read a .do file

WRITE_FILE

Create or overwrite a .do file with automatic backup

EDIT_FILE

Edit a specific section of a .do file

generate_do_template

Generate a .do file template using AI

run_do_file

Run a .do file in Stata

run_do_selected_lines

Run only selected lines of a .do file

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources