
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets Claude Desktop read, create, edit, and run Stata .do files on macOS, including running only selected lines.
MCP server for managing and running Stata .do files is cataloged as an MCP server attributed to mkprevo. An MCP server that lets Claude Desktop read, create, edit, and run Stata .do files on macOS, including running only selected lines. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for managing and running Stata .do files are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It extracts the specified line range, creates a temporary .do file with necessary settings added, runs it in Stata, then cleans up the temporary file after returning results.
Backups are created automatically when files are modified and stored in the .stata-backups directory under the Stata workspace.
README.md · eddc65fc8261 · Fetched 2026-11-13 11:59:39 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server for managing and running Stata .do files that integrates with Claude Desktop.
add_variable)add_analysis)insert_section)The installation is complete with the following configuration:
/users/username/projects/stata-mcp-server/Applications/Stata/StataBE.app/Contents/MacOS/StataBE/Users/username/Documents/Stata/Users/username/Library/Application Support/Claude/claude_desktop_config.jsonCompletely shut down and restart Claude Desktop.
"Read the test.do file and show me"
"Create a do file that analyzes the relationship between education and income"
"Show me a list of all do files in the current directory"
"Add a logistic regression to the analysis.do file"
"Run only lines 10 through 15 of the test_sample.do file"
"Run only the regression part of the regression.do file separately"
You can now select and run only certain lines of a do file:
"Run only lines 5 through 10 of the analysis.do file"
"Run only the data load part (lines 8-12) to test"
This function works as follows
/*******************************************************************************
* Project: [Analysis Description]
* Created: [Current Date]
* Author: Stata MCP Server (LLM generation)]
* Purpose: [Analysis Purpose] [Analysis Purpose
*******************************************************************************/
* Initial Setup
Clear all
More settings
Close capture logs
Log using "logfile.log", replace
* Load data
* Use "your_data.dta", clear
* Verify data
描述
summarize
* Create and preprocess variables
* generate new_var = .
* descriptive statistics
* tabulate var1
* main analysis
* regress Y X1 X2 X3
* save results
"results.doc" with * outreg2, replace
Close the log
exit
Verify that the server is working properly:
cd /users/username/projects/stata-mcp-server
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/index.js
$STATA_WORKSPACE/.stata-backups/filename.do.YYYY-MM-DDTHH-MM-SS-sssZ.bakNot recognized by Cloud Desktop 1.
/users/username/library/application support/Claude/claude_desktop_config.json**Stata fails to run
/Applications/Stata/StataBE.app/Contents/MacOS/StataBE**Permissions error
# Server logs
cd /users/username/project/stata-mcp-server
node dist/index.js 2> server.log
# Stata execution log
# .log files are generated with each .do file
npm run build # compile typescript
npm run dev # Development mode (watch)
npm run start # Start the server
npm run clean # Clean build files
MIT License.
---.
**Created by the Sociology of Science Research Team ❤️ ** **
Congratulations on your Stata MCP server installation! 🎉 .
Restart the Claude desktop and try it out.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for managing and running Stata .do files from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/stata-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.