PostgreSQL for Claude Code

1,248 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

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 6d ago A 55 tokens

polygres

50

Evokoa/polygres-skills

Plugin Claude Code

Bundles 5 skills, 1 MCP server · 317 tokens together

Use Polygres MCP, sync PostgreSQL sources, set up data pipelines, build retrieval, and troubleshoot through supported dashboard, CLI, SDK, and Runtime API workflows.

not rated 10 changed yesterday A tokens not measured original Apache-2.0

dba

51

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 10 +1 2mo ago A 101 tokens

schemabrain

52

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

local-knowledge-rag

53

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

paradedb-skill

54

paradedb/agent-skills

Skill Claude CodeCodex

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

not rated 9 13d ago A 63 tokens original MIT

mcpg

55

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

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 9 2mo ago A 115 tokens original MIT

dbeast

57

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

postgres-connector

58

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

setup

59

timurgaleev/memex

Skill Claude CodeCodex

Set up memex with provisioned Postgres (RDS + pgvector), AGENTS.md injection, first import.

not rated 8 5d ago A 25 tokens original MIT

postgres-mcp-server

60

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

myco-brain

61

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

mcp-sql

63

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

estuary-captures

64

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

sqlike

65

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 6 yesterday A 81 tokens original Apache-2.0

db-connect-mcp

66

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

postgres-mcp

67

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

db-reader

68

kkrlstrm/agent-guard

Agent Claude Code

Read-only Postgres/database analyst. Answers questions by running SELECT-style reads and returning clean summaries — never raw dumps. Writes are hard-blocked by a PreToolUse guard hook. Use proactively whenever a task needs to query data and only needs to READ it. Do NOT use when the task must modify data or run a…

not rated 5 20d ago A 69 tokens AGPL-3.0

connectors

69

pretensor-ai/pretensor

Skill Claude CodeCodex

PostgreSQL connector and inspect() live in this package; graph product routing: SKILL.md.

not rated 5 24d ago A 0 tokens original MIT

lead-listing-agent

70

Xcaffrey13/lead-listing-agent

Skill Claude CodeCodex

Upload CSV lead lists (AI Ark, Prospeo, Store Leads) to Neon Postgres, clean company names, enrich sales reps via AI Ark API, scrape company websites, AI-powered website analysis (competitors, ICP, descriptions, pricing, categorization) via Workers AI, custom enrichment, ICP scoring. Triggers on: upload leads, lead…

not rated 5 4mo ago A 126 tokens original MIT

postgres

71

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

steampipe-mcp

72

andrew-kurin/steampipe-mcp-server

MCP server Claude CodeCodexCursor +2

A Python MCP server interacting with PostgreSQL, intended for use with Steampipe. Runs locally from the steampipe-mcp-server Python package.

not rated 5 1y 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: