Stata MCP Server

io.github.aliveranme/stata-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "stata-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@aliveranme/stata-mcp@1.0.10"
      ],
      "env": {
        "STATA_HOME": "<your STATA_HOME>",
        "STATA_EDITION": "mp"
      }
    }
  }
}
Environment variables
  • STATA_HOMErequiredStata 安装目录(含 utilities/pystata),如 /Applications/StataNow
  • STATA_EDITIONStata 版本 mp|se|be

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.10
Registry
active
Published
8/16/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Stata MCP Server is listed here — it’s also the link we check for a free listing.

Stata MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-aliveranme-stata-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Stata MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Stata MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-aliveranme-stata-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.