PostgreSQL for Claude Code

1,253 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 · Web3 and blockchain · React · Python · TypeScript · docker · Localization · Go · Rust · nextjs · bun

explorer

01

supabase/supabase

Skill Claude Code ✓ vendor

Build and modify Studio Explorer surfaces, including notebooks, chats, SQL snippets, query cells, and their shared toolbar patterns.

not rated 109k +189 changed 5d ago A Snyk: pass 27 tokens original Apache-2.0

postgresql

02

2025Emma/vibe-coding-cn

Skill Claude CodeCodex

Skill "postgresql" from 2025Emma/vibe-coding-cn, covering postgresql skill, when to use this skill, quick reference, common patterns and example code patterns.

not rated 23k +45 8mo ago A 0 tokens original MIT

ARCHITECTURE

03

teableio/teable

Command Claude Code

Declaration: If the folder I belong to changes, please update me, especially core domain concepts. Add examples or example file paths for abstract concepts when needed.

not rated 22k +2 changed 3d ago A 0 tokens

butterbase

04

butterbase-ai/butterbase

Skill Claude CodeCodex

AI-native, open-source backend-as-a-service with a built-in Model Context Protocol server. Postgres, auth, storage, functions, AI gateway.

not rated 3.5k +95 today A 34 tokens original Apache-2.0

db

05

ding113/claude-code-hub

MCP server Claude CodeCodexCursor +2

One of 3 in .mcp.json

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

not rated 3.4k +8 3d ago A tokens not measured original MIT

supabase

06

supabase/agent-skills

Skill Claude CodeCodex ✓ vendor

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies…

not rated 2.6k +12 26d ago A Socket: passSnyk: warn 185 tokens original MIT

BidingCC/BuildingAI

Skill Claude CodeCodex

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

not rated 1.9k +4 17d ago A 31 tokens original Apache-2.0

timescale/pg-aiguide

Skill Claude CodeCodex

Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…

not rated 1.8k +5 changed 2d ago A 220 tokens original Apache-2.0

pgbot

09

pgrundev/pgbot

Plugin Claude Code

Bundles 1 skill, 3 commands, 1 MCP server · 87 tokens together

Read-only, deterministic PostgreSQL diagnostics as an agent tool: health, slow queries, unused indexes, bloat, vacuum, config — findings-first, never writes.

not rated 986 +83 today A tokens not measured

tigerfs

10

timescale/tigerfs

Skill Claude CodeCodex

How to discover, read, write, and search data in a TigerFS-mounted PostgreSQL database using file tools.

not rated 695 +4 1mo ago A 27 tokens original MIT

postgres

11

planetscale/database-skills

Skill Claude CodeCodex ✓ vendor

PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.

not rated 660 +18 9d ago A Socket: passSnyk: pass 26 tokens original MIT

postgresql

12

aiskillstore/marketplace

Skill Claude CodeCodex

PostgreSQL database documentation - SQL queries, database design, administration, performance tuning, and advanced features. Use when working with PostgreSQL databases, writing SQL, or managing database systems.

not rated 417 today A 40 tokens

postgres

13

syahiidkamil/Software-Engineer-AI-Agent-Atlas

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

mcp-supabase

14

Heyvhuang/ship-faster

Skill Claude Code

Execute database operations via Supabase MCP (query/write/migration/logs/type generation). Triggers: query/statistics/export/insert/update/delete/fix/backfill/migrate/logs/alerts/type generation. Does not trigger for: pure architecture discussion or code planning. Write operations require confirmation; UPDATE/DELETE…

not rated 339 22d ago A 72 tokens original MIT

neon

15

xai-org/plugin-marketplace

Skill Claude CodeCodex ✓ vendor

Overview of the Neon platform for apps and agents, spanning Postgres, Auth, Data API, and the new services: Object Storage, Compute Functions, and AI Gateway. Use whenever "Neon" is mentioned for an overview of how to work with Neon and how to get started. Otherwise, the individual capabilities are the triggers…

not rated 223 +6 yesterday A 138 tokens

postgres-mcp

16

pgEdge/pgedge-postgres-mcp

MCP server Claude CodeCodexCursor +2

MCP server "postgres-mcp" as configured in pgEdge/pgedge-postgres-mcp. Runs in Docker (ghcr.io/pgedge/postgres-mcp:latest).

not rated 222 +1 3d ago A tokens not measured PostgreSQL

qwery-agent

17

Guepard-Corp/gfs

Agent Claude Code

Expert database query agent with schema awareness. Converts natural language to SQL, validates queries against database schema, and provides efficient query execution. Supports schema versioning and time-travel queries. Uses GFS branching for safe destructive operations.

not rated 156 3d ago A 49 tokens original MIT

pgai

18

postgres-ai/postgresai

Plugin Claude Code

Bundles 2 commands · 0 tokens together

Monitoring, health checks, and root cause analysis — built for humans and AI agents.

not rated 132 9d ago A tokens not measured original Apache-2.0

diesel-guard

19

ayarotsky/diesel-guard

Skill Claude CodeCodex needs its repo

Lints Diesel and SQLx Postgres migrations for unsafe schema changes that lock tables or cause downtime, and authors custom Rhai checks. Use when reviewing, writing, or fixing SQL migrations, when diesel-guard reports a violation, when configuring diesel-guard.toml, or when the user mentions migration safety, table…

not rated 120 13d ago A 77 tokens original MIT

srtd-dev

20

t1mmen/srtd

Skill Claude Code needs its repo

Expert knowledge for developing the SRTD codebase itself. Use when implementing features, fixing bugs, understanding architecture, or writing tests for SRTD internals. NOT for end users of srtd CLI.

not rated 105 yesterday A 46 tokens original MIT

neon

22

neondatabase/agent-skills

Plugin Claude Code ✓ vendor

Bundles 7 skills · 1,268 tokens together

Manage your Neon backend with the Neon agent skills and the Neon MCP Server: Lakebase Postgres, branching, Object Storage, Functions, and the AI Gateway.

not rated 85 changed 3d ago A tokens not measured original Apache-2.0

mcp-server-db

23

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 82 3d ago A Socket: warn tokens not measured original MIT

supabase

24

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 5d ago A tokens not measured 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: