Stack · Data engineering

Database changes

Tools to prepare database changes and review their effects before rollout.

Built for: Whoever has to add a column to a table that is too large to lock, and would like the rollback written at the same time.

Install all 9 parts

The button opens the checkout, where the 4 servers and 5 skills are listed one by one. Every member is free, so the checkout lists them and asks for no card.

$0/mo
every member is free — 4 servers and 5 skills
$0
the free-tier version keeps 4 servers and 5 skills — and all 100 tools
$0
5 skills with no monthly cost
20.3k
tokens if every skill file is read in full — a skill loads its description first and the rest only when used
01 · Outcome

What your agent can do with this

The reason to buy a stack rather than five listings: each line below needs more than one member connected at the same time.

  1. 01

    Open a Neon branch, run the migration there, and throw the branch away when the answer is no.

  2. 02

    Read the current schema and row counts against a read-only Postgres connection before proposing an index.

  3. 03

    Check the migration against zero-downtime rules — the lock it takes, the backfill it needs, the rollback it must have.

  4. 04

    Read a CSV, Parquet or SQLite file with DuckDB when the change starts as a one-off load rather than as a schema edit.

02 · Assembly

The assembly, part by part

What each part contributes, and why it was picked over the obvious alternative. Prices and permissions are read from the listings, so nothing here can disagree with the catalogue.

4 servers5 skills100 tools
DA01

The read-only view of the live schema — sizes, indexes, row counts — which is what an honest migration plan is written against.

read/write split not recordedruns on your machine A v0.4.2 API key · runs locally
Free
$0 of the monthly total
NE02
Neon MCP server Databases by Neon

Neon's own server manages branches and runs migrations on them, so the rehearsal happens on a copy that can be deleted.

6 read7 write13 network v1.0.0 OAuth · hosted
Free
$0 of the monthly total
ME03

Shows which saved questions read the table you are about to change, which is the report that breaks the morning after a rename.

48 read39 writeruns on your machine A v2.2.0 credential not declared · runs locally
Free
$0 of the monthly total
GI04

The migration is a merge request like any other, and this is where it lands for review.

read/write split not recordedruns on your machine A v2.2.5 · updated yesterday API key · runs locally
Free
$0 of the monthly total
and the instructions that drive them A skill is a prompt file, not a server: it adds context and a procedure, never a tool or a permission of its own.
DA05
Database Migration Patterns Agent skill by agenticweb

The general rules: expand-then-contract, backfill in batches, and a rollback written at the same time as the change.

3k tokens when loaded in full write access not declared 1 file · MIT needs no server of its own
Free
no monthly cost
PO06
Postgresql Indexing Agent skill by prowler-cloud

Index design, partial and partitioned indexes, and EXPLAIN ANALYZE as the proof rather than the intuition.

3.6k tokens when loaded in full write access not declared 1 file · Apache-2.0 v1.0 needs no server of its own
Free
no monthly cost
SA07
Saleor Migrations Agent skill by saleor

Django migration rules written for a large storefront — the concrete version of don't lock the table, for teams on that stack.

1.6k tokens when loaded in full write access not declared 1 file · BSD-3-Clause needs no server of its own
Free
no monthly cost
DU08
DuckDB Read File Agent skill by duckdb

Reads CSV, Parquet, Excel or SQLite in place, which is how most one-off loads start before they become a schema change.

925 tokens when loaded in full write access not declared 1 file · MIT needs no server of its own
Free
no monthly cost
N809
n8n Migration Guidelines Agent skill by n8n-io

A worked set of conventions for authoring migrations in a real repository, useful as the template when yours has none written down.

11.2k tokens when loaded in full write access not declared 1 file · Source-available needs no server of its own
Free
no monthly cost
03 · Cost

What it costs, and on what assumption

Every member is free, so the monthly figure is $0 whatever you do with the stack: nothing here is billed by the call, and only adding a paid member could change it.

PartWhat you are paying forMonthly, as quoted
Database Postgres Free —
Neon Free —
Metabase Free —
GitLab Free —
Skills
Database Migration Patterns Free · context cost only —
Postgresql Indexing Free · context cost only —
Saleor Migrations Free · context cost only —
DuckDB Read File Free · context cost only —
n8n Migration Guidelines Free · context cost only —
Everything above $0 of servers plus $0 of skills, the same in a quiet month and a busy one $0/mo

Subscriptions at their monthly plan price; one-off licences spread over 12 months.

What moves the bill
Flat every month$0 · 0 subscriptions
Carries a call allowancenothing
Paid oncenothing
Traffic assumed5k calls / month

Nothing in this stack carries a call allowance, so nothing here can run out before the month does. The bill is decided when you install it, not when you use it.

The spend cap is one figure for the whole account, set in your dashboard and checked when an order is placed. On the call path what stops a retry loop is the plan's call allowance and its rate limit, and a refused call is never billed.

04 · Setup

Setting it up, in order

The steps below come before the install lines: what to decide and scope before connecting anything, in the order it matters. The lines themselves follow, part by part, for the client you pick.

1
Connect Neon with branch rights
The official Neon server manages branches, queries and migrations. Give it a project-scoped key and let it work on branches only.
2
Point Postgres at a replica
Read-only, with the row caps and statement timeouts the server ships, so measuring a big table costs nothing on the primary.
3
Connect Metabase read-only
Questions and cards only. This desk reads what a change would affect; it does not need the permission to edit anyone's dashboard.
4
Pick your migration rules
Three skills here hold three sets of conventions — general zero-downtime patterns, Postgres indexing and framework-specific rules. Install the ones your repository follows and skip the rest.
Install, part by part9 parts of 9 in Claude Code

npx mcprush@latest stack add schema-change writes all 4 servers into Claude Code’s config in one go — or run the lines below one by one. The 5 skills are not included — add them with lines 05–09.

Keys you’ll need
Database Postgres
POSTGRES_HOST — Database host
POSTGRES_USER — Database user (a read-only user is recommended)
POSTGRES_PASSWORD — Database password (or use POSTGRES_PASSWORD_FILE)
POSTGRES_DATABASE — Database name
Metabase
METABASE_URL — URL of your Metabase instance
METABASE_API_KEY — Metabase API key (Admin → Settings → Authentication → API keys)
GitLab
GITLAB_PERSONAL_ACCESS_TOKEN — GitLab personal access token for local stdio use

Set them where you start Claude Code — export POSTGRES_HOST=… in your shell profile on macOS and Linux, setx POSTGRES_HOST "…" on Windows, then open a new terminal. Claude Code reads them at start; the config keeps only the names.

# 01 · Database Postgres claude mcp add --scope user --env 'POSTGRES_HOST=${POSTGRES_HOST}' --env 'POSTGRES_USER=${POSTGRES_USER}' --env 'POSTGRES_PASSWORD=${POSTGRES_PASSWORD}' --env 'POSTGRES_DATABASE=${POSTGRES_DATABASE}' --transport stdio database-postgres-mcp '--' npx -y @database-mcp/postgres # 02 · Neon claude mcp add --scope user --transport http neon-neon-mcp https://mcp.neon.tech/mcp # 03 · Metabase claude mcp add --scope user --env 'METABASE_URL=${METABASE_URL}' --env 'METABASE_API_KEY=${METABASE_API_KEY}' --transport stdio metabase-mcp '--' npx -y @cognitionai/metabase-mcp-server # 04 · GitLab claude mcp add --scope user --env 'GITLAB_PERSONAL_ACCESS_TOKEN=${GITLAB_PERSONAL_ACCESS_TOKEN}' --transport stdio zereight-gitlab-mcp '--' npx -y @zereight/mcp-gitlab # 05 · Database Migration Patterns npx mcprush@latest skill add agenticweb/database-migration-patterns # 06 · Postgresql Indexing npx mcprush@latest skill add prowler-cloud/postgresql-indexing # 07 · Saleor Migrations npx mcprush@latest skill add saleor/saleor-migrations # 08 · DuckDB Read File npx mcprush@latest skill add duckdb/duckdb-read-file # 09 · n8n Migration Guidelines npx mcprush@latest skill add n8n-io/n8n-migration-guidelines
Requirements and Windows tips
  • Node.js — the current LTS (24) is the safe choice (for npx).
  • Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither.

Nothing is connected until you approve it in Claude Code. mcprush is not in the path and meters nothing here.

Before you start
  • 1 member authorises over OAuth — you are sent to their consent screen once each.
  • 2 members want an API key, set in your own client’s config on your machine — this marketplace never holds it.
  • 1 member has not declared what credential it needs — check each one’s own page before you start.
  • What this stack can write is not recorded — 2 members of 4 have no imported tool surface. Section 05 says what is known before you approve anything.
  • 4 members are connected straight from their own package or address — nothing in them goes through mcprush.
05 · Permissions

What the whole stack can reach

Installed together, these tool surfaces add up. It is the first thing a security reviewer asks for, so what has been counted — and what nobody has counted yet — is on the page rather than in a PDF.

—
tools that only read
Which tools read and which write is counted from the surface a publisher imports, and 2 members of 4 have no imported tool surface.
—
tools that can change something
Not recorded, and not estimated: a total added up from the members that have a surface would be read as the whole stack’s. The table below is what is known, member by member.
13
tools that reach the network
87 of the 100 never leave your machine — they belong to the local members.
Who grants the write accessnot recorded
MemberTool surfaceWrite tools
Metabase imported 39
Neon imported 7
Database Postgres not imported not recorded
GitLab not imported not recorded
Reading the number

A stack's blast radius is the union of its members, not the worst of them. That union cannot be taken here, because 2 members of 4 have no imported tool surface — so the figure a review asks for is missing rather than low, and a member marked not imported is one nobody has counted rather than one that cannot write.

Tools in total100
Write sharenot recorded
Members that can writeat least 2 of 4
Surface imported2 of 4 members
06 · Swaps

Sensible swaps

A stack is a default, not a verdict. These are the substitutions the maintainer would make, and what each one costs or saves.

A team whose Postgres is a Supabase project works against it through Supabase's own server, and gives up the disposable branch that made the rehearsal free.

same money at 5k calls tool counts not recorded grade A instead of not scanned

A team without a BI tool still needs somewhere to put the before-and-after counts; the Sheets server takes them, with pivots and charts, at no licence cost.

same money at 5k calls 26 tools instead of 87 both grade A
07 · Limits

Where this stack stops

Written by the maintainer, kept on the page rather than in a support thread.

  • It cannot run a migration against production. The branch is where this desk works; promoting it is a human action with a human's credentials.

  • The Postgres member is read-only by design, so it can measure a table and never alter one.

  • It does not own your deployment order. A migration that must land before the code, or after it, is a release decision this stack can describe but not sequence.

08 · Maintenance

Who keeps this current

A stack has an owner: whoever keeps it re-checks the combination when a member changes, and the members themselves are published by the people named on each row.

Maintainer
mcprush
The marketplace’s own editors — keep 40 stacks here
Version
—
Not versioned — the curator edits in place
Scanned members
3 of 4
Servers in it that carry a scan grade for the release they serve.
Member trust score
94–100
Lowest to highest client score of its 3 scanned servers, out of 100.
Composition
4 + 5
4 servers, 5 skills
Nearby

Stacks that share parts with this one

All 40 stacks