Gatehouse Submit a tool
postgres-mcp logo

postgres-mcp

✓ Vetted

Postgres for agents with guardrails: a configurable read-only mode, query-plan analysis, index-tuning advice, and database health checks.

Installed, run, and audited by hand on Jul 11, 2026.

by Crystal DBA MCP server Databases
Quiet for 6 months passing liveness · checked Jul 28, 2026

Commit activity · last 52 weeks

Stars3.1k
LanguagePython
LicenseMIT
Open issues68
Pricingfree
ListedJul 11, 2026

Facts pulled from the source repo and refreshed nightly. Stars are a data point, not our ranking. We don't order by popularity.

Install claude mcp add postgres -- uvx postgres-mcp --access-mode restricted

Runs in

HarnessSupportNotes
Claude Code full
Any MCP client full

Support levels reflect what we actually ran, not what the README claims. untested means exactly that.

What it is

The reference-quality Postgres MCP server: schema introspection, EXPLAIN plan analysis, index-tuning recommendations, and a battery of database-health checks (bloat, vacuum and wraparound, replication lag, buffer hit rates).

How it was vetted

Cloned at commit 07eb329 (2026-01-22), installed via uvx, booted, and read end to end. The trust question for a database tool is one thing. Can the agent write when you told it not to? So the audit centered there.