PostgreSQL for Codex

951 mods tagged PostgreSQL that install into Codex, 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 Codex: anthropic · Git and workflow · Web3 and blockchain · React · Python · TypeScript · openai · android · docker · Localization · bun · Go

mcp-server-db

121

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

122

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

123

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

dataclawe-mcp

124

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

125

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

126

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

127

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

128

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

129

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 4d ago A tokens not measured GPL-3.0

backendgen

130

SiTouhemi/Backendgen

Skill Codex

Generate, validate, regenerate, and test deterministic NestJS, Prisma, and PostgreSQL backends from compact backendcompiler.dev/v1 YAML or JSON specifications. Use when an AI-built frontend needs a backend, when creating CRUD/auth/organizations/reservations/notifications/webhooks/jobs/uploads features, when changing…

not rated 0 1mo ago A 82 tokens original Apache-2.0

postgres-scout-mcp

131

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

132

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

133

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

134

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

135

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

136

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

137

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

138

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

139

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

140

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

postgres-mcp

141

mirenqinggege/postgres-mcp

MCP server Claude CodeCodexCursor +2

PostgreSQL Tuning and Analysis Tool. Runs locally from the postgres-mcp Python package.

not rated 0 4mo ago A tokens not measured copy · 100% MIT

postgres-mcp-server

142

Future-Proof-DS/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 7mo ago A tokens not measured

postgres-mcp-server

143

Teja-sudo/postgres-mcp-server

MCP server Claude CodeCodexCursor +2

A Model Context Protocol (MCP) server for PostgreSQL database management and analysis. Runs locally from the @tejasanik/postgres-mcp-server npm package.

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

database-mcp

144

gong-yeongbin/mcp-database

MCP server Claude CodeCodexCursor +2

MCP server for querying SQL Server, PostgreSQL, and MySQL databases. Runs locally from the @dudqls816/database-mcp npm package.

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