PgVouch MCP Server
by shubh-sgrio.github.Shubh-Sgr/pgvouchv0.4.4
Safe PostgreSQL migrations: schema drift, lock analysis, safe rewrites, data checksums. Read-only.
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install PgVouch MCP server
Install in Claude Code
claude mcp add pgvouch -e SOURCE_DATABASE_URL='<source-database-url>' -e TARGET_DATABASE_URL='<target-database-url>' -- npx -y pgvouch mcpInstall in Cursor
{
"mcpServers": {
"pgvouch": {
"command": "npx",
"args": [
"-y",
"pgvouch",
"mcp"
],
"env": {
"SOURCE_DATABASE_URL": "<source-database-url>",
"TARGET_DATABASE_URL": "<target-database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pgvouch": {
"command": "npx",
"args": [
"-y",
"pgvouch",
"mcp"
],
"env": {
"SOURCE_DATABASE_URL": "<source-database-url>",
"TARGET_DATABASE_URL": "<target-database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pgvouch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pgvouch",
"mcp"
],
"env": {
"SOURCE_DATABASE_URL": "<source-database-url>",
"TARGET_DATABASE_URL": "<target-database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pgvouch": {
"command": "npx",
"args": [
"-y",
"pgvouch",
"mcp"
],
"env": {
"SOURCE_DATABASE_URL": "<source-database-url>",
"TARGET_DATABASE_URL": "<target-database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOURCE_DATABASE_URL | yes | yes | Read-only postgres:// URL of the reference database |
| TARGET_DATABASE_URL | yes | yes | Read-only postgres:// URL of the database to check |
| PGVOUCH_LLM | — | — | Optional planner LLM: none (default), ollama or gemini |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-04 · 5d ago · GitHub
Latest release
2026-10-04 · 5d ago · GitHub · v0.4.4
Package published
no data · npm/PyPI
Registry entry updated
2026-10-04 · 5d ago · official registry · v0.4.4
FAQ
›How do I install the PgVouch MCP server in Claude Code?
Run: claude mcp add pgvouch -e SOURCE_DATABASE_URL='<source-database-url>' -e TARGET_DATABASE_URL='<target-database-url>' -- npx -y pgvouch mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does PgVouch require an API key?
Yes. It expects SOURCE_DATABASE_URL, TARGET_DATABASE_URL, of which 2 are secrets.
›Can I use PgVouch as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is PgVouch in the official MCP registry?
Yes, as io.github.Shubh-Sgr/pgvouch.
Alternatives to PgVouch
Other database MCP servers.