Postgres MCP Pro MCP Server
by sparta2025io.github.sparta2025/postgres-mcpv0.4.2
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
context tax
queued
security
queued
cold start
queued
freshness
Maintained49d ago
Install Postgres MCP Pro MCP server
Install in Claude Code
claude mcp add postgres-mcp-pro -e DATABASE_URL='<database-url>' -- uvx postgres-mcp-proInstall in Cursor
{
"mcpServers": {
"postgres-mcp-pro": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"postgres-mcp-pro": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"postgres-mcp-pro": {
"type": "stdio",
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"postgres-mcp-pro": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | yes | yes | PostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname |
Freshness
Maintained — last maintenance signal 49d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-21 · 49d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-21 · 49d ago · official registry · v0.4.2
FAQ
›How do I install the Postgres MCP Pro MCP server in Claude Code?
Run: claude mcp add postgres-mcp-pro -e DATABASE_URL='<database-url>' -- uvx postgres-mcp-pro. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Postgres MCP Pro require an API key?
Yes. It expects DATABASE_URL, of which 1 is a secret.
›Can I use Postgres MCP Pro as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Postgres MCP Pro in the official MCP registry?
Yes, as io.github.sparta2025/postgres-mcp.
Alternatives to Postgres MCP Pro
Other database MCP servers.