1. Conduid
  2. Files
  3. Migration Advisor
MCP server · Files

Migration Advisor

MCP server for database migration risk analysis — Flyway and Liquibase XML/YAML/SQL support with lock detection and conflict analysis

45Fair

Scored 5 hours ago · breakdown

About Migration Advisor

Migration Advisor is an MCP server published by Dmitriusan in the Files category: mCP server for database migration risk analysis — Flyway and Liquibase XML/YAML/SQL support with lock detection and conflict analysis. Conduid read 6 tools from its source: analyze_liquibase, analyze_liquibase_yaml, analyze_migration, detect_conflicts, generate_rollback and score_risk. It is published to npm as mcp-migration-advisor and starts with npx.

Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include database-migration, devtools, flyway, java-backend, liquibase and risk-analysis.

Install

Claude Code
claude mcp add migration-advisor -- npx -y mcp-migration-advisor
npx
npx -y mcp-migration-advisor
From source
git clone https://github.com/Dmitriusan/mcp-migration-advisor

Tools (6)

analyze_liquibaseAnalyze a Liquibase XML changelog for lock risks, data loss potential, and unsafe patterns. Supports all major change types: createTable, dropTable, addColumn, dropColumn, modifyDataType, addNotNullConstraint, createIndex, dropIndex, addForeignKeyConstraint, dropForeignKeyConstraint, renameTable, renameColumn. Inline <sql> changeSets are also analyzed for TRUNCATE, DELETE without WHERE, and UPDATE without WHERE. Returns lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss risk per operation.
analyze_liquibase_yamlAnalyze a Liquibase YAML changelog for lock risks, data loss potential, and unsafe patterns. Supports all major change types: createTable, dropTable, addColumn, dropColumn, modifyDataType, addNotNullConstraint, createIndex, dropIndex, addForeignKeyConstraint, dropForeignKeyConstraint, renameTable, renameColumn. Inline sql changeSets are also analyzed for TRUNCATE, DELETE without WHERE, and UPDATE without WHERE. Returns lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss risk per operation.
analyze_migrationAnalyze a SQL migration file for lock risks, data loss potential, and unsafe patterns. Detects: ACCESS EXCLUSIVE locks (DROP TABLE, ADD COLUMN NOT NULL, type changes, CREATE INDEX without CONCURRENTLY), data loss operations (TRUNCATE, DELETE without WHERE, UPDATE without WHERE, DROP COLUMN), and cascade risks. Supports Flyway versioned (V__*.sql) and repeatable (R__*.sql) migrations, as well as plain SQL files.
detect_conflictsDetect structural conflicts between two SQL migration files — same-table modifications, same-column changes, lock contention, and drop dependencies. Use this when two migrations touch the same schema objects and you need to know if ordering or concurrent execution matters. Note: only structural conflicts are detected (same table/column); semantic conflicts such as two migrations adding different indexes on the same column are not reported.
generate_rollbackGenerate reverse DDL to undo a SQL migration. Produces rollback SQL with warnings for irreversible operations (DROP TABLE, DROP COLUMN, type changes). Includes Flyway schema_history cleanup.
score_riskCalculate the combined risk score (0-100) for a SQL migration. Aggregates both lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss potential (DROP, TRUNCATE, type changes) into a single score. Useful for CI gates and automated migration review pipelines.

Security checks

  • ✓README presentThe repository's README runs to about 1.1K words.

5 checks have not been run yet.

README

The repository's README runs to about 1.1K words. The original in the repository is authoritative.

Read full README
Questions

About Migration Advisor

How do I install Migration Advisor?

In Claude Code, run claude mcp add migration-advisor -- npx -y mcp-migration-advisor. Other MCP clients take the command after "--" in their server configuration.

Is Migration Advisor safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Migration Advisor still maintained?

Yes — the last commit was 3 months ago. The repository has 0 stars and 0 forks.

What tools does Migration Advisor provide?

Conduid read 6 tools from the source: analyze_liquibase, analyze_liquibase_yaml, analyze_migration, detect_conflicts, generate_rollback and score_risk.