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

mcp-server-db

25

Nam088/mcp-db-server

MCP server Claude CodeCodexCursor +2

MCP server exposing Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP as tools, with lazy connection management, retry, circuit breaking, per-connection read-only mode, and optional database drivers. Runs locally from the mcp-server-db npm package.

not rated 81 1mo ago A Socket: warn tokens not measured original MIT

supabase

26

ginoleeswan/hero

MCP server Claude CodeCodexCursor +2

Supabase's hosted MCP server: lets the agent manage projects, tables, SQL and migrations. Remote server at mcp.supabase.com.

not rated 60 yesterday A tokens not measured original MIT

PostgreSQL Database

27

delphicleancode/delphi-spec-kit

Skill Claude Code

Development patterns with PostgreSQL via FireDAC — connection, PL/pgSQL, sequences, JSONB, UPSERT, full-text search, migrations.

not rated 56 7mo ago A 34 tokens original MIT

mcp

29

prisma/mcp

MCP server Claude CodeCodexCursor +2 ✓ vendor

MCP server for managing Prisma Postgres. Remote server at mcp.prisma.io.

not rated 49 1y ago A tokens not measured archived

insforge

31

InsForge/insforge-skills

Plugin Claude Code

Bundles 4 skills · 444 tokens together

The backend platform for AI-native developers. A Postgres-based backend with auth, storage, compute, hosting, and AI gateway — built for coding agents. This plugin gives agents the full InsForge surface: database CRUD with RLS, authentication, storage, edge functions, AI, realtime, Stripe payments, and deployments.…

not rated 43 +2 1mo ago A tokens not measured original Apache-2.0

postgresql-bi-agent

33

digoal/postgres_skill

Skill Claude CodeCodex

Business intelligence analysis agent for PostgreSQL that discovers database metadata, generates SQL queries for revenue/customer/product metrics, and produces comprehensive analytical reports.

not rated 39 8mo ago A 31 tokens GPL-3.0

supabase

34

supabase-community/supabase-plugin

Plugin Claude Code

Bundles 2 skills, 1 MCP server · 367 tokens together

Official Supabase plugin for Claude Code with bundled Supabase skills and MCP access for project management, database work, auth, storage, and Postgres best practices.

not rated 37 +1 changed 6d ago A tokens not measured

dryrun

35

boringSQL/dryrun

MCP server Claude CodeCodexCursor +2

PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials. Runs locally from the @boringsql/dryrun npm package.

not rated 36 11d ago A tokens not measured original BSD-2-Clause

consort

36

databricks-solutions/consort

Plugin Claude Code

Bundles 4 skills, 8 commands, 8 agents, 1 MCP server · 1,343 tokens together

Consort: a Spec-First Branched-Database TDD agent framework for building transactional applications on Lakebase (Databricks' serverless Postgres/OLTP database, not the Delta Lakehouse). A deterministic orchestrator drives role agents through a spec-first design lane and a test-driven build lane whose every cycle runs…

not rated 34 +1 changed yesterday A tokens not measured

pg-bloat-analysis

37

isdaniel/pgtuner_mcp

Skill Claude CodeCodex

Detects and remediates table and index bloat in PostgreSQL using pgstattuple analysis. Identifies fragmentation, dead tuples, and wasted space with prioritized maintenance actions including VACUUM, REINDEX, and pgrepack recommendations.

not rated 30 +1 4mo ago A 53 tokens original Apache-2.0

mcp

38

Aiven-Open/mcp-aiven

MCP server Claude CodeCodexCursor +2

Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. Runs locally from the mcp-aiven npm package. Needs 4 environment variables to run.

not rated 28 yesterday A tokens not measured original Apache-2.0

igmarin/rails-agent-skills

Skill Claude CodeCodex

Use when writing new Rails code for the PostgreSQL + Hotwire + Tailwind stack. Not for general architecture review. Trigger words: stack conventions, PostgreSQL, Hotwire, Tailwind, Turbo, Stimulus.

not rated 28 +1 changed 24d ago A SkillSpector: pass 49 tokens original MIT

postgres

40

agentmc15/polymarket-trader

MCP server Claude CodeCodexCursor +2

One of 4 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 26 1mo ago A tokens not measured

pgroles-operator

41

thepartly/pgroles

Skill Claude CodeCodex

Configure, review, operate, and troubleshoot the pgroles Kubernetes operator and PostgresPolicy resources. Use when editing a PostgresPolicy or Helm release, reviewing or approving plans, diagnosing conflicts or status conditions, forcing reconciliation, or coordinating maintenance with the operator.

not rated 26 changed 4d ago A SkillSpector: warn 56 tokens original MIT

neondatabase/vercel-marketplace-neon

Skill Claude CodeCodex ✓ vendor

Diagnose and fix excessive Postgres egress (network data transfer) in a codebase. Use when a user mentions high database bills, unexpected data transfer costs, network transfer charges, egress spikes, "why is my Neon bill so high", "database costs jumped", SELECT optimization, query overfetching, reduce Neon costs…

not rated 25 2mo ago A 117 tokens copy · 86% Apache-2.0

postgres

43

devfullcycle/mba-ia-greenfield-project

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 25 +1 2mo ago A tokens not measured

negocio-ro

45

caio-moliveira/workshop-agent-harness

MCP server Claude CodeCodexCursor +2

PostgreSQL Tuning and Analysis Tool. Runs locally from the postgres-mcp Python package. Needs 1 environment variable to run.

not rated 23 3mo ago A tokens not measured

honra-io/drizzle-best-practices

Skill Claude CodeCodex

Use this skill whenever the user is working with Drizzle ORM on PostgreSQL. This covers any mention of Drizzle, drizzle-orm, drizzle-kit, drizzle-zod, pgTable, defineRelations, relations(), db.select(), db.query, or insert/update/delete against Postgres. Typical intents to trigger on: Designing or debugging Postgres…

not rated 22 5mo ago A 239 tokens original MIT

backup-restore

47

sawrus/agent-guides

Skill Claude Code

PostgreSQL backup and restore with pgBackRest — full/incremental/WAL, PITR, K8s CronJob scheduling, and restore verification.

not rated 19 today A SkillSpector: pass 36 tokens original MIT

Knuckles-Team/vector-mcp

Skill Claude CodeCodex

Select and connect the right vector-store backend for the vector-mcp MCP server — chromadb, postgres/pgvector, qdrant, couchbase, or mongodb — and supply the correct dbtype/connection parameters that every collection and search call needs. Use when the agent must decide which engine to target, wire up…

not rated 16 +1 today A SkillSpector: pass 113 tokens original MIT

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: