Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

PostgreSQL Operations MCP server

by call518/mcp-postgresql-opsMIT licenceAudited 7 Oct 2026 · source 19d303caac1a

PyPI mcp-postgresql-opsstdiostreamable-http★ 160
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 19d303c
160GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 38 tools: 38 read, 0 write and 0 destructive. The audit recorded 2 findings (0 critical, 0 high, 0 medium, 2 low). Maintainer's description: 🐘 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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “PostgreSQL Operations MCP server (call518/mcp-postgresql-ops)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/call518/postgresql-operations

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium2 low0 info

2 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared1 observation
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainPASS
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner call518User accountAccount type recorded when we read the repository.
  • PackagePublished on PyPImcp-postgresql-ops, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push5 days agoActivity of the repository when we read it.
  • Source commit read19d303caac1aThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory38 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (2)

Sorted by severity

LOWInventory / provenanceinv.hidden_file · .gitleaks.toml
F-13 Inventory / provenanceCWE-1104Layer L0
.gitleaks.toml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose

Tools it exposes

38 declared in source · 0 destructive

38 read0 write0 destructive
ToolRiskWhat it does
get_active_connectionsreadNo description in the source
get_all_tables_statsreadNo description in the source
get_async_io_statusreadNo description in the source
get_autovacuum_activityreadNo description in the source
get_autovacuum_statusreadNo description in the source
get_bgwriter_statsreadNo description in the source
get_current_database_inforeadNo description in the source
get_database_bloat_overviewreadNo description in the source
get_database_conflicts_statsreadNo description in the source
get_database_listreadNo description in the source
get_database_schema_inforeadNo description in the source
get_database_size_inforeadNo description in the source
get_database_statsreadNo description in the source
get_index_io_statsreadNo description in the source
get_index_usage_statsreadNo description in the source
get_io_statsreadNo description in the source
get_lock_monitoringreadNo description in the source
get_per_backend_io_statsreadNo description in the source
get_pg_stat_monitor_recent_queriesreadNo description in the source
get_pg_stat_statements_top_queriesreadNo description in the source
get_postgresql_configreadNo description in the source
get_prompt_templatereadNo description in the source
get_replication_statusreadNo description in the source
get_running_vacuum_operationsreadNo description in the source
get_server_inforeadNo description in the source
get_table_bloat_analysisreadNo description in the source
get_table_io_statsreadNo description in the source
get_table_listreadNo description in the source
get_table_relationshipsreadNo description in the source
get_table_schema_inforeadNo description in the source
get_table_size_inforeadNo description in the source
get_user_functions_statsreadNo description in the source
get_user_listreadNo description in the source
get_vacuum_analyze_statsreadNo description in the source
get_vacuum_effectiveness_analysisreadNo description in the source
get_wait_eventsreadNo description in the source
get_wal_statusreadNo description in the source
get_wal_summarizer_statusreadNo description in the source

Install

audited commit 19d303c

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 19d303c only.

claude mcp add mcp-postgresql-ops --env POSTGRES_PASSWORD=${POSTGRES_PASSWORD} --env REMOTE_AUTH_ENABLE=${REMOTE_AUTH_ENABLE} --env REMOTE_SECRET_KEY=${REMOTE_SECRET_KEY} -- uvx mcp-postgresql-ops

The command does not pin a version; the audit covers commit 19d303caac1a. Transport: stdio · streamable-http. Reads these environment variables: POSTGRES_PASSWORD, REMOTE_AUTH_ENABLE, REMOTE_SECRET_KEY. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 19d303caac1a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/call518/postgresql-operations/badge.svg)](https://modelsatlas.com/mcp/call518/postgresql-operations/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about PostgreSQL Operations MCP server

What is the PostgreSQL Operations MCP server?
🐘 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.
What tools does PostgreSQL Operations expose?
38 in total: 38 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is PostgreSQL Operations safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does PostgreSQL Operations need?
It reads POSTGRES_PASSWORD, REMOTE_AUTH_ENABLE and REMOTE_SECRET_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does PostgreSQL Operations run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mcp-postgresql-ops.
How current is this page?
The grade is for one exact copy of the source (19d303caac1a), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • call518/mcp-postgresql-ops on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 19d303caac1aObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.