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.2Configuration
1 setting, 1 required secret. Snippets use placeholders; keep real values out of shared config.
DATABASE_URLEnv var· required· secretPostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname
Links
Listed in the official MCP Registry since Aug 21, 2026. Mirrored daily; last checked Nov 26, 2026.