PostgreSQL MCP Server
Python MCP server for PostgreSQL database inspection and querying
Open the source (opens github.com) https://github.com/musaddiq-dev/postgresql-mcp-server
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: POSTGRES_PASSWORD. Use a key with the least access you can.
What it is
MCP servers from io.github.musaddiq-dev.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
pypi package (stdio)
mdev-postgresql-mcp-server@0.1.2
From the server's entry in the official MCP Registry
Settings it asks for
POSTGRES_HOSTrequired · PostgreSQL hostPOSTGRES_PORTrequired · PostgreSQL portPOSTGRES_USERrequired · PostgreSQL usernamePOSTGRES_PASSWORDsecret · PostgreSQL passwordPOSTGRES_DBrequired · PostgreSQL database namePOSTGRES_READ_QUERY_LIMIT· Maximum rows returned by read queries
Related
-
MCP-PostgreSQL-Ops
MCP servers🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, lock/deadlock monitoring, autovacuum & schema inspection. No extensions required. PG 12-18.
git clone https://github.com/call518/MCP-PostgreSQL-Ops.git -
dbhub
MCP serversToken conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
git clone https://github.com/bytebase/dbhub.git -
phpMyFAQ
MCP serversphpMyFAQ - Open Source FAQ web application for PHP 8.4+ and MySQL, PostgreSQL and other databases
git clone https://github.com/thorsten/phpMyFAQ.git -
PerformanceMonitor
MCP serversFree, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, MCP server for AI analysis. Supports SQL 2016-2025, Azure SQL, AWS RDS, Postgres, Aurora Postgres.
git clone https://github.com/erikdarlingdata/PerformanceMonitor.git -
airbroke
MCP servers🔥 Lightweight, Airbrake/Sentry-compatible, PostgreSQL-based Open Source Error Catcher
git clone https://github.com/icoretech/airbroke.git -
pgmcp
MCP serversAn MCP server to query any Postgres database in natural language.
git clone https://github.com/subnetmarco/pgmcp.git