Enable Claude Code, Codex, OpenClaw, and other AI agents to safely invoke Stata on your local device for data analysis.
Enable Claude Code, Codex, OpenClaw, and other AI agents to safely invoke Stata on your local device for data analysis. The stata mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
Everything the assistant can do here goes through one of these:
Name — stata-mcpCommand — ~/.local/bin/stata-mcpCross — platform support (macOS, Windows, Linux)Agent — TagCursor — cursorOpenCode — opencodeOpenClaw — openclawFeature — MCP-for-Stata (this)Agents — AllType — MCP Server + CLI toolkitExecution — do-file via subprocessSafety — Command guard + RAM monitorInstallation goes through your MCP client rather than a global install: point it at stata-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Plenty of monitoring and observability servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Stata MCP's toolset — Name, Command, Cross and 11 more — is a fair guide to whether it matches your workflow. It is maintained by SepineTam; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Name | stata-mcp |
| Command | ~/.local/bin/stata-mcp |
| Cross | platform support (macOS, Windows, Linux) |
| Agent | Tag |
| Cursor | cursor |
| OpenCode | opencode |
| OpenClaw | openclaw |
| Feature | [MCP-for-Stata](https://aidea-labs.com/mcp-for-stata) (this) |
| Agents | All |
| Type | MCP Server + CLI toolkit |
| Execution | do-file via subprocess |
| Safety | Command guard + RAM monitor |
| Logs | Text + SMCL readers |
| Graphs | — |
{
"mcpServers": {
"stata": {
"command": "uvx",
"args": ["stata-mcp"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
Enables enhanced web research capabilities for large language models through intelligent search queuing and advanced content extraction.
Automates browser interactions and enables Large Language Models (LLMs) to interact with web pages through Playwright and Chrome DevTools Protocol
Guides tool usage by providing recommendations for MCP tools at each problem-solving stage.