Best for
- Econometrics, social science, and empirical research users who want an AI agent to run local Stata
- Stata users who want command guards and automatic log capture in their research workflow
This server connects AI agents to local Stata for regression analysis and empirical research, with command guards, resource monitoring, and log capture. It requires a separately installed and licensed Stata copy. The README also documents fixed security issues, so users should check their version and consider the local data access boundary.
Strongest · Setup experience 12/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Python
Install uv, then run uvx stata-mcp install -c claude for Claude Desktop, or uvx stata-mcp install --all for supported clients. Alternatively, configure the client with command uvx and argument stata-mcp. Stata must be installed and licensed separately.
{"mcpServers":{"stata-mcp":{"command":"uvx","args":["stata-mcp"]}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"stata-mcp": {
"command": "uvx",
"args": [
"stata-mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.stata-mcp] command = "uvx" args = ["stata-mcp"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add stata-mcp -- uvx stata-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm Stata-MCP tools appear in your client's MCP tool list. You can also ask the client to run a Stata analysis and check that it returns results.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
MCP-for-Stata (Stata-MCP) is an open-source MCP server and CLI tool that lets AI agents invoke Stata on the user's device for regression analysis, econometrics, paper replication, and empirical research. It provides command guards, resource monitoring, and automatic log capture. Users must install Stata and hold a valid license. The project is licensed under AGPL-3.0 and is independent of, and not endorsed by, StataCorp.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision d92790b97f6c Data synced 2026-12-05 Read the FMRS scoring method Markdown