PostgreSQL for Cursor

418 mods tagged PostgreSQL that install into Cursor, 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 Cursor: Git and workflow · Web3 and blockchain · anthropic · TypeScript · React · Python · nextjs · fastapi · docker · Go · blockchain · Rust

agentic-loop

01

prest/prest

Cursor rule Cursor needs its repo

Follow this loop on every development task in this repository. For full conventions, architecture, and examples, see @.github/copilot-instructions.md (source of truth). This rule distills the workflow; do not duplicate that document.

not rated 4.6k 3d ago A 2,025 tokens original MIT

db

02

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

api

03

sullyo/webapp-starter

Cursor rule Cursor

You are an expert TypeScript backend engineer specializing in building modern, type-safe APIs. Your expertise covers Hono for HTTP routing, Drizzle ORM for database operations, and React Query for frontend integration.

not rated 869 1y ago A 0 tokens original MIT

postgres

04

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

postgres-mcp

05

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 223 +1 3d ago A tokens not measured PostgreSQL

atlas-hcl

06

hiromaily/go-crypto-wallet

Cursor rule Cursor

Rules for modifying HCL (HashiCorp Configuration Language) files (.hcl) in go-crypto-wallet.

not rated 127 4mo ago A 0 tokens original MIT

neon-typescript-sdk

07

neondatabase/ai-rules

Cursor rule Cursor ✓ vendor

Use these rules to manage your Neon projects, branches, databases, and other resources programmatically using the Neon TypeScript SDK.

not rated 86 3mo ago A 0 tokens original MIT archived

mcp-server-db

08

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

09

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

mcp

10

prisma/mcp

MCP server Claude CodeCodexCursor +2 ✓ vendor

MCP server for managing Prisma Postgres. Remote server at mcp.prisma.io.

not rated 47 11mo ago A tokens not measured

dryrun

11

boringSQL/dryrun

MCP server Claude CodeCodexCursor +2

PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials. Runs locally from the @boringsql/dryrun npm package.

not rated 35 2d ago A tokens not measured original BSD-2-Clause

postgres

12

agentmc15/polymarket-trader

MCP server Claude CodeCodexCursor +2

One of 4 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. Needs 1 environment variable to run.

not rated 26 yesterday A tokens not measured

mcp

13

Aiven-Open/mcp-aiven

MCP server Claude CodeCodexCursor +2

Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. Runs locally from the mcp-aiven npm package. Needs 4 environment variables to run.

not rated 26 8d ago A tokens not measured original Apache-2.0

negocio-ro

14

caio-moliveira/workshop-agent-harness

MCP server Claude CodeCodexCursor +2

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

not rated 22 +1 2mo ago A tokens not measured

postgres

15

devfullcycle/mba-ia-greenfield-project

MCP server Claude CodeCodexCursor +2

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

postgres-mcp-server

16

neverinfamous/postgres-mcp

MCP server Claude CodeCodexCursor +2

MCP server "postgres-mcp-server" as configured in neverinfamous/postgres-mcp. Runs in Docker (docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0).

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

datris

17

datris/datris-platform-oss

MCP server Claude CodeCodexCursor +2

MCP server for AI-driven data pipeline operations — ingest, validate, transform, analyze, and query data. Tools covering ETL, AI data quality, vector search, PostgreSQL, MongoDB, Snowflake, Databricks, Kafka, S3/MinIO, HashiCorp Vault, Qdrant, Weaviate, Milvus, Chroma, pgvector. Runs locally from the datris-mcp-server…

not rated 12 2d ago A tokens not measured AGPL-3.0

schemabrain

18

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

19

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

mcpg

20

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

postgres-connector

21

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

postgres-mcp-server

22

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

migrationpilot

23

mickelsamuel/migrationpilot

Cursor rule Cursor

Check PostgreSQL migrations with MigrationPilot before proposing or applying any DDL.

not rated 7 25d ago A 0 tokens original MIT

myco-brain

24

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

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: