postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
Open the source (opens github.com) https://github.com/ofershap/mcp-server-postgres
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
What it is
MCP servers from io.github.ofershap.
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
npm package (stdio)
mcp-pg-server@1.0.0
From the server's entry in the official MCP Registry
Related
-
dbhub
MCP serversToken conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
git clone https://github.com/bytebase/dbhub.git -
postgresai
MCP serverspostgresai – Postgres observability built for humans and AI agents
git clone https://github.com/postgres-ai/postgresai.git -
pgmcp
MCP serversAn MCP server to query any Postgres database in natural language.
git clone https://github.com/subnetmarco/pgmcp.git -
prest
MCP serversInstant REST and MCP APIs for PostgreSQL and MySQL, on existing or new databases. CRUD, custom SQL routes, auth and ACL without writing a backend. Low-code, ⚡ realtime, high-performance. Native MySQL support since v2.5
git clone https://github.com/prest/prest.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 -
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