Docs Search MCP Server
MCP server for your own docs: Markdown, MDX, RST, HTML and llms.txt, searched by section with citations. Read-only, offline, no API keys. Claude, Cursor.
View Docs Search MCP Server
Put Claude Code to work on SQL, dbt and analysis without letting it drop a schema or delete every row.

Ten Claude Code subagents for analysts, analytics engineers and data teams, plus a SQL guard hook. The hook stops Claude from running DROP SCHEMA, DELETE FROM orders with no WHERE, or dbt build --full-refresh against production without asking. Reviewers are read-only; the writers only touch documentation.
| Subagent | Use it for | Tools |
|---|---|---|
| sql-reviewer | correctness before a query runs or merges: grain, join fan-out, NULL traps, date boundaries, unsafe writes | read-only + Bash |
| query-optimizer | slow or expensive queries: EXPLAIN plans, partition pruning, fan-out joins, index suggestions | read-only + Bash |
| dbt-model-reviewer | dbt PRs: layering, keys and tests, incremental logic, downstream impact, cost | read-only + Bash |
| data-quality-investigator | "the numbers look wrong": bisects the pipeline to where the data went bad | read-only + Bash |
| metric-definer | precise KPI definitions with reference SQL; finds conflicting definitions across dashboards and models | writes metric docs |
| dashboard-reviewer | misleading charts, inconsistent metrics, missing filters and context, slow tiles | read-only + Bash |
| experiment-analyst | A/B tests: sample ratio mismatch, intervals, peeking, multiple comparisons, guardrails, sample size | read-only + Bash |
| data-dictionary-writer | table and column docs or dbt YAML descriptions from schema and profiles; flags likely personal data | writes docs |
| notebook-reviewer | Jupyter and scripts: hidden state, leakage, silent dropna/merge traps, unsupported conclusions | read-only + Bash |
| pipeline-debugger | failed Airflow/Dagster/Prefect/dbt/sync runs: root cause, blast radius, safe re-run plan | read-only + Bash |
No overlap with our general Claude Code Subagents Pack or the DevOps & SRE Subagents.
The screenshot is real output from the kit’s own commands. Tested from a fresh download of this exact zip: ./run_tests.sh ran 8 tests OK on Python 3.13 and 3.10.

Then: "Use the sql-reviewer subagent on models/marts/revenue.sql" or "@data-quality-investigator weekly active users dropped 18% on Monday".
A PreToolUse hook on Bash (hooks/sql_guard.py). It reads SQL passed to psql -c/-f, mysql -e, sqlite3, duckdb -c/-f, bq query, snowsql -q/-f, clickhouse-client --query, sqlcmd -Q/-i, trino --execute/-f and cockroach sql -e, including several statements in one string, && chains and bash -c. Comments and string literals are ignored.
Settings: SQL_GUARD=off or SQL_GUARD=deny, or .claude/sql-guard.json: {"mode": "ask", "prod_targets": ["prod", "live"]}. Claude Code ignores hooks inside plugin agent files, so the guard is a plugin-level hook that applies while the plugin is enabled.
./demo.sh runs the linter, sql_risk.py on examples/cleanup.sql (10 statements: 3 block, 4 confirm, 4 lint findings) and the guard. ./run_tests.sh runs the tests.
Zip, 30 KB, v1.0, 22 files. You may use and modify this kit for your own work and for clients you serve, including paid client work. Not affiliated with or endorsed by Anthropic or dbt Labs.
10 Claude Code subagents for data teams: SQL and dbt review, query tuning, data quality, metrics, A/B tests. SQL guard blocks DROP and unfiltered DELETE. $19.
MCP server for your own docs: Markdown, MDX, RST, HTML and llms.txt, searched by section with citations. Read-only, offline, no API keys. Claude, Cursor.
View Docs Search MCP ServerTested Claude Code hooks as a plugin: block rm -rf and force-push to main, protect .env and lockfiles, catch API keys in files, audit log. $19 once.
View Claude Code Safety HooksFree Claude Code hooks examples: SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Notification and Stop, plus a local tester that checks your hook's output.
View Claude Code Hooks Starter (Free)