Skip to content
MCP server

bricksentry

Pre-merge safety verdicts for Databricks table changes made by pipelines and agents

Runs locallyStatus and history
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.1.25
Listing updated
3 days ago

About bricksentry

bricksentry is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.

The check runs four steps in order: diff the data, map the blast radius, apply policy, and prepare a rollback. The diff matches production and the change on key columns and counts added, removed and changed rows, schema changes, column totals and duplicate keys, and finds where the change concentrates. Blast radius walks Unity Catalog lineage for jobs, dashboards and queries, with owners and tags.

Verdicts come from rules in policy.yml, with no LLM in the decision, so the same change gets the same answer. The output includes a next step such as "Do not merge", and the Delta history yields the exact RESTORE command. Everything runs as SQL on your warehouse and no data leaves the workspace.

It is open source under Apache-2.0, installable from PyPI, usable in CI with --fail-on needs_human, and a local DuckDB demo runs without a Databricks account.

Install

Run in a terminal

claude mcp add bricksentry --env DATABRICKS_TOKEN='<DATABRICKS_TOKEN>' -- uvx bricksentry-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bricksentry": {
      "command": "uvx",
      "args": [
        "bricksentry-mcp"
      ],
      "env": {
        "DATABRICKS_TOKEN": "<DATABRICKS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bricksentry": {
      "command": "uvx",
      "args": [
        "bricksentry-mcp"
      ],
      "env": {
        "DATABRICKS_TOKEN": "<DATABRICKS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "bricksentry": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bricksentry-mcp"
      ],
      "env": {
        "DATABRICKS_TOKEN": "<DATABRICKS_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bricksentry": {
      "command": "uvx",
      "args": [
        "bricksentry-mcp"
      ],
      "env": {
        "DATABRICKS_TOKEN": "<DATABRICKS_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bricksentry": {
      "command": "uvx",
      "args": [
        "bricksentry-mcp"
      ],
      "env": {
        "DATABRICKS_TOKEN": "<DATABRICKS_TOKEN>"
      }
    }
  }
}

Configuration

  • BRICKSENTRY_CONFIGPath to your bricksentry.yml (backend, tables and policy).
  • DATABRICKS_HOSTDatabricks workspace URL, when using the Databricks backend.
  • DATABRICKS_TOKENDatabricks access token, when using the Databricks backend.

What it does

Data diff
Counts added, removed and changed rows, duplicate keys and total shifts.
Blast radius
Uses Unity Catalog lineage to list downstream tables, jobs and dashboards.
Policy verdicts
Deterministic rules decide safe, warn, needs_human or block.
Rollback ready
Reads Delta history to produce the restore command.
CI and agent use
Fails a CI check or tells an agent not to merge.

Good for

  • Review an agent's DELETE before it reaches production
  • Catch a MERGE that duplicates keys
  • Notify owners of a certified downstream table
  • Fail a pull request on risky data changes

Pricing

Open source

Free and open source (Apache-2.0)

Prices change. Check bricksentry.org before you buy.

bricksentry FAQ

Is an LLM involved in the verdict?

No. Policy rules decide, so the same change always gets the same answer.

Where does it run?

As SQL on your Databricks SQL warehouse; data stays in your workspace.

Is it open source?

Yes, under Apache-2.0.

Can I try it without Databricks?

Yes, a local DuckDB demo runs on a 20,000-row sample.

Is bricksentry free?

Yes. bricksentry is open source, so you can use and self-host it for free.

How do I add bricksentry to Claude Code?

Run this command in your terminal: claude mcp add bricksentry --env DATABRICKS_TOKEN='<DATABRICKS_TOKEN>' -- uvx bricksentry-mcp

What are the best alternatives to bricksentry?

The closest alternatives to bricksentry are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, Midplane and World Monitor.

Alternatives to bricksentry

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  5. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  6. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data