Skip to main content

Postgres MCP

io.github.sparta2025/postgres-mcp

v0.4.2Updated Aug 21, 2026stdio · PyPI

PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add postgres-mcp -e 'DATABASE_URL=<your-database-url>' -- uvx postgres-mcp-pro==0.4.2

Configuration

1 setting, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • DATABASE_URL
    Env var· required· secret
    PostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname

Listed in the official MCP Registry since Aug 21, 2026. Mirrored daily; last checked Nov 26, 2026.