PgVouch runs on your own machine — the client starts it, so there is no endpoint to ping. 50 installs a week from npm. Last commit 4 Oct 2026.
Safe PostgreSQL migrations: schema drift, lock analysis, safe rewrites, data checksums. Read-only.
Today is the operative word: we check PgVouch every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add pgvouch -e 'SOURCE_DATABASE_URL=<SOURCE_DATABASE_URL>' -e 'TARGET_DATABASE_URL=<TARGET_DATABASE_URL>' -- npx -y pgvouch
{
"mcpServers": {
"pgvouch": {
"command": "npx",
"args": [
"-y",
"pgvouch"
],
"env": {
"SOURCE_DATABASE_URL": "<SOURCE_DATABASE_URL>",
"TARGET_DATABASE_URL": "<TARGET_DATABASE_URL>"
}
}
}
}
[mcp_servers.pgvouch]
command = "npx"
args = ["-y", "pgvouch"]
env = { SOURCE_DATABASE_URL = "<SOURCE_DATABASE_URL>", TARGET_DATABASE_URL = "<TARGET_DATABASE_URL>" }
{
"mcpServers": {
"pgvouch": {
"command": "npx",
"args": [
"-y",
"pgvouch"
],
"env": {
"SOURCE_DATABASE_URL": "<SOURCE_DATABASE_URL>",
"TARGET_DATABASE_URL": "<TARGET_DATABASE_URL>"
}
}
}
}
{
"servers": {
"pgvouch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pgvouch"
],
"env": {
"SOURCE_DATABASE_URL": "<SOURCE_DATABASE_URL>",
"TARGET_DATABASE_URL": "<TARGET_DATABASE_URL>"
}
}
}
}
Put your own values in place of
<SOURCE_DATABASE_URL> (Read-only postgres:// URL of the reference database), <TARGET_DATABASE_URL> (Read-only postgres:// URL of the database to check).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
PGVOUCH_LLM (Optional planner LLM: none (default), ollama or gemini).
Lints PostgreSQL migrations for dangerous locking operations and suggests safe rewrites.
MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis
Read-only health checks and data questions for SQL Server and PostgreSQL, with your saved profiles.
Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.
Read-only SQL queries against a PostgreSQL database.
Answers built from our own checks of this server.