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
Basic information
MCP server for stata do file
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stata-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"2>",
"server.log"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
MCP Toolbox for Databases is an open source MCP server for databases.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
🚀 The fast, Pythonic way to build MCP servers and clients.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments