PostgreSQL for Claude Code

1,517 mods tagged PostgreSQL that install into Claude Code, measured the same four ways as everything else here: what each costs in tokens on every session, what a security scan found and why, whether it is the original, and what changed.

Also for Claude Code: anthropic · Git and workflow · Python · Web3 and blockchain · React · TypeScript · Go · docker · Rust · Localization · nextjs · bun

mcpg

49

devopam/MCPg

MCP server Claude CodeCodexCursor +2

A production-grade PostgreSQL Model Context Protocol (MCP) server. Runs locally from the mcpg Python package.

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

postgres-mcp-server

50

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 25d ago A tokens not measured original MIT

datris

51

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 12 2d ago A tokens not measured AGPL-3.0

squish

52

michielhdoteth/squish-memory

Skill Claude CodeCodex

ALWAYS use this skill when working with agents, memory, context, persistence, or AI agent state. Use when the user mentions: 'the agent forgot', 'save this', 'remember that', 'context is lost', 'memory', 'MCP server', 'agent memory', 'persistent memory', 'session context', 'project context', 'recall', 'remember'…

not rated 12 21d ago A SkillSpector: warn 157 tokens original

schemabrain

53

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 12 2mo ago A tokens not measured original Apache-2.0

dublyo/saas-skills

Skill Claude CodeCodex

Build complete Dublyobase backends through remote HTTP MCP, admin REST APIs, and public project APIs. Use when an AI agent needs to connect to a live Dublyobase instance, create projects, design Postgres collections and fields, configure rules, seed records, create app users, upload files, configure…

not rated 12 3mo ago A 115 tokens original MIT

dba

55

u1pns/skill-dba

Skill Claude CodeCodex

Use when working with relational databases (MySQL, PostgreSQL, SQL Server, Oracle, SQLite): auditing SQL/schemas, designing or normalizing schemas, optimizing slow queries and SARGability, data integrity (constraints/triggers), zero-downtime migrations and schema refactors, or routine DB maintenance and CLI ops.…

not rated 12 +1 4mo ago A 101 tokens

supabase-security

56

Rodriguespn/improve-skills-workshop-aie-europe

Skill Claude CodeCodex

Use when writing any SQL for Supabase — creating views, tables, functions, or RLS policies. Supabase has several security behaviors that differ from vanilla Postgres in ways that silently create vulnerabilities. This skill makes sure those traps are caught before they ship. Trigger whenever the user is working with…

not rated 11 6mo ago A 76 tokens

paradedb-skill

57

paradedb/agent-skills

Skill Claude CodeCodex

Expert guidance on ParadeDB text and vector search, hybrid search (BM25 + semantic), filters, facets, joins, and aggregations in Postgres. Use when writing ParadeDB queries, creating ParadeDB indexes, indexing vectors, configuring tokenizers, or implementing Elasticsearch-quality search in Postgres.

not rated 11 changed 15d ago A 65 tokens original MIT

postgres-mcp-server

58

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 11 +1 7mo ago A tokens not measured original MIT

ShayIsso/trajectory-auditor

Skill Claude CodeCodex

Audit and ensure PostgreSQL schema migrations contain appropriate table-level privilege grants and Row-Level Security (RLS) policies for roles such as authenticated, anon, or servicerole. Use this when introducing new database tables or debugging silent read/write failures.

not rated 10 1mo ago A 55 tokens

postgram

60

ivo-toby/postgram

Skill Claude CodeCodex

Use the pgm CLI (Postgram) to persist, search, and link knowledge across sessions. Invoke whenever the user wants to remember something across conversations, recall prior context, search their personal knowledge base, track tasks, or explore relationships between stored entities. Assumes pgm is on PATH, PGMAPIURL is…

not rated 10 changed 8d ago A 112 tokens AGPL-3.0

local-knowledge-rag

61

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 13d ago A tokens not measured original MIT

dbeast

62

snss10/DBeast

Plugin Claude Code

Bundles 1 MCP server

Expert PostgreSQL database analysis MCP server. 21 tools for schema discovery, query execution & optimization, health/maintenance/replication/security audits, data quality checks, partition analysis, audit logging, and safe write-operation impact previews.

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

postgres-connector

63

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 2mo ago A tokens not measured original MIT

mcp-sql

64

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

postgres-mcp

65

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 9 7d ago A tokens not measured original MIT

fusebase

66

ryan-haver/fusebase-mcp

Plugin Claude Code

Bundles 16 skills, 2 agents, 1 hook, 1 MCP server · 1,245 tokens together

Unofficial, community-maintained MCP server for FuseBase: workspaces, pages (Y.js live content), databases and dashboards, client portals, automations, and Gate PostgreSQL stores. Not affiliated with FuseBase.

not rated 8 changed 27d ago A tokens not measured original MIT

myco-brain

67

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 7 7d ago A tokens not measured original Apache-2.0

sqlike

69

orifisher2/sqlike

Skill Claude CodeCodex

Check SQL with sqlike — deterministic static analysis (validity, anti-patterns, rewrites, index advice) and query-equivalence verification. Use whenever you write, edit, review, or rewrite a SQL query, or need to prove two queries return the same results. Requires the sqlike MCP server (@sqlike/mcp) or the sqlike CLI…

not rated 7 changed 12d ago A 81 tokens original Apache-2.0

estuary-captures

70

estuary/agent-skills

Plugin Claude Code

Bundles 8 skills · 612 tokens together

Capture skills for PostgreSQL, MySQL, MongoDB, SQL Server, Alpaca, HubSpot, HTTP webhooks, and 148+ other connectors.

not rated 7 today A tokens not measured original Apache-2.0

db-connect-mcp

71

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 6 2d ago A tokens not measured original MIT

postgres-mcp

72

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 4mo 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: