mcpbeat Sign in

Stata MCP Server

by aliveranme Your server? Claim it
local only

Stata MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 56 installs a week from npm. Last commit 30 Aug 2026.

通过 pystata 驱动真实 Stata 的 MCP 服务器:数据加载/清洗/建模/诊断/图形导出,75 个工具覆盖完整计量工作流。

Installs per day peak 43 · avg 7 · -45% w/w
a month agotoday
56
Installs / week
npm · @aliveranme/stata-mcp
0
Stars
0 open issues
30 Aug 2026
Last commit
1 release in 90 days
MIT
License
Python

What the code does

We read the source, 6 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    const r = spawnSync(process.platform === 'win32' ? 'where' : 'which', [c], {
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Builds a file path from a variable setup.py:152
        return [os.path.join(root, f"{edition}-64.dll")]

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add stata-mcp -e 'STATA_HOME=<STATA_HOME>' -- npx -y @aliveranme/stata-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "stata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@aliveranme/stata-mcp"
      ],
      "env": {
        "STATA_HOME": "<STATA_HOME>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.stata-mcp]
command = "npx"
args = ["-y", "@aliveranme/stata-mcp"]
env = { STATA_HOME = "<STATA_HOME>" }
.cursor/mcp.json
{
  "mcpServers": {
    "stata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@aliveranme/stata-mcp"
      ],
      "env": {
        "STATA_HOME": "<STATA_HOME>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "stata-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aliveranme/stata-mcp"
      ],
      "env": {
        "STATA_HOME": "<STATA_HOME>"
      }
    }
  }
}

Put your own value in place of <STATA_HOME> (Stata 安装目录(含 utilities/pystata),如 /Applications/StataNow). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: STATA_EDITION (Stata 版本 mp|se|be), STATA_ALLOWED_ROOTS (路径沙箱白名单(分号分隔);可选).

Alternatives to Stata MCP Server

same job, measured the same way
S
Stata MCP Server
by tmonk

A lightweight MCP server for Stata.

1 818 installs/wk local only
Statbotics
by withinfocus

Statbotics MCP Server

81 installs/wk local only
Propresenter MCP
by alxpark

ProPresenter 7 MCP server

87 installs/wk local only
Port
by port

Port.io mcp server

answering
I
IGA Pages
by volcvnebotteam

IGA Pages MCP server

answering
Paddle
by pipeworx-io

MCP server for paddle

355 installs/wk 48 tools answering
AkTools Pro MCP Server
by tchivs

🚀 AkTools Pro: 增强型金融 MCP 服务器。内置策略回测、模拟盘管理及实时异动监控。

209 installs/wk local only
Neuro
by brain-bbqs

Neuroscience MCP server (Python)

local only

Stata MCP Server — questions

Answers built from our own checks of this server.

Why is there no uptime for Stata MCP Server?
Stata MCP Server runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @aliveranme/stata-mcp was installed 56 times last week.
How do I connect Stata MCP Server?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @aliveranme/stata-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Stata MCP Server?
The npm package @aliveranme/stata-mcp was installed 56 times in the last week. Week over week that is -45%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Stata MCP Server open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.