monte-carlo-agent-toolkit — плагин для Claude Code: установка
Плагин подключает наблюдаемость данных Monte Carlo к Claude Code. Помогает проверять влияние правок в dbt, сортировать алерты и настраивать мониторинг таблиц.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install monte-carlo-agent-toolkit@claude-communityЧто делает monte-carlo-agent-toolkit
Плагин связывает среду разработки с платформой наблюдаемости Monte Carlo. Инструмент отслеживает состояние таблиц, свежесть данных и инциденты прямо в терминале. При редактировании dbt-моделей субагент оценивает радиус поражения до применения изменений и создаёт проверочные SQL-запросы для пулл-реквестов.
Внутри находятся хуки PreToolUse, которые по умолчанию блокируют правки SQL-файлов в папках моделей, макросов и снэпшотов dbt, пока не проведён анализ влияния. Если эта проверка мешает, её можно выключить переменной MC_PREVENT_HOOKS_DISABLED=1. Для работы плагина нужен Python 3.10+.
После установки потребуется запустить /mcp, выбрать сервер Monte Carlo и пройти OAuth-авторизацию. Плагин собирает анонимную телеметрию использования скиллов в Mixpanel и Datadog. Отправку маячков можно отключить через MC_AGENT_TOOLKIT_TELEMETRY_DISABLED=1.
Какие задачи решает
- оценить влияние изменений в dbt-моделях до коммита
- разобрать и классифицировать сработавшие алерты хранилища
- сгенерировать скрипты сбора метаданных и происхождения данных
- настроить мониторы качества данных для таблиц хранилища
Примеры запросов агенту
- Проверь моё подключение к Monte Carlo
- /monte-carlo-onboarding
- Сгенерируй проверочный SQL-ноутбук для правок в dbt
Как установить monte-carlo-agent-toolkit
Через маркетплейс плагинов
/plugin marketplace add anthropics/claude-plugins-community/plugin install monte-carlo-agent-toolkit@claude-communityПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о monte-carlo-agent-toolkit
Как установить monte-carlo-agent-toolkit в Claude Code?
Выполните в консоли Claude Code команду /plugin marketplace add anthropics/claude-plugins-community, а затем установите плагин через /plugin install monte-carlo-agent-toolkit@claude-community. После этого перезапустите Claude Code.
Что делает monte-carlo-agent-toolkit?
Плагин добавляет в Claude Code возможности data observability от Monte Carlo. Он выявляет инциденты хранилища, проверяет покрытие таблиц мониторингом и предотвращает поломку зависимостей dbt.
Как отключить блокировку редактирования dbt-файлов?
Задайте переменную MC_PREVENT_HOOKS_DISABLED=1 в конфигурации оболочки или в .claude/settings.json. После этого хуки перестанут останавливать редактирование SQL-файлов.
Исходный текст
claude-code · Apache-2.0
# Monte Carlo Agent Toolkit — Claude Code Plugin Claude Code plugin that brings Monte Carlo data observability into your editor. Bundles skills, hooks, commands, and permissions for all Monte Carlo features in a single plugin. **Requires Python 3.10+.** ## Installation ### Via Marketplace (recommended) 1. Add the marketplace: ``` /plugin marketplace add monte-carlo-data/mc-agent-toolkit ``` 2. Install the plugin: ``` /plugin install mc-agent-toolkit@mc-marketplace ``` 3. Updates — `claude plugin update` pulls in the latest changes. ### Manual ```bash git clone https://github.com/monte-carlo-data/mc-agent-toolkit.git cd mc-agent-toolkit claude plugin install plugins/claude-code ``` Restart Claude Code after installing. ## Setup 1. **Authenticate with Monte Carlo** — run `/mcp` in Claude Code, select the Monte Carlo server, and complete the OAuth flow. 2. **Verify** — ask Claude: "Test my Monte Carlo connection." ## Telemetry The toolkit sends anonymous skill-usage telemetry by default — which skills are invoked, how often. Each event includes an opaque per-install UUID, a per-session UUID, the skill name, the toolkit version, and the editor it runs in (`claude-code`). No prompts, arguments, or code are ever sent. It also sends a `Toolkit Installed` beacon once per toolkit version — the first time you start Claude Code after installing, and again after each version change — deduped by a local marker, independent of whether you ever run a skill. It carries the install/session UUIDs, toolkit version, and editor (`claude-code`) — no skill field. Like the skill beacon, it is fail-open and non-blocking. **Authenticated MCP traffic (v1.13.3+).** The same anonymous `install_id`, a per-session id, and the toolkit version also ride as HTTP headers (`x-mcd-toolkit-install-id`, `x-mcd-toolkit-session-id`, `x-mcd-toolkit-version`) on **authenticated** requests to the Monte Carlo MCP server. This lets the otherwise-anonymous install record be correlated with your account's MCP tool usage server-side — still no prompts, arguments, or code, only the opaque ids and version. The opt-out below disables these headers too. To opt out, set `MC_AGENT_TOOLKIT_TELEMETRY_DISABLED=1` in your shell environment before starting Claude Code. The toolkit will not phone home. The data is stored in Mixpanel and Datadog and is used only for product-development decisions about which skills to invest in. The UUIDs are generated locally on first session and stored under `~/.claude/mc-agent-toolkit/`. Deleting that directory resets your install identity to a fresh anonymous one. ## Available Features | Feature | Description | Details | |---|---|---| | **Monitoring Advisor** | Analyzes data coverage, creates monitors for warehouse tables and AI agents — covers coverage gaps, use-case analysis, data monitor creation, and agent observability. | [Skill README](../../skills/monitoring-advisor/README.md) | | **Prevent** | Gates dbt model edits with impact assessments, generates monitors-as-code, and produces targeted validation queries. Full hook enforcement. | [Skill README](../../skills/prevent/README.md) | | **Generate Validation Notebook** | Generates SQL validation notebooks for dbt model changes from a PR or local repo. | [Skill README](../../skills/generate-validation-notebook/README.md) | | **Push Ingestion** | Generates warehouse-specific collection scripts for pushing metadata, lineage, and query logs to Monte Carlo. Includes 10 `/mc-*` slash commands. | [Skill README](../../skills/push-ingestion/README.md) | | **Automated Triage** | Guides you through automated alert triage — scoring, deep troubleshooting, classification, and actions. Requires extended MCP toolset. | [SKILL](../../skills/automated-triage/SKILL.md) | | **Onboarding** | Connects a warehouse to Monte Carlo through the REST API v2 tools: deployment choice, credential references, warehouse and connection; Terraform or SDK/CLI script output on request. `/monte-carlo-onboarding`. | [Skill README](../../skills/onboarding/README.md) | The Prevent feature includes **PreToolUse hooks that can block edits to dbt SQL files** until an impact assessment runs. The hooks only fire on `.sql` files inside dbt model, macro, or snapshot directories — they do not affect non-dbt files. **To disable the Prevent hooks**, set `MC_PREVENT_HOOKS_DISABLED=1` in your environment (e.g. in your `.zshrc` or `.bashrc`, or via `.claude/settings.json` under `env`). The hooks will exit immediately without blocking any edits. See the [Prevent Hook Behavior](../README.md#prevent-hook-behavior) section in the plugins README for full details on scope and configuration. ## Updating ``` claude plugin update mc-agent-toolkit@mc-marketplace ``` ## Uninstalling ``` claude plugin remove mc-agent-toolkit ``` The uninstall script restores standalone skill backups if they exist. ## Architecture See the [plugins README](../README.md) for the overall plugin architecture, editor support comparison, and hook format details. ## Changelog See [CHANGELOG.md](CHANGELOG.md).
© monte-carlo-data · Apache-2.0 · monte-carlo-data/mc-agent-toolkit