What dependencies are required?
You need Node.js (for the server) and StataBE for macOS installed at the correct path. The server also requires Claude Desktop.
@mkprevo
基本信息
MCP server for stata do file
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"stata-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"2>",
"server.log"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A Model Context Protocol (MCP) server for managing and running Stata .do files, integrated with Claude Desktop. It is built for macOS users who want to interact with Stata through natural language commands via Claude.
After installing, restart Claude Desktop completely. Then use natural language prompts such as “Read the test.do file and show me” or “Run only lines 10 through 15 of the test_sample.do file.” The server supports reading, writing, editing, generating templates, and executing .do files or selected line ranges. Configuration is stored in the Claude Desktop settings file.
You need Node.js (for the server) and StataBE for macOS installed at the correct path. The server also requires Claude Desktop.
The working directory defaults to `/Users/username/Documents/Stata`. When files are modified, automatic backups are saved in `$STATA_WORKSPACE/.stata-backups/` with timestamps.
The server is explicitly designed for macOS only, as indicated in the project name and Stata path examples.
Restart Claude Desktop completely and verify the configuration file path: `/Users/username/Library/Application Support/Claude/claude_desktop_config.json`. Ensure the server’s project path and Stata path are correct.
Yes. Use the `run_do_selected_lines` tool. Specify a line range (e.g., lines 5 through 10); the server creates a temporary .do file with necessary settings, runs it in Stata, and cleans up automatically.

Model Context Protocol Servers

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Painless E2E Automation for Mobile and Web

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Model Context Protocol Servers
评论