ディレクトリに戻る

mcp-for-stata

メンテナンス: 活発

sepinetam/mcp-for-stata

Stata をエージェントに統合する MCP サーバー

GitHub で見るホームページ
$ dsh plugin add mcp-for-stata

258

スター

36

フォーク

Python

言語

AGPL-3.0

ライセンス

2025-03-28

作成日

2026-09-06

最終プッシュ

AGPL-3.0 の Stata MCP server。`uvx stata-mcp install -c dsh` のワンコマンドで DeepSeek Harness に mcp tools として接続でき、セキュリティガード・RAM モニタリング・doctor による環境チェックを内蔵。

DSH 統合

互換

作者による申告

安全性監査

未監査

最終検証日

2026-08-21

ライセンス

AGPL-3.0

01どんなタスクに使えるのか?

  • Let the DeepSeek Harness agent drive Stata on your local machine for econometric and empirical analysis

    Stata do-file execution with automatic log capture, regression / empirical results, plus paper replication, hypothesis testing and result interpretation workflows

    Social-science and economics researchers who run DeepSeek Harness (dsh) and hold a licensed Stata installation

  • Register Stata as an MCP server for dsh with a single command — no manual JSON config

    A working stata-mcp MCP server inside DeepSeek Harness, ready for the agent to call Stata tools

    Researchers and developers who want Stata MCP tools in DeepSeek Harness without hand-editing MCP configuration files

02DeepSeek Harness への導入方法

前提条件

  • uv — package installer and virtual environment manager
  • DeepSeek Harness (dsh) or another supported agent
  • A licensed copy of Stata installed at the default path (the Stata CLI must exist on macOS and Linux)
  • Your API-KEY from an LLM provider

インストール手順

  1. 01

    Install MCP-for-Stata into DeepSeek Harness: `uvx stata-mcp install -c dsh`

  2. 02

    Or install for every supported client at once: `uvx stata-mcp install --all`

  3. 03

    If uv is missing, install it via the uv guide or the project's install script (`install.sh` on macOS/Linux, `install.ps1` on Windows), which auto-installs uv

導入成功の確認

  • Run `uvx stata-mcp doctor` — it displays basic information about your device and checks whether your setup is supported (OS, Python, uv, Stata CLI, config, guard, PyPI reachability)

03DSH 統合と能力の範囲

DSH 統合互換

Installed inside DeepSeek Harness as an MCP server via the one-command installer (`uvx stata-mcp install -c dsh`), exposing Stata execution as MCP tools to the dsh agent

  • Agent-driven Stata execution

    natural-language analysis requests from the dsh agentStata do-file execution via subprocess with automatic log capture and error reporting

    invokes Stata on your local device and executes generated do-filescaptures logs automatically
  • Security guard & RAM monitoring

    every Stata command issued through the MCP toolsdangerous commands (`!`, `shell`, `erase`, etc.) blocked before execution; memory exhaustion prevented with configurable RAM limits

  • Data handlers & log readers

    CSV, DTA, XLSX, SPSS datasets and Stata logsstructured data access across these formats plus text and SMCL log reading

  • One-command multi-agent installer + doctor check

    `uvx stata-mcp install -c <client>` or `--all`MCP config written for the chosen agent(s); `uvx stata-mcp doctor` reports whether the setup is supported

    writes MCP configuration files for the target agentdownloads the stata-mcp package from PyPI via uvx

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • Social-science and economics researchers who run DeepSeek Harness (dsh) and hold a licensed Stata installation
  • Researchers and developers who want Stata MCP tools in DeepSeek Harness without hand-editing MCP configuration files

不向きな用途

  • A licensed copy of Stata from StataCorp is mandatory — the project does not distribute Stata software, so users must independently purchase and install it, and the README lists 'Stata License' as a prerequisite.
  • The standard config assumes Stata is installed at the default path, and on macOS/Linux the Stata CLI must exist on the system; non-default setups need manual env configuration.

05互換性・メンテナンス・セキュリティ上の注意

  • A licensed copy of Stata from StataCorp is mandatory — the project does not distribute Stata software, so users must independently purchase and install it, and the README lists 'Stata License' as a prerequisite.
  • The standard config assumes Stata is installed at the default path, and on macOS/Linux the Stata CLI must exist on the system; non-default setups need manual env configuration.
  • Installation downloads stata-mcp from PyPI through uvx, so it needs network access; package downloads can be slow or fail in some regions (a troubleshooting doc is referenced for China).
2025-03-282026-08-14v1.22.0

AGPL-3.0 · actively maintained (latest release v1.22.0, 2026-08-13)

06よくある質問

MCP-for-Stata を DeepSeek Harness に接続するには?

`uvx stata-mcp install -c dsh` を実行するだけです。プロジェクトは DeepSeek Harness の Day 0 サポートと専用ガイドを提供しており、インストーラーが MCP 設定を自動で書き込むため、JSON の手動編集は不要です。

DeepSeek Harness との統合はネイティブですか、MCP ですか?

MCP 経由です。MCP-for-Stata は `uvx stata-mcp` で起動する独立した MCP server で、ワンコマンドインストーラーが DeepSeek Harness に登録します。Claude Code、Codex、OpenClaw など他のエージェントと同じ接続方式です。

必要な前提条件は?

uv(パッケージマネージャー)、デフォルトパスにインストールされた正規ライセンスの Stata(macOS/Linux では Stata CLI が必須)、DeepSeek Harness などのエージェント、LLM の API key です。

どのような安全対策が組み込まれていますか?

セキュリティガードが危険な Stata コマンド(`!`、`shell`、`erase` など)を実行前にブロックし、RAM モニタリングが設定可能な上限でメモリ枯渇を防止します。データアクセスの境界も設定可能で、ログは自動的に記録されます。

インストールが成功したか確認するには?

`uvx stata-mcp doctor` を実行します。デバイスの基本情報を表示し、OS、Python、uv、依存パッケージ、Stata CLI、設定、ガード、PyPI への接続を項目ごとにチェックして、合格/失敗を報告します。

08データと出典

  • 作者による申告github.come5b25dc90058…

    🚀 **DeepSeek Harness Day 0 Support**: Install MCP-for-Stata in DeepSeek Harness with `uvx stata-mcp install -c dsh`.

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-21。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。