PostgreSQL for Claude Code

1,259 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 · Go · Localization · Rust · nextjs · bun

postgres-mcp-server

145

abdulsammad-lgtm/postgres-mcp-server

MCP server Claude CodeCodexCursor +2

A Model Context Protocol server for PostgreSQL databases with SSL support. Runs locally from the postgres-mcp-server Python package.

not rated 0 1mo ago A tokens not measured

postgres-mcp-server

146

Amankhan1009/postgres-mcp-server

MCP server Claude CodeCodexCursor +2

A Model Context Protocol server for PostgreSQL databases with SSL support. Runs locally from the postgres-mcp-server Python package.

not rated 0 1mo ago A tokens not measured

mcp-postgres-guard

147

vladshykanov/mcp-postgres-guard

MCP server Claude CodeCodexCursor +2

MCP server "mcp-postgres-guard" as configured in vladshykanov/mcp-postgres-guard. Runs locally from the mcp-postgres-guard npm package.

not rated 0 1mo ago A tokens not measured

pg-mcp-bridge

148

Rabin0404/pg-mcp-server

MCP server Claude CodeCodexCursor +2

MCP stdio bridge for Cursor and Claude Code to a remote PHP PostgreSQL HTTP tunnel. Runs locally from the pg-mcp-bridge npm package.

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

mcp-server-db

149

MadlyFriese/pg-readonly-mcp

MCP server Claude CodeCodexCursor +2

MCP server "mcp-server-db" as configured in MadlyFriese/pg-readonly-mcp. Runs locally from the mcp-server-db Python package.

not rated 0 1mo ago A tokens not measured

pgguard-mcp

150

Azzaraell/pgguard-mcp

MCP server Claude CodeCodexCursor +2

Read-only MCP server for Postgres. A deny-by-default policy file decides which tables and columns an AI agent can see; every query runs inside a BEGIN READ ONLY transaction with a statement timeout, and every decision lands in an audit log. Runs locally from the pgguard-mcp npm package.

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

postgres

151

nikhilpatil79/mcp

MCP server Claude CodeCodexCursor +2

One of 4 in .mcp.json

Model Context Protocol SDK. Runs locally from the mcp Python package.

not rated 0 19d ago A tokens not measured original MIT

dataclawe-mcp

152

DataClawe/dcl-spec

MCP server Claude CodeCodexCursor +2

AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL. Remote server at mcp.dataclawe.com.

not rated 0 5mo ago A tokens not measured

veto

153

metaweardigital/veto-mcp

MCP server Claude CodeCodexCursor +2

Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it. Remote server at vetosql.com.

not rated 0 2mo ago A tokens not measured

ainative-postgres-mcp

154

AINative-Studio/ainative-postgres-mcp

MCP server Claude CodeCodexCursor +2

Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres. Runs locally from the ainative-postgres-mcp npm package.

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

mcp

156

InstaNode-dev/mcp

MCP server Claude CodeCodexCursor +2

Provision Postgres databases + webhooks from AI coding agents in one HTTP call. Runs locally from the @instanode/mcp npm package. Needs 2 environment variables to run.

not rated 0 29d ago A tokens not measured original MIT

mcp-db-agent

157

Jarvis-27/mcp-db-agent

MCP server Claude CodeCodexCursor +2

MCP server "mcp-db-agent" as configured in Jarvis-27/mcp-db-agent. Launched with uv --directory /absolute/path/to/mcp-db-agent run src/server.py. Needs 8 environment variables to run.

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

nexql-mcp

158

NexQL-OSS/mcp

MCP server Claude CodeCodexCursor +2

Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere. Runs locally from the nexql-mcp npm package. Needs 2 environment variables to run.

not rated 0 5d ago A tokens not measured GPL-3.0

postgres-scout-mcp

159

bluwork/postgres-scout-mcp

MCP server Claude CodeCodexCursor +2

Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality. Runs locally from the postgres-scout-mcp npm package.

not rated 0 6mo ago A tokens not measured original Apache-2.0

locksmith

160

cxk280/locksmith

MCP server Claude CodeCodexCursor +2

Lints PostgreSQL migrations for dangerous locking operations and suggests safe rewrites. Runs locally from the locksmith-mcp npm package.

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

mcp-psycopg2

161

daedalus/mcp-psycopg2

Skill Claude CodeCodex

MCP server exposing PostgreSQL database functionality via psycopg2.

not rated 0 4mo ago A 0 tokens original MIT

sw-postgres-mcp

162

jpka/sw-postgres-mcp

MCP server Claude CodeCodexCursor +2

Safe-write Postgres MCP server with preview-before-execute writes and rollback safety. Runs locally from the sw-postgres-mcp npm package. Needs 2 environment variables to run.

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

warehouse-mcp

163

kalehdoo/warehouse-mcp

MCP server Claude CodeCodexCursor +2

Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck. Runs locally from the warehouse-mcp npm package. Needs 19 environment variables to run.

not rated 0 2mo ago A tokens not measured original Apache-2.0

pg-cve-mcp

164

meob/PG_CVE-MCP

MCP server Claude CodeCodexCursor +2

PostgreSQL CVE & Release Intelligence MCP Server. Runs locally from the pg-cve-mcp Python package. Needs 2 environment variables to run.

not rated 0 21d ago A tokens not measured original Apache-2.0

pgmcp

165

pascalallen/pgmcp

MCP server Claude CodeCodexCursor +2

MCP server "pgmcp" as configured in pascalallen/pgmcp. Runs in Docker (ghcr.io/pascalallen/pgmcp:1.1.0). Needs 1 environment variable to run.

not rated 0 12d ago A tokens not measured original MIT

db-gateway

166

sijunkim/db-gateway

MCP server Claude CodeCodexCursor +2

145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more. Runs locally from the db-gateway npm package. Needs 12 environment variables to run.

not rated 0 29d ago A tokens not measured original MIT

mcp

167

sota-deploy/mcp-server

MCP server Claude CodeCodexCursor +2

One of 2 in server.json

EU-native PaaS for AI agents — deploy web apps with one sentence, managed Postgres, GDPR by default. Runs locally from the @sota-io/mcp npm package.

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

postgres-mcp

168

sparta2025/postgres-mcp

MCP server Claude CodeCodexCursor +2

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

not rated 0 17d 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: