AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

database

PostgreSQL MCP servers and skills

There are 170 ways to connect PostgreSQL to Claude, ChatGPT, Cursor and other AI assistants; these are the 100 with the highest scores. The most used is Postgres MCP (0 GitHub stars).

Best PostgreSQL MCP servers, compared →

Most used

MCP servers (75)

  1. 1Postgres MCP Passionfroot · DatabasesA Model Context Protocol server for PostgreSQL with Prisma-aware schema introspection.AAC3 days ago2.9k/wk85
  2. 2Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres Ekwo-ai · DatabasesDouble-entry books an agent keeps as the user: invoices, VAT returns, 138 country packs.ACC2 days ago567/wk84
  3. 3PostgreSQL MCP Server YawLabs · DatabasesPostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistantsAAC6 days ago1.3k/wk82
  4. 4MCP Postgres kristofer84 · DatabasesModel Context Protocol server for PostgreSQL database operationsAAC2 days ago1.1k/wk82
  5. 5Postgresql Sharp MCP codegiveness · DatabasesDatabase-agnostic PostgreSQL MCP server with live discovery and bounded per-call selection. Installs one platform package with the .NET runtime bundled; no .NET installation or runtime downloads required.AAC4 days ago799/wk81
  6. 6Postgres openbooking-sh · DatabasesPostgres storage for OpenBooking: bookings and holds, idempotency, Studio activity and connector records.AAC2 days ago899/wk81
  7. 7postgres-mcp pgEdge · DatabasesEnterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UIABB8 days ago★ 23980
  8. 8Postgres MCP microsoft · DatabasesPostgreSQL MCP server for AI assistants over the Model Context Protocol.BAB1 month ago2.2k/wk79
  9. 9PostgreSQL antonorlov · DatabasesMCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.BAC1 month ago983/wk76
  10. 10MCP Postgres Readonly vbss-io · DatabasesRead-only multi-org PostgreSQL MCP server for extracting reports and KPIsAAC9 days ago179/wk76
  11. ADYour product hereThis row is seen by people browsing PostgreSQL tools. Book it from $249 a month.See prices →
  12. 11Dsh MCP Postgres tudamu · DatabasesMCP Postgres server toolkit for dsh - SQL queries via Model Context Protocol. Name reserved; first release in development.AC377/wk75
  13. 12ainative-postgres-mcp AINative-Studio · DatabasesZero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.AAC26 days ago87/wk73
  14. 13Postgres (read-only) contextflo · DatabasesRead-only Postgres: drop-in for the archived server-postgres, with schema context.AAC23 days ago71/wk73
  15. 14PostgreSQL (hardened, read-only) Eszetael · DatabasesRead-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.AAC3 days ago80/wk73
  16. 15PostgreSQL MCP Server neverinfamous · DatabasesPostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filteringAAC23 days ago64/wk73
  17. 16Postgres MCP Server HenkDz · DatabasesA Model Context Protocol (MCP) server that provides comprehensive PostgreSQL database management capabilities for AI assistantsCCC4 months ago1.6k/wk67
  18. 17PostgreSQL MCP Server neverinfamous · DatabasesEnterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operationsAAC23 days ago★ 1264
  19. 18Postgresql Ssh MCP Zlash65 · DatabasesPostgreSQL MCP Server with built-in SSH tunneling for secure database access through bastion hostsDAC9 months ago760/wk63
  20. 19PostgreSQL performance Tuner MCP Server isdaniel · Databasesprovides AI-powered PostgreSQL performance tuning capabilities.CAC4 months ago★ 3062
  21. 20Postgres Context Server zed-industries · Databasesa model context protocol server for postgresDAD9 months ago605/wk60
  22. 21Postgresql MCP Server Code-suphub · DatabasesPostgreSQL MCP Server - 统一权限控制AAD9 days ago18/wk58
  23. 22Postgresql MCP sarmadparvez · DatabasesMCP server for PostgreSQL with full read-write support, transactions, and schema inspection. Works with any PostgreSQL instance — local, Supabase, AWS RDS, or self-hosted. Use with Claude, Cursor, Windsurf, and any MCP-compatible AI client.DAC7 months ago75/wk56
  24. 23Store Postgres amir-gorji · DatabasesPostgres-backed EventStore and SessionRegistry for mcpose: SSE reconnect replay that survives a restartAAC2 days ago10/wk54
  25. 24postgres waystation-ai · DatabasesConnect to your PostgreSQL database to query data and schemas.FFB13 months ago★ 6453
  26. 25DBeast PostgreSQL MCP snss10 · DatabasesPostgreSQL MCP server for schema, query, health, security, and performance analysis.BAC2 months ago★ 953
  27. 26MCP Postgres Ssh dinamexoft · DatabasesMCP server for Postgres via SSHAFD23 days ago18/wk53
  28. 27database-mcp-postgres arifulislamat · DatabasesMCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.AAC3 days ago★ 551
  29. 28Postgres MCP llm-graph · DatabasesA blazing fast, type-safe MCP Server for AI Agents to interact with multiple PostgreSQL databasesFAC18 months ago92/wk51
  30. 29Postgres Readonly MCP beydemirfurkan · DatabasesMCP server for read-only PostgreSQL database accessAD73/wk50
  31. 30Safe Postgres MCP samuel-cabral · DatabasesSafety-first, read-only PostgreSQL MCP server. Read-only isn't a regex — it's enforced by Postgres itself (READ ONLY transactions, statement timeouts, row caps). One npx command to give AI agents safe access to your database.BAC2 months ago12/wk50
  32. 31read-only-local-postgres-mcp-server hovecapital · DatabasesMCP server for read-only PostgreSQL database queries in Claude DesktopAAC3 days ago★ 249
  33. 32Postgres MCP mmtr-tech · DatabasesModel Context Protocol server for PostgreSQL (single DATABASE_URL or multi-target YAML catalog)AC8/wk49
  34. 33Postgres MCP Server allensandiego · DatabasesModel Context Protocol (MCP) server for PostgreSQL databasesBFC2 months ago17/wk48
  35. 34Postgres MCP Server Teja-sudo · DatabasesA Model Context Protocol (MCP) server for PostgreSQL database management and analysisCAC5 months ago15/wk48
  36. 35MCP Postgres Full Access syahiidkamil · DatabasesFull-access PostgreSQL server for Model Context Protocol with read/write capabilities and enhanced schema metadataFFC17 months ago156/wk46
  37. 36Postgres MCP For Devs devandy1024 · DatabasesPostgres MCP server with full read/write SQL — list tables, describe schema, execute arbitrary queriesAC7/wk45
  38. 37MCP Server Postgres Multi Schema HarjjotSinghh · DatabasesMCP server for interacting with PostgreSQL databases, with support for multiple schemasFAC20 months ago41/wk45
  39. 38Modelcontextprotocol Server Postgres p29hieu · DatabasesMCP server for interacting with PostgreSQL databasesAD64/wk44
  40. 39Zlash65 Postgresql Ssh MCP Zlash65 · DatabasesPostgreSQL MCP Server with built-in SSH tunneling for secure database access through bastion hostsDAC9 months ago★ 743
  41. 40Postgres MCP Server spencerpauly · DatabasesA secure, self-hostable Model Context Protocol server for PostgreSQL.CAC3 months ago8/wk43
  42. 41Blankbrackets Postgres MCP Server blankbrackets · DatabasesModel Context Protocol server for AI-assisted PostgreSQL database analysis and optimization. Provides read-only access for comprehensive performance analysis, index optimization, and schema recommendations.DAC12 months ago14/wk43
  43. 42Enhanced Postgres MCP Server garethcottrell · DatabasesEnhanced PostgreSQL MCP server with read and write capabilities. Based on @modelcontextprotocol/server-postgres by Anthropic.FC213/wk42
  44. 43MCP Postgres Monsoft-Solutions · DatabasesMCP server for postgres database interactionsFFD12 months ago104/wk42
  45. 44User Postgresql MCP wenxue1 · DatabasesA PostgreSQL MCP server built with @modelcontextprotocol/sdk.AC14/wk41
  46. 45Postgres MCP Server ahmedmustahid · DatabasesMCP server for interacting with PostgreSQL databasesFFD15 months ago39/wk41
  47. 46MCP Server Azure Postgres Ryzeon · DatabasesMCP server for Azure Database for PostgreSQL with automatic Azure AD token refreshCFC4 months ago10/wk41
  48. 47MCP Server Postgres ahmetkca · DatabasesA comprehensive, read-only, multi-tenant PostgreSQL MCP server with advanced schema introspection and query capabilitiesFC94/wk40
  49. 48MCP Postgres Secure pugltd · DatabasesA secure Model Context Protocol server for PostgreSQL with readonly, DML, and full access modesCAC4 months ago6/wk40
  50. 49Postgres MCP Readonly mahin1995 · DatabasesA secure, read-only PostgreSQL Model Context Protocol (MCP) server for safe database introspection and queryingCAC5 months ago5/wk40
  51. 50Postgres MCP edelciomolina · DatabasesPostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.CFC4 months ago★ 539
  52. 51Sezzlee PostgreSQL sezzlee · DatabasesExplore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.AAC2 days ago★ 139
  53. 52MCP Postgres Rw snyder2709 · DatabasesMCP server for PostgreSQL with both read and write support (INSERT, UPDATE, DELETE, DDL). Unlike the official server-postgres, this one allows write operations.DAC6 months ago9/wk39
  54. 53Postgres MCP Server caleb-mabry · DatabasesModel Context Protocol server for PostgreSQL database operationsDAC8 months ago5/wk36
  55. 54Postgres MCP daitasu · DatabasesPostgreSQL Model Context Protocol Server - A read-only PostgreSQL MCP server implementationFAC15 months ago11/wk36
  56. 55MCP Postgres muhfauziazhar · DatabasesSafe, read-only-by-default Model Context Protocol (MCP) server for PostgreSQL. Let AI agents inspect and query your database without fear of destructive writes.CAC4 months ago3/wk35
  57. 56postgres marcelo-ochoa · DatabasesMCP server for interacting with PostgreSQL databasesBFF2 months ago★ 234
  58. 57Postgres MCP cesarvarela · DatabasesPostgreSQL MCP Server - Expose PostgreSQL database operations via Model Context ProtocolAC11/wk34
  59. 58Garethcott Enhanced Postgres MCP Server garethcottrell · DatabasesEnhanced PostgreSQL MCP server with read and write capabilities. Based on @modelcontextprotocol/server-postgres by Anthropic.FC17/wk34
  60. 59Garethcott Enhanced Postgres MCP Server garethcottrell · DatabasesEnhanced PostgreSQL MCP server with read and write capabilities. Based on @modelcontextprotocol/server-postgres by Anthropic.FC14/wk34
  61. 60Postgresql MCP Readonly ferrybig · DatabasesA Model Context Protocol server for readonly PostgreSQL database accessDAC12 months ago4/wk34
  62. 61postgres ai-kaiva · DatabasesRead-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.AAC2 days ago★ 033
  63. 62PostgreSQL MCP Server musaddiq-dev · DatabasesPython MCP server for PostgreSQL database inspection and queryingCAC5 months ago★ 132
  64. 63Postgres Claude MCP Wrapper adam1571 · DatabasesA simple CLI tool to configure PostgreSQL Model Context Protocol (MCP) server for Claude Desktop using environment variables.AC9/wk32
  65. 64Postgres MCP ketanexpora · DatabasesMCP server for interacting with PostgreSQL databasesAD12/wk32
  66. 65Postgres AIops AIops-tools · DatabasesGoverned PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.AAC6 days ago★ 030
  67. 66PostgreSQL Performance (read-only) gouranshul · DatabasesRead-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functionsAAC2 days ago★ 030
  68. 67MCP Postgres Full Access Extended kamusis · DatabasesFull-access PostgreSQL server for Model Context Protocol with read/write capabilities and enhanced schema metadataFFC18 months ago9/wk30
  69. 68Devart MCP Server for PostgreSQL (ADO.NET) devart-ai-connectivity · DatabasesSchema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.BFC1 month ago★ 027
  70. 69WHOOP MCP cunicopia-dev · DatabasesSync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client.BAC1 month ago★ 027
  71. 70sw-postgres-mcp jpka · DatabasesSafe-write Postgres MCP server with preview-before-execute writes and rollback safety.BAC1 month ago★ 027
  72. 71PostgreSQL CVE & Release Intelligence meob · DatabasesPostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade pathsBAC2 months ago★ 027
  73. 72postgres ofershap · DatabasesPostgreSQL MCP — query databases, inspect schemas, explain queries.BAC2 months ago★ 027
  74. 73MCP Server Postgresql axbalal · DatabasesPostgreSQL MCP Server for LLM coding agentsAD6/wk27
  75. 74Server Postgres hbeckeri · DatabasesMCP server for interacting with PostgreSQL databasesAD5/wk27
  76. 75NexQL Postgres MCP NexQL-OSS · DatabasesStandalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.BCC1 month ago★ 026

Skills (25)

  1. 1neon-postgres benjaminasterA · DatabasesExpert patterns for Neon serverless Postgres, branching, connection pooling, and Prisma/Drizzle integration Use when: neon database, serverless postgres, database branching, neon postgres, postgres...AAB2 days ago★ 41070
  2. 2postgres giswater · DatabasesPostgreSQL best practices, query optimization, and performance improvement. Load when working with Postgres databases.ACByesterday★ 8766
  3. 3sql-postgres agent-kit-startup · DatabasesWrite and review Postgres SQL (DDL, DML, indexes, constraints). Use for .sql, schemas, or Postgres mentions.AAC3 days ago★ 2049
  4. 4healthcheck-dotnet-postgresql hoangnh2412 · DatabasesĐăng ký PostgreSQL readiness qua AddNpgSql() và HealthChecks:Readiness. Dùng khi project .NET cần probe Npgsql trên /health/ready.AFC2 days ago★ 1544
  5. 5postgres sundial-org · DatabasesPostgreSQL database management. Run queries, manage schemas, and monitor performance.DFA7 months ago★ 66844
  6. 6postgres-schema-design Dankosik · DatabasesRelational identity, cardinality, invariant, constraint, lifecycle, and migration depth reference.AAC4 days ago★ 743
  7. 7pgroll PostgreSQL Zero-Downtime Schema Migration agentskillexchange · Databasespgroll is an open-source CLI tool by Xata that performs zero-downtime, reversible schema migrations for PostgreSQL. It uses the expand-and-contract pattern to keep old and new schema versions running simultaneously with automatic backfilling and instant rollback.AAByesterday★ 5442
  8. 8PostgreSQL Query Plan Analyzer agentskillexchange · DatabasesExecutes EXPLAIN ANALYZE BUFFERS on slow PostgreSQL queries and parses the plan tree for sequential scans, nested loop joins, and sort spills. Integrates with pg_stat_statements for identifying top resource-consuming queries.AAByesterday★ 5442
  9. 9PostgreSQL Query Analyzer agentskillexchange · DatabasesAnalyzes PostgreSQL slow queries using EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON) output and pg_stat_statements views. Identifies missing indexes via pg_stat_user_tables sequential scan counters and suggests index creation with HypoPG extension.AAByesterday★ 5442
  10. 10PostgreSQL Slow Query Analyzer agentskillexchange · DatabasesQueries pg_stat_statements and pg_stat_activity to surface the top slow queries by total execution time, mean latency, and call frequency. Runs EXPLAIN ANALYZE on worst offenders and suggests index additions, rewrite candidates, or vacuum triggers. Works on RDS and Supabase.AAByesterday★ 5440
  11. 11neon-postgres omer-metin · DatabasesExpert patterns for Neon serverless Postgres, branching, connection pooling, and Prisma/Drizzle integrationUse when "neon database, serverless postgres, database branching, neon postgres, postgres serverless, connection pooling, preview environments, database per preview, neon, postgres, serverless, database, branching, prisma, drizzle, connection-pooling" mentioned.DAB9 months ago★ 16840
  12. 12postgresql-query bidewio · DatabasesExecute SQL queries, manage schemas, and perform data operations using PostgreSQL at {{POSTGRES_HOST}}:{{POSTGRES_PORT}}.BFB2 months ago★ 5839
  13. 13postgresql skeletorflet · DatabasesPostgreSQL — advanced SQL, indexing, extensions, partitioning, EXPLAIN ANALYZE.CAC5 months ago★ 4837
  14. 14oracle-to-postgresql-playbook aws-samples · DatabasesKnowledge base for converting Oracle to PostgreSQL (Aurora PostgreSQL compatible), distilled from the AWS Oracle-to-Aurora-PostgreSQL Migration Playbook into granular per-topic references. Use when converting or assessing a specific Oracle construct — datatypes, SQL/PL-SQL (MERGE, sequences, cursors, packages, dynamic SQL, DBMS_* packages), tables/indexes, partitioning, triggers, views, materialized views, JSON/XML, database links, security/roles, HA/DR, configuration, performance tuning, or monitoring — and you need the PostgreSQL equivalent, the conversion difficulty, and the workaround. The db-migration-inception and db-migration-construction skills consult this to classify and convert objects. This is a reference index/router: load the specific topic file under references/ rather than reading everything.AAC22 days ago★ 435
  15. 15neon-postgres claudiodearaujo · DatabasesExpert patterns for Neon serverless Postgres, branching, connection pooling, and Prisma/Drizzle integration Use when: neon database, serverless postgres, database branching, neon postgres, postgres serverless.AFC5 days ago★ 335
  16. 16postgresql gabrielmoreira · DatabasesPostgreSQL query optimization, indexing, full-text search, JSONB, and advanced features.AACyesterday★ 1932
  17. 17backup-postgres Kvmyk · DatabasesCodzienny backup bazy PostgreSQL (pg_dump) z rotacja 7 dni, wpisem [backup] w DIRECTORY i pilnowaniem swiezosci.AAC4 days ago★ 130
  18. 18postgres-sql ivanshamaev · DatabasesWrite PostgreSQL DDL and analytical SQL with explicit types, maintainable naming, and raw-to-analytics conventions.CFC4 months ago★ 529
  19. 19prisma-postgres devDivyansh28 · DatabasesDeprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.AFC6 days ago★ 128
  20. 20postgres-schema-guardian JulioAlejandro-GitHub · DatabasesProteger esquema PostgreSQL actual integridad relacional y persistencia científica sin preflight de versiones.AFC2 days ago★ 128
  21. 21postgresql-expert arvnfly · DatabasesPostgreSQL performance optimization, EXPLAIN ANALYZE, vacuuming strategies, connection pooling, and JSONB indexing.AAC2 days ago★ 126
  22. 22postgres-analyze-bicep-arm javakishore-veleti · DatabasesAnalyze Bicep or ARM templates for Azure Database for PostgreSQL Flexible Server, including server, databases, networking, identity, HA, backup, CMK, parameters, and monitoring. Use for template review, deployment failures, or drift.AAC27 days ago★ 026
  23. 23postgres-analyze-networking javakishore-veleti · DatabasesAnalyze Azure Database for PostgreSQL Flexible Server networking including private access/VNet integration, private endpoints where applicable, public access/firewall, DNS, routing, and application connectivity. Use for connection timeouts or network isolation reviews.AAC27 days ago★ 026
  24. 24postgres-db-helper Festus12lo · DatabasesUse this skill when the user asks to connect, configure, or query a PostgreSQL database for the backend.AAC24 days ago★ 026
  25. 25postgres-mcp-onboarding hongyime · DatabasesEnable PostgreSQL MCP correctly across providers. USE FOR: local Docker Postgres, Supabase, Railway, Neon, managed Postgres URLs. DO NOT USE FOR: SQL query optimization itself.AAC2 days ago★ 026

Questions

Is there an official PostgreSQL MCP server?

Check the publisher on each listing: servers published by PostgreSQL itself are the official ones. The most used PostgreSQL server here is Postgres MCP by Passionfroot.

How do I connect PostgreSQL to Claude?

Pick a server below, open its page and copy the install command for Claude Code, or the config block for Claude Desktop. Most PostgreSQL servers need an API key or token from your PostgreSQL account.