PostgreSQL MCP servers

Which PostgreSQL MCP servers actually answer?

Of 151 servers in the official MCP registry that mention PostgreSQL, we checked 49 remote endpoints on 2026-10-04: 7 answered the MCP handshake, 27 answered but asked for sign-in or payment first, and 15 did not complete it. 98 run on your own machine and cannot be checked from outside.

What this does not tell you: whether a server is safe, or whether its tools do what they say. An answer to the handshake proves the endpoint is up, nothing more.

Ranked by our checks and repository activity, not by votes. How we check.

  1. postgres

    ai.waystation/postgres

    Connect to your PostgreSQL database to query data and schemas.

    Answers, but asks for payment (HTTP 402) before the handshake★ 63
  2. postgres-mcp

    io.github.pgEdge/postgres-mcp

    Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

    runs locally★ 232
  3. Dataset to Postgres, Supabase & MySQL (Database Push)

    io.github.Nero-Engine/dataset-to-database

    Push rows from a dataset, file or Google Sheet into a Postgres, Supabase, Neon or MySQL table.

    Answers the MCP handshake; tool list not available without sign-in
  4. PostgreSQL performance Tuner MCP Server

    io.github.isdaniel/pgtuner_mcp

    provides AI-powered PostgreSQL performance tuning capabilities.

    runs locally★ 29
  5. PostgreSQL

    io.github.antonorlov/mcp-postgres-server

    MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.

    runs locally★ 23
  6. pg-aiguide

    io.github.timescale/pg-aiguide

    Comprehensive PostgreSQL documentation and best practices, including ecosystem tools

    Answers the MCP handshake and lists its tools★ 1,854
  7. Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres

    ai.ekwo/mcp

    Double-entry books an agent keeps as the user: invoices, VAT returns, 107 country packs.

    Answers, but requires sign-in before the handshake★ 2
  8. PostgreSQL MCP Server

    io.github.neverinfamous/postgres-mcp

    PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering

    runs locally★ 12
  9. PostgreSQL MCP Server

    io.github.neverinfamous/postgres-mcp-server

    Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations

    runs locally★ 12
  10. DBeast PostgreSQL MCP

    io.github.snss10/dbeast

    PostgreSQL MCP server for schema, query, health, security, and performance analysis.

    runs locally★ 9
  11. database-mcp-postgres

    io.github.arifulislamat/database-mcp-postgres

    MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

    runs locally★ 5
  12. Postgres MCP

    io.github.edelciomolina/postgres-mcp

    PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.

    runs locally★ 5
  13. Postgres (read-only)

    io.github.contextflo/postgres-mcp

    Read-only Postgres: drop-in for the archived server-postgres, with schema context.

    runs locally★ 4
  14. Neon

    com.neon/mcp

    Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

    Answers, but requires sign-in before the handshake★ 648
  15. PostgreSQL (hardened, read-only)

    io.github.Eszetael/postgres-mcp-hardened

    Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.

    runs locally★ 3
  16. postgres

    io.github.marcelo-ochoa/postgres

    MCP server for interacting with PostgreSQL databases

    runs locally★ 2
  17. read-only-local-postgres-mcp-server

    capital.hove/read-only-local-postgres-mcp-server

    MCP server for read-only PostgreSQL database queries in Claude Desktop

    runs locally★ 2
  18. PostgreSQL MCP Server

    io.github.musaddiq-dev/postgresql-mcp-server

    Python MCP server for PostgreSQL database inspection and querying

    runs locally★ 1
  19. Run402

    com.run402/mcp

    x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions.

    Answers the MCP handshake and lists its tools★ 24
  20. Devart MCP Server for PostgreSQL (ADO.NET)

    com.devart/mcp-postgresql

    Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.

    runs locally
  21. WHOOP MCP

    io.github.cunicopia-dev/whoop-postgres-mcp

    Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client.

    runs locally
  22. Postgres URL Shape

    io.github.sadri-dridi/postgres-url-shape

    Check a Postgres URL shape. Credentials discarded.

    Answers the MCP handshake and lists its tools
  23. postgres-mcp

    io.github.sparta2025/postgres-mcp

    PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.

    runs locally
  24. PostgreSQL CVE & Release Intelligence

    io.github.meob/pg-cve-mcp

    PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths

    runs locally
  25. sw-postgres-mcp

    io.github.jpka/sw-postgres-mcp

    Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.

    runs locally
  26. postgres

    io.github.ofershap/postgres

    PostgreSQL MCP — query databases, inspect schemas, explain queries.

    runs locally
  27. Postgres AIops

    io.github.AIops-tools/postgres-aiops

    Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.

    runs locally
  28. NexQL Postgres MCP

    io.github.NexQL-OSS/nexql-mcp

    Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.

    runs locally
  29. postgres-mcp

    io.github.YawLabs/postgres-mcp

    PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

    runs locally
  30. ainative-postgres-mcp

    io.github.AINative-Studio/ainative-postgres-mcp

    Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.

    runs locally

Showing the top 30 of 151. Search all.