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

db-reader

73

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 24d ago A 69 tokens AGPL-3.0

connectors

74

pretensor-ai/pretensor

Skill Claude CodeCodex

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

not rated 5 1mo ago A 0 tokens original MIT

lead-listing-agent

75

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 6mo ago A 126 tokens original MIT

postgres

76

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

postgres

77

chatman-media/lead-engine

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

memx

78

pgalilea/memx

Skill Claude CodeCodex

Skill "memx" from pgalilea/memx, covering memx, general guidelines, sqliteengine, postgresengine and mongodbengine.

not rated 5 19d ago A 33 tokens original MIT

steampipe-mcp

80

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

backend-setup-stack

81

WESTsyre21/setup-backend-stack

Skill Claude CodeCodex

Bootstraps a local Node.js backend development stack with Docker, PostgreSQL, and an ORM (Prisma or Sequelize). Use this skill whenever the user wants to: initialize a new backend project, set up a Dockerized database locally, wire up an ORM with automated migrations, scaffold an Express server with a health endpoint…

not rated 4 4mo ago A 155 tokens original MIT

age_mcp_server

82

rioriost/age_mcp_server

MCP server Claude CodeCodexCursor +2

Apache AGE MCP Server. Runs locally from the age_mcp_server Python package.

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

agemcp

83

veloper/agemcp

MCP server Claude CodeCodexCursor +2

PostgreSQL MCP. Runs locally from the agemcp Python package.

not rated 4 1y ago A tokens not measured original BSD-3-Clause

pg-mcp

84

andre-c-andersen/pg-mcp

MCP server Claude CodeCodexCursor +2

A lightweight, read-only-by-default PostgreSQL MCP server for data analysts and ETL developers. Runs locally from the pg-mcp Python package.

not rated 4 12mo ago A tokens not measured original MIT

postgres-mcp

85

az-coder-123/postgres-mcp

MCP server Claude CodeCodexCursor +2

A blazing fast, type-safe MCP Server for AI Agents to interact with multiple PostgreSQL databases. Runs locally from the postgres-mcp npm package.

not rated 4 7mo ago A tokens not measured

django-mcp-sql

87

thepapermen/django-mcp-sql

MCP server Claude CodeCodexCursor +2

Read-only PostgreSQL surface for an LLM agent over the MCP protocol, with defense-in-depth at parser, executor, DB-role, and transport layers. Runs locally from the django-mcp-sql Python package.

not rated 4 7d ago A tokens not measured original MIT

quarry

88

yiminspace/quarry

Skill Claude CodeCodex

Query PostgreSQL, MySQL, Redis and Neptune with Quarry (qy), compare data across environments, maintain reusable queries, and manage connections or the database workbench. Use for database evidence or explicit Quarry tasks, not general database design discussions.

not rated 4 3d ago A 51 tokens original MIT

pgmi

89

vvka-141/pgmi

Skill Claude CodeCodex

Use when working in a pgmi project — a directory containing deploy.sql and/or pgmi.yaml. pgmi is a PostgreSQL-native deployment driver that loads SQL files into pgtemp views and runs deploy.sql; deployment behavior lives in SQL, not CLI flags. Covers the execution model, basic-vs-advanced templates, transactional…

not rated 4 27d ago A 100 tokens

postgres

90

skyengpro/iviss

MCP server Claude CodeCodexCursor +2

One of 5 in .mcp.json

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

not rated 4 1mo ago A tokens not measured

iamvirul/wso2-docs-mcp-server

MCP server Claude CodeCodexCursor +2

Semantic search over WSO2 docs (APIM, MI, Choreo, Ballerina) via RAG and pgvector. Runs locally from the wso2-docs-mcp-server npm package. Needs 5 environment variables to run.

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

virtual-fs

92

lu-zhengda/mcp-virtual-fs

MCP server Claude CodeCodexCursor +2

PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS. Runs locally from the mcp-virtual-fs npm package. Needs 4 environment variables to run.

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

prisma

94

prisma/prisma-plugin

Plugin Claude Code ✓ vendor

Bundles 10 skills, 1 MCP server · 808 tokens together

Curated Prisma skills for ORM, Prisma Client, Prisma Postgres, Prisma Compute deployments, driver adapters, migrations, upgrades, and database workflows, plus official Prisma MCP integration.

not rated 3 14d ago A tokens not measured

database-mcp

96

hadi21k/database-mcp

MCP server Claude CodeCodexCursor +2

Model Context Protocol server for multi-database access (PostgreSQL, MySQL, SQLite, Snowflake) with comprehensive introspection and analysis tools. Runs locally from the database-mcp npm package.

not rated 3 3mo 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: