PostgreSQL MCP servers

284 tagged PostgreSQL, measured the same way as everything else here.

Browse within: model-context-protocol 30mcp-server 25postgresql 23LLM 14cursor 12cli 8gemini 5supabase 5

datris

25

datris/datris-platform-oss

MCP server Claude CodeCodexCursor +2

MCP server for AI-driven data pipeline operations — ingest, validate, transform, analyze, and query data. Tools covering ETL, AI data quality, vector search, PostgreSQL, MongoDB, Snowflake, Databricks, Kafka, S3/MinIO, HashiCorp Vault, Qdrant, Weaviate, Milvus, Chroma, pgvector. Runs locally from the datris-mcp-server…

not rated 14 2d ago A tokens not measured original Apache-2.0

schemabrain

26

Arun-kc/schemabrain

MCP server Claude CodeCodexCursor +2

The trust and intelligence layer between AI agents and your database. Runs locally from the schemabrain Python package. Needs 1 environment variable to run.

not rated 13 +1 3mo ago A tokens not measured original Apache-2.0

postgres-mcp-server

27

neverinfamous/postgres-mcp

MCP server Claude CodeCodexCursor +2

MCP server "postgres-mcp-server" as configured in neverinfamous/postgres-mcp. Runs in Docker (docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0).

not rated 12 2mo ago A tokens not measured original MIT

postgres-mcp-server

28

mukul975/postgres-mcp-server

MCP server Claude CodeCodexCursor +2

MCP server "postgres-mcp-server" as configured in mukul975/postgres-mcp-server. Runs postgres_server.py with python. Needs 1 environment variable to run.

not rated 12 8mo ago A tokens not measured original MIT

postgres-mcp

29

YawLabs/postgres-mcp

MCP server Claude CodeCodexCursor +2

PostgreSQL MCP server, read-only by default: query, schema introspection, EXPLAIN plans, index advisor, and DBA health checks. Runs locally from the @yawlabs/postgres-mcp npm package.

not rated 12 +1 4d ago A tokens not measured original MIT

health4ai

30

jefflitt1/health4ai

MCP server Claude CodeCodexCursor +2

Local MCP server that queries Apple Health data from your own Supabase/Postgres for Claude, Cursor, and other MCP clients. Runs locally from the health4ai Python package. Needs 2 environment variables to run.

not rated 12 2d ago A Socket: pass tokens not measured original MIT

postgram

31

ivo-toby/postgram

MCP server Claude CodeCodexCursor +2

MCP server "postgram" as configured in ivo-toby/postgram. Runs in Docker (ghcr.io/ivo-toby/postgram@sha256:29b61fb302bd52862b8eba43305ee2aa4fc072d5f9188652f1fe6324f49d5391). Needs 6 environment variables to run.

not rated 11 19d ago A tokens not measured AGPL-3.0

migrationpilot

32

mickelsamuel/migrationpilot

MCP server Claude CodeCodexCursor +2

112 rules that catch dangerous PostgreSQL migrations, plus a pass/fail gate to call before any DDL. Runs locally from the migrationpilot npm package.

not rated 10 16d ago A tokens not measured original MIT

local-knowledge-rag

33

patakuti/local-knowledge-rag-mcp

MCP server Claude CodeCodexCursor +2

MCP server "local-knowledge-rag" as configured in patakuti/local-knowledge-rag-mcp. Runs /path/to/local-knowledge-rag-mcp/dist/mcp-server.js with node. Needs 3 environment variables to run.

not rated 9 1mo ago A tokens not measured original MIT

postgres

34

dmitryprg-ai/cursor-develop-autorules

MCP server Claude CodeCodexCursor +2

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package. Needs 1 environment variable to run.

not rated 9 8mo ago A tokens not measured

postgres-connector

35

martymarkenson/Postgres-Connector-MCP

MCP server Claude CodeCodexCursor +2

An MCP (Model Context Protocol) server for querying PostgreSQL databases. Execute SQL queries, view table details, and manage database connections through MCP-compatible clients. Runs locally from the postgres-connector npm package.

not rated 9 3mo ago A tokens not measured original MIT

mcp-sql

36

ryudg/mcp-sql

MCP server Claude CodeCodexCursor +2

Microsoft SQL Server(MSSQL, MySQL, PostgreSQL) MCP (Model Context Protocol) Server - A powerful database management tool for AI assistants. Runs locally from the @donggyunryu/mcp-sql npm package.

not rated 9 1y ago A tokens not measured original MIT

myco-brain

37

thegoodguysla/myco-brain

MCP server Claude CodeCodexCursor +2

Self-hosted, source-traceable memory layer and MCP server for AI agents, on your own Postgres. Runs locally from the @mycobrain/mcp-server npm package.

not rated 8 1mo ago A tokens not measured original Apache-2.0

sqlike-mcp

38

orifisher2/sqlike

MCP server Claude CodeCodexCursor +2

Lints SQL and checks rewrites return the same rows. Postgres, MySQL, MariaDB, SQLite, MSSQL, DuckDB. Runs locally from the @sqlike/mcp npm package. Needs 1 environment variable to run.

not rated 8 5d ago A tokens not measured original Apache-2.0

db-connect-mcp

40

yugui923/db-connect-mcp

MCP server Claude CodeCodexCursor +2

MCP server "db-connect-mcp" as configured in yugui923/db-connect-mcp. Runs locally from the python Python package. Needs 1 environment variable to run.

not rated 7 3d ago A tokens not measured original MIT

postgres

41

forest6511/claude-code-recipes-v2

MCP server Claude CodeCodexCursor +2

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB. Runs locally from the @bytebase/dbhub npm package.

not rated 7 7mo ago A tokens not measured original MIT

postgres

42

smicolon/ai-kit

MCP server Claude CodeCodexCursor +2

One of 2 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package.

not rated 7 2mo ago A tokens not measured original MIT

postgres

43

FriendsHL/skillforge

MCP server Claude CodeCodexCursor +2

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package.

not rated 6 2mo ago A tokens not measured

postgres-mcp

44

az-coder-123/postgres-mcp

MCP server Claude CodeCodexCursor +2

A blazing fast, type-safe MCP Server for AI Agents to interact with multiple PostgreSQL databases. Runs locally from the postgres-mcp npm package.

not rated 6 8mo ago A tokens not measured

postgres

45

chatman-media/lead-engine

MCP server Claude CodeCodexCursor +2

One of 2 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package.

not rated 6 2mo ago A tokens not measured

postgres-mcp

46

edelciomolina/postgres-mcp

MCP server Claude CodeCodexCursor +2

PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults. Runs locally from the @edelciomolina/postgres-mcp npm package. Needs 6 environment variables to run.

not rated 5 5mo ago A tokens not measured

postgres

47

thatoe/yay-thal-pya-zet

MCP server Claude CodeCodexCursor +2

One of 3 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package.

not rated 5 5mo ago A tokens not measured

postgresql

48

dy9759/SpecSkillsForClaudeCode

MCP server Claude CodeCodexCursor +2

One of 10 in .mcp.json

Lets the agent inspect a PostgreSQL database schema and run read-only SQL queries against it. Runs locally from the @modelcontextprotocol/server-postgres npm package. Needs 1 environment variable to run.

not rated 5 1y ago A tokens not measured

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: