MCP servers for Postgres
104 ways to connect Postgres to Claude, Cursor or VS Code. 21 are hosted, so there's nothing to install; the rest run on your machine. Each row shows the security checks, the secrets asked for and an install command.
Postgres MCP servers 104
Now showing are unlisted. These entries didn't pass our listing filter: no source repo, a very short or duplicated description, or a publisher with 100+ servers. Same automated checks, shown as-is. How we check
| Type | Secrets | Version | Actions | ||||
|---|---|---|---|---|---|---|---|
★ 241 io.github.pgEdge/postgres-mcp Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI | 3/41 warning | 68health of 100 | DockerRuns locally | Noneno keys asked | 1.0.0 | ||
| 3/3All passed | 37health of 100 | RemoteHosted | Noneno keys asked | 0.3.1 | |||
★ 40 ai.ekwo/mcp Double-entry books an agent keeps as the user: invoices, VAT returns, 174 country packs. | 8/91 warning | 59health of 100 | npmLocal or hosted | 4secrets asked | 0.23.0 | ||
★ 30 io.github.isdaniel/pgtuner_mcp provides AI-powered PostgreSQL performance tuning capabilities. | 7/7All passed | 48health of 100 | PyPIRuns locally | Noneno keys asked | 0.5.2 | ||
★ 24 io.github.antonorlov/mcp-postgres-server MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion. | 6/82 warnings | 57health of 100 | npmRuns locally | 4secrets asked | 0.3.1 | ||
★ 12 io.github.neverinfamous/postgres-mcp PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering | 7/7All passed | 64health of 100 | npmRuns locally | Noneno keys asked | 1.0.2 | ||
★ 12 io.github.neverinfamous/postgres-mcp-server Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations | 4/4All passed | 62health of 100 | DockerRuns locally | Noneno keys asked | 1.2.0 | ||
★ 10 io.github.YawLabs/postgres-mcp PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants | 7/7All passed | 77health of 100 | npmRuns locally | Noneno keys asked | 0.13.9 | ||
★ 9 io.github.snss10/dbeast PostgreSQL MCP server for schema, query, health, security, and performance analysis. | 4/4All passed | 49health of 100 | DockerRuns locally | 2secrets asked | 2.0.2 | ||
★ 5 io.github.arifulislamat/database-mcp-postgres MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged. | 6/71 warning | 50health of 100 | npmRuns locally | 1secret asked | 0.5.0 | ||
★ 5 io.github.edelciomolina/postgres-mcp PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults. | 7/7All passed | 48health of 100 | npmRuns locally | Noneno keys asked | 1.7.0 | ||
★ 4 io.github.contextflo/postgres-mcp Read-only Postgres: drop-in for the archived server-postgres, with schema context. | 7/7All passed | 61health of 100 | npmRuns locally | 1secret asked | 0.1.4 | ||
★ 3 io.github.Eszetael/postgres-mcp-hardened Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction. | 6/71 warning | 61health of 100 | npmRuns locally | 1secret asked | 0.1.10 | ||
| 7/7All passed | 54health of 100 | npmRuns locally | 1secret asked | 1.0.8 | |||
★ 2 capital.hove/read-only-local-postgres-mcp-server MCP server for read-only PostgreSQL database queries in Claude Desktop | 7/7All passed | 58health of 100 | npmRuns locally | Noneno keys asked | 0.1.0 | ||
★ 1 io.github.sezzlee/postgres Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries. | 7/7All passed | 50health of 100 | npmRuns locally | 1secret asked | 0.2.1 | ||
★ 1 io.github.musaddiq-dev/postgresql-mcp-server Python MCP server for PostgreSQL database inspection and querying | 7/7All passed | 43health of 100 | PyPIRuns locally | 1secret asked | 0.1.2 | ||
com.insightfulpipe/postgresql Hosted PostgreSQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account. | 3/3All passed | 47health of 100 | RemoteHosted | Noneno keys asked | 1.0.0 | ||
ai.kaiv/postgres Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres. | 7/7All passed | 52health of 100 | npmRuns locally | Noneno keys asked | 0.1.1 | ||
io.github.AIops-tools/postgres-aiops Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools. | 7/7All passed | 59health of 100 | PyPIRuns locally | Noneno keys asked | 0.12.0 | ||
io.github.gouranshul/pg-perf-mcp Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions | 4/4All passed | 52health of 100 | DockerRuns locally | 2secrets asked | 0.1.0 | ||
io.github.meob/pg-cve-mcp PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths | 7/7All passed | 51health of 100 | PyPIRuns locally | Noneno keys asked | 1.0.4 | ||
io.github.NexQL-OSS/nexql-mcp Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere. | 6/71 warning | 55health of 100 | npmRuns locally | 1secret asked | 0.2.4 | ||
io.prisma/mcp Official Prisma, hosted Unlisted Manage Prisma Postgres and existing Prisma Compute apps. Requires sign-in; does not upload code. | 2/31 warning | No data | RemoteHosted | Noneno keys asked | 1.1.0 | ||
★ 3.7k io.github.bytebase/dbhub Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite | 6/82 warnings | 76health of 100 | npmRuns locally | 4secrets asked | 1.5.0 | ||
★ 1.9k io.github.timescale/pg-aiguide Code reviewed Comprehensive PostgreSQL documentation and best practices, including ecosystem tools | 8/91 warning | 73health of 100 | npmLocal or hosted | 7secrets asked | 0.6.1 | ||
★ 658 com.neon/mcp Official Neon, hosted Official Neon MCP server for managing Neon projects and Lakebase Postgres databases. | 3/3All passed | 72health of 100 | RemoteHosted | Noneno keys asked | 1.0.0 | ||
★ 166 io.github.faucetdb/faucet SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake. | 7/7All passed | 60health of 100 | npmRuns locally | Noneno keys asked | 0.1.15 | ||
★ 94 io.github.backenly/backenly Postgres backend your coding agent builds over MCP; destructive actions wait for a person. | 8/8All passed | 75health of 100 | npmLocal or hosted | 1secret asked | 0.4.0 | ||
★ 72 io.github.appwrite/mcp Official Appwrite Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN | 5/5All passed | 77health of 100 | PyPILocal or hosted | Noneno keys asked | 2.0.1 | ||
★ 65 io.github.MihaiBuilds/memory-vault Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT. | 4/4All passed | 69health of 100 | DockerRuns locally | 1secret asked | 1.6.1 | ||
★ 48 io.github.enessari/metabase-ai-assistant MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL | 7/81 warning | 54health of 100 | npmRuns locally | 3secrets asked | 3.2.0 | ||
★ 36 io.github.boringSQL/dryrun PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials. | 7/7All passed | 68health of 100 | npmRuns locally | Noneno keys asked | 0.20.0 | ||
★ 33 ai.haymon/dbmcp Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention | 4/4All passed | 65health of 100 | DockerRuns locally | 1secret asked | 0.15.2 | ||
★ 30 io.github.nicholasglazer/gnosis Zero-config MCP server for searchable documentation. SQLite or PostgreSQL. | 7/7All passed | 67health of 100 | PyPIRuns locally | Noneno keys asked | 0.17.5 | ||
★ 28 io.aiven/mcp Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. | 8/8All passed | 66health of 100 | npmLocal or hosted | 1secret asked | 1.18.0 | ||
★ 24 com.run402/mcp x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions. | 7/81 warning | 76health of 100 | npmLocal or hosted | Noneno keys asked | 4.104.2 | ||
★ 24 com.dbconvert/streams Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query. | 4/4All passed | 66health of 100 | MCPBRuns locally | Noneno keys asked | 2.7.3 | ||
★ 23 io.github.jamjet-labs/engram-server Durable memory for AI agents: fact extraction, hybrid retrieval, temporal graph. SQLite/Postgres. | 4/4All passed | 60health of 100 | DockerRuns locally | Noneno keys asked | 0.5.0 | ||
★ 19 io.github.Souhar-dya/mcp-db-server MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling. | 4/4All passed | 57health of 100 | DockerRuns locally | Noneno keys asked | 1.3.1 | ||
★ 15 io.github.cuipengdba/agentsql Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval | 3/3All passed | 64health of 100 | RemoteHosted | Noneno keys asked | 0.4.0 | ||
★ 14 io.github.devopam/mcpg Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default. | 7/7All passed | 61health of 100 | PyPIRuns locally | Noneno keys asked | 0.8.3 | ||
★ 10 io.github.tribal-memory/tribal Self-hosted semantic memory over MCP for an engineering team's tacit knowledge. Needs Postgres. | 4/4All passed | 49health of 100 | DockerRuns locally | 2secrets asked | 0.4.1 | ||
★ 9 io.github.mickelsamuel/migrationpilot 112 rules that catch dangerous PostgreSQL migrations, plus a pass/fail gate to call before any DDL. | 6/71 warning | 54health of 100 | npmRuns locally | Noneno keys asked | 1.6.4 | ||
★ 8 io.github.orifisher2/sqlike-mcp Lints SQL and checks rewrites return the same rows. Postgres, MySQL, MariaDB, SQLite, MSSQL, DuckDB | 7/7All passed | 66health of 100 | npmRuns locally | 1secret asked | 0.2.3 | ||
★ 7 io.github.owen282000/life-dashboard Read-only health and screen time history from the Postgres of a self-hosted Life Dashboard Stack | 4/4All passed | 59health of 100 | DockerRuns locally | 1secret asked | 1.2.0 | ||
★ 7 io.github.AYUSH-148/db-explorer-mcp-server Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice | 7/7All passed | 52health of 100 | PyPIRuns locally | 1secret asked | 0.1.0 | ||
★ 7 io.github.thegoodguysla/myco-brain Shared, source-backed memory for AI agents on your own Postgres, with an optional document engine. | 7/7All passed | 54health of 100 | npmRuns locally | Noneno keys asked | 1.3.0 | ||
★ 6 io.github.GiulioDER/re-call Agent memory on your own Postgres that flags superseded facts and abstains instead of guessing. | 5/72 warnings | 62health of 100 | PyPIRuns locally | 1secret asked | 0.14.0 | ||
★ 6 com.superagnt/superagnt AI agent toolkit: live social media data, lead enrichment + email finder, Postgres DB, webhooks. | 3/3All passed | 57health of 100 | RemoteHosted | Noneno keys asked | 0.1.0 |
Showing 1 to 50 of 104. These are the most recently updated; search or pick a category for the rest.
Postgres MCP servers: questions people ask
Which Postgres MCP server should I use?
Prisma Postgres and Prisma Compute is published by the company behind Postgres, which makes it the safest first pick. On GitHub stars, postgres-mcp (★ 241), postgres (★ 65) and Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres (★ 40) lead the 104 we list. postgres is named for Postgres and passed every check we run.
Is it safe to give an AI a Postgres MCP server?
84 of the 104 passed every registry check. Reading the package code or tool descriptions of 72 of them turned up 9 with something to look at, from install scripts to obfuscated code. A clean result means none of our patterns matched, not that a server is safe.
Are Postgres MCP servers kept up to date?
57 of the 104 were updated in the 30 days before 31 Oct 2026. The latest was Midplane, on 28 October.
MCP server or Claude skill for Postgres?
An MCP server gives the AI new tools, such as reaching Postgres itself. A skill only teaches it how to do a task with tools it already has. There are 158 Claude skills for Postgres if that fits better.
Hosted or local: how do Postgres MCP servers run?
21 can run hosted, so you only paste a URL into Claude, Cursor or VS Code. The 90 that run locally ship as 48 npm, 23 PyPI, 16 Docker and 3 MCPB bundle packages.
More topics: every “MCP server for…” page. Prefer a skill? Claude skills for this (158).