Skip to content
Verified official

PostgreSQL MCP Server MCP

v0.1.2

io.github.musaddiq-dev/postgresql-mcp-server

Python MCP server for PostgreSQL database inspection and querying

transport:stdio runtime:pypi

Target client

run in your project directory

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

claude mcp add postgresql-mcp-server -e POSTGRES_HOST=<POSTGRES_HOST> -e POSTGRES_PORT=<POSTGRES_PORT> -e POSTGRES_USER=<POSTGRES_USER> -e POSTGRES_PASSWORD=<POSTGRES_PASSWORD> -e POSTGRES_DB=<POSTGRES_DB> -e POSTGRES_READ_QUERY_LIMIT=<POSTGRES_READ_QUERY_LIMIT> -- uvx mdev-postgresql-mcp-server

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

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.