MCP-PostgreSQL-Ops
A community MCP server for watching and diagnosing a PostgreSQL server, covering versions 12 to 18.
What it does
A community MCP server for watching and diagnosing a PostgreSQL server, covering versions 12 to 18. Instead of running arbitrary SQL, it maps questions to a fixed set of read-only queries about active and blocked sessions, slow queries, table bloat, vacuum and autovacuum, unused indexes, replication, WAL, checkpoints, database size and I/O, and it can draw schema relationships. Core tools need no extensions; pg_stat_statements or pg_stat_monitor add query statistics. It runs locally over stdio, as a Claude Desktop extension or with uvx, or as a Streamable HTTP server in Docker for OpenWebUI. The author advises a least-privilege monitoring role.
Capabilities
- Show active connections and blocked sessions
- Find the queries using the most execution time
- Detect table bloat and vacuum needs
- Find unused or inefficient indexes
- Check replication, WAL and checkpoint status
About
- Publisher
- call518
- Tool
- PostgreSQL
Works with
Install
- Run this to add it to Any client:
uvx --python 3.12 mcp-postgresql-ops
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | PostgreSQL | |
| Publisher | call518 | source |
| Official status | Community (not published by the tool's vendor) | source |
| Connection | Local (runs on your computer) | source |
| Can change data | No | source |
| Needs an API key or sign-in | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Desktop | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026164 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- README (README.md)github.com/call518/MCP-PostgreSQL-Ops · Backs: AI clients, Can change data, Connection, Needs an API key or sign-inNov 12, 2026
- Licence file (LICENSE)github.com/call518/MCP-PostgreSQL-Ops · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/call518/MCP-PostgreSQL-Ops · Backs: Official status, PublisherNov 12, 2026
- GitHub repositorygithub.com/call518/mcp-postgresql-ops · Backs: Activity, LicenceNov 11, 2026
- GitHub API recordgithub.com/call518/MCP-PostgreSQL-OpsNov 10, 2026