Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

pg vs Neon Serverless Driver

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, pg is a dependency in 297 (6.1%) and Neon Serverless Driver in 77 (1.6%): pg is 3.9× as common. Among repos created in the last 90 days that use a databases, orms and clients tool, pg is in 29.1% and Neon Serverless Driver in 9.1%, against 30.4% and 7.8% of older ones. 31 projects list both, often a sign of a migration or of a monorepo with several apps.

Databases, ORMs and clients npm Updated Nov 17, 2026

pg6.1%
Neon Serverless Driver1.6%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

pgNeon Serverless Driver
Agent projects that use it29777
Rank in databases, orms and clients#1#9
In new repos with a databases, orms and clients tool (last 90 days)29.1%9.1%
In older repos with one30.4%7.8%
Downloads, last 7 days1M8.1M
GitHub stars13.2K557
Last push to its repoOct 23, 2026Nov 13, 2026
LicenseMITMIT
Funding——
Projects that list both31

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript repospgNeon Serverless Driver
Claude Code2,6176.5%1.5%
GitHub Copilot2,3506.6%1.4%
Cursor1,9906.5%2.3%
Gemini CLI4227.8%1.7%
OpenAI Codex4096.4%1.2%
OpenCode3046.9%2.3%
OpenClaw2417.1%0%
Devin Desktop23110.0%4.3%
Kiro1256.4%0%
Roo-Code907.8%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

pg

PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.

Most often used with it:

dotenv62.3% of its projects
tsx52.2% of its projects
Next.js53.2% of its projects
Zod62.6% of its projects
TypeScript91.6% of its projects

npm install pg

Neon Serverless Driver

PostgreSQL driver optimized for serverless environments from Neon.

Most often used with it:

Lucide React80.5% of its projects
Drizzle ORM67.5% of its projects
dotenv66.2% of its projects
Drizzle Kit64.9% of its projects
Tailwind CSS90.9% of its projects

npm install @neondatabase/serverless

More matchups

Prisma vs Drizzle ORMasyncpg vs psycopgpsycopg2 vs asyncpgasyncpg vs aiosqlite

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.