Skip to content
Claude Code

postgres mcp for Claude Code

io.github.sparta2025/postgres-mcp

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

client:Claude Code transport:stdio runtime:pypi

Install postgres mcp in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add postgres-mcp -e DATABASE_URL=<DATABASE_URL> -- uvx postgres-mcp-pro

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

postgres mcp in other clients