Vercel Postgres
Edge-compatible client library for connecting to Vercel Postgres databases.
SDKs for hosted services npm Apache-2.0
Used in agent projects
24
0.2% of 12,697 public repos built with AI coding agents
Rank in sdks for hosted services
#34 of 44
by use in those projects
Downloads
380K
npm, last 7 days, @vercel/postgres
GitHub stars
599
last push Oct 6, 2026
How Vercel Postgres is used
Vercel Postgres is a dependency in 24 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #34 of 44 in sdks for hosted services. The most used alternative there is Supabase JS. Projects that use it most often also use Next.js (91.7%), Lucide React (79.2%), Zod (79.2%).
Often used with Vercel Postgres
| Next.js | 91.7% of Vercel Postgres projects · 4.1× more than average |
|---|---|
| Lucide React | 79.2% of Vercel Postgres projects · 4.0× more than average |
| Zod | 79.2% of Vercel Postgres projects · 4.7× more than average |
| Radix UI | 75.0% of Vercel Postgres projects · 6.3× more than average |
| Class Variance Authority | 75.0% of Vercel Postgres projects · 5.3× more than average |
| clsx | 75.0% of Vercel Postgres projects · 4.2× more than average |
| dotenv | 75.0% of Vercel Postgres projects · 4.8× more than average |
| Tailwind Merge | 75.0% of Vercel Postgres projects · 4.5× more than average |
By coding agent
| Cursor | 0.4% of projects set up for it |
|---|---|
| Claude Code | 0.2% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Vercel Postgres as a dependency.
Install
| Package | npm install @vercel/postgres |
|---|---|
| Main stacks | Next.js (22), TypeScript / JavaScript (2) |
| Example projects | StreamFi-x/streamfi-frontend, johnlindquist/script-generator |
Alternatives to Vercel Postgres
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Supabase JS npm Isomorphic JavaScript SDK for Supabase backend-as-a-service. |
927 (7.3%) | 30.5M | 4,574 | MIT |
| Supabase SSR npm Supabase client library optimized for server-side rendering frameworks. |
332 (2.6%) | 8.1M | 210 | MIT |
| Resend npm Node.js SDK for Resend email API to send transactional emails. |
235 (1.9%) | 12.9M | 964 | MIT |
| Firebase npm Google's platform SDK for realtime database, auth, hosting and serverless functions. |
224 (1.8%) | 10.6M | 5,149 | Apache-2.0 |
| AWS SDK for JavaScript (S3) npm Official AWS SDK for uploading, downloading and managing S3 objects. |
200 (1.6%) | 49.4M | 3,673 | Apache-2.0 |
| Stripe npm Official SDK for integrating Stripe payments and billing into applications. |
197 (1.6%) | 23.5M | 4,523 | MIT |
| EmailJS npm Official browser SDK for sending emails directly from client-side JavaScript without a backend. |
189 (1.5%) | 122K | 143 | BSD-3-Clause |
| Supabase CLI npm Command-line tool for managing Supabase projects and databases locally. |
131 (1.0%) | 5.6M | 2,430 | MIT |