DatabaseCommunity

PostgreSQL

Connect to PostgreSQL databases for schema inspection, read-only queries, and data analysis with connection pooling.

Docs & setup

Starter recipes

Real tasks you can ask an agent once this server is connected.

Plain-English reporting

Ask "How many new signups did we get each month this year?" The assistant writes the SQL, runs it, and gives you a readable summary. No SQL knowledge needed on your side.

Try

Explore an unfamiliar database

Ask it to describe every table and how they relate. Useful when you inherit a project, or a developer left and nobody remembers what "tbl_misc_2" holds.

Try

Sanity-check data quality

Have it look for duplicate emails, orders with missing totals, or dates in the future: quick health checks you would otherwise need an analyst for.

Try
Install
uvx postgres-mcp --access-mode=unrestricted

Runs on your computer through uvx, which fetches the Python package the first time.

From the project README · checked 10 Oct 2026

Downloads
2.6M

PyPI · all time since Mar 2025 · as of 10 Oct 2026

Checked 10 Oct 2026

License
MIT

Community-maintained

Access

The server can see whatever the database user you give it can see, so connect with a read-only user and restricted mode. The assistant can then query data but never insert, update, or delete it.