Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

Neon

A Postgres database that sleeps when idle.

Databases and backendsOfficial MCP server

WebsitePricingGitHub

1. Price

Free tier: 1 GB storage, 100 CU-hours compute/month per project, 100 projects, 5 GB Object Storage, 1M function invocations. As reported on the official pricing page, checked Oct 9, 2026.

neon.com/pricing

Checked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error

What Neon does

Neon gives your site or app a ready Postgres database in the cloud, the kind most web apps use to store users, orders and posts. When nobody uses it, the database pauses after 5 minutes and wakes on the next request, so small projects cost little. The free plan is permanent and needs no card.

  • Neon is one of 29 APIs in the Databases and backends category on AgentGid.
  • It is one of 26 that can be started for free.
  • It ships an official MCP server, like 7 others here.
  • Its official SDK is the 6th most downloaded in the category (8.8M a week).

What people build with it

The database behind your web app

Store users, posts and orders for a site you build with an AI assistant, and query it from server code or serverless functions.

A separate database for each customer

Give every customer, workspace or AI agent its own isolated database, with no fee per database and idle ones costing no compute.

Safe copy of real data for testing

Make an instant copy of your database to try a change or a new feature, without touching the live data.

Side projects that cost little

A site with few visitors only pays while someone uses it, because the database pauses when idle.

Search by meaning in your own data

Store AI text embeddings next to your normal data and find similar articles or products, using the pgvector extension.

Retry queries after a short drop

Make your app quietly retry a query when the connection drops for a moment during maintenance.

Neon popularity

8.8M
SDK downloads a week
337
public agent repos use its SDK
556
GitHub stars, neondatabase/serverless

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

1 GB storage, 100 CU-hours compute/month per project, 100 projects, 5 GB Object Storage, 1M function invocations

Cheapest plan

No monthly plan

Usage price

$0.106 per CU-hr (Launch), $0.222 per CU-hr (Scale); $0.35 per GB-month storage; $0.023 per GB-month Object Storage; $0.60 per 1M invocations

Plans

Added automatically: its SDK was in 111 of the public agent repos we sampled when it was added; a hosted MCP server in the official MCP Registry. Prices read from the official pricing page.

What one action costs

ActionPrice
1 CU-hour of compute (Launch)$0.106
1 CU-hour of compute (Scale)$0.222
1 GB of storage for a month (paid plans)$0.35
A small database that sleeps when idle, per month (Launch, vendor example)$15
Price history
  • A year of the pricing page in the Internet Archive (11 months): the lowest monthly figure went from $1.5 (2025-10) to $15 (2026-11).
  • 2026-03: lowest $/month figure $1.5 → $15; new figures $15/mo, $701/mo; no longer shown $1.5/mo, $5/mo
  • 2026-11: new figures $85/mo

As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. neon.com/pricing

Limits

Free

100 projects, each with 100 CU-hours of compute a month, 1 GB of storage (20 GB in total) and 5 GB of data transfer

Free

Out of compute hours or transfer, the database is suspended until next month; over the storage cap, writes are blocked

Free

Pauses after 5 minutes idle, cannot be turned off; up to 2 CU (8 GB RAM)

All

Up to 10,000 pooled connections per compute

From the official docs. neon.com/pricing.md

Key and access

How it signs in

Database: a connection string with user and password (DATABASE_URL). Management API: an API key sent as Authorization Bearer.

Environment variable
DATABASE_URL (queries); NEON_API_KEY (management API)
Safe in browser code
No, keep it on your server
Card at sign-up

No

Steps only a person can do

  • Sign up for Neon, create a project in a region close to your app, and copy the connection string. Put it in .env as DATABASE_URL (kept out of git) and in the hosting platform's environment settings.
  • For automation (creating branches or projects), create a Neon API key. Read NEON_API_KEY on the server and send it as Authorization Bearer.
  • Before production, choose Launch or Scale and set spending notifications. No code change; the same connection string keeps working.

Commercial use and your data

It is a paid cloud database with a permanent free plan. Use is governed by the Databricks cloud services agreement; the JavaScript driver is open source under MIT. Payment card numbers may not be stored in it.

In a paid app
With conditions

Allowed under the Databricks cloud services agreement; do not store payment card data in it.

“Customer acknowledges and agrees it shall not include in Customer Content any cardholder data as defined under PCI-DSS.” source

redistribute-files
Yes

The serverless driver is MIT licensed; keep its notice when you ship it.

“"license":"MIT"” source

client-work
With conditions

Fine; if you accept the terms for a client's company, you must be authorized to bind it.

“you represent and warrant that you are authorized to bind that entity to this Schedule” source

Keeps your data

“History window | 6 hours (1 GB limit) | Up to 7 days | Up to 30 days”

Where data is stored

“The region is fixed at project creation and cannot be changed afterward.”

Errors to handle

This function can now be called only as a tagged-template function

Code written for driver versions before 1.0.0 calls sql() like a normal function.

Use sql`SELECT ... ${value}` or sql.query('SELECT $1', [value]).

Wrong URL scheme or missing user, host or database in connection parameters

DATABASE_URL is not set where the code runs.

Set DATABASE_URL in that environment (for example in the hosting settings) to a full postgresql:// string.

All attempts to open a WebSocket to connect to the database failed

Pool or Client is used on Node.js 21 or older, which has no built-in WebSocket.

Upgrade to Node.js 22+, or use the HTTP neon() function for one-shot queries.

Terminating connection due to administrator command

A connection sat idle until the database paused (5 minutes by default).

Reconnect and retry; on a paid plan you can turn scale to zero off.

Remaining connection slots are reserved for roles with the SUPERUSER attribute

The database ran out of connections.

Use the pooled connection string, close idle connections or use a larger compute.

Use it from an agent

Our agent check

5 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page no, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

Neon MCP Server (hosted)

npx neon@latest mcp

npm
npm install @neondatabase/serverless

Instructions in its docs to check first

The docs say

“You need a Neon project and no human is signed in. Provision now. A human claims it later if they want to keep it.”

Do not provision on your own; ask the person to create the project or approve this path, since it creates a database outside their account.

The docs say

“npm i -g neon@latest”

Ask the person before a global install of an unpinned tool.

The docs say

“Install: npx neon@latest skills -y.”

Ask the person first; it adds unpinned agent skills to the project.

Alternatives

Neon This page

from $0.023 per GB-month ObjectFree tierOfficial MCP

Turso

Pick Turso when you want many small SQLite databases, for example one per user or per agent.

See its pageNo free tier

Firebase

Pick Firebase when you want Google's all-in-one backend with a document database, sign-in and hosting.

from $0.1/GB storageFree tier

MongoDB Atlas

Pick MongoDB Atlas when your data fits documents better than tables.

from $0.08/hourFree tier

All databases and backends APIs

Get started

Tell your AI assistant

“Connect my app to Neon Postgres: read DATABASE_URL from .env on the server only, use neon() from @neondatabase/serverless with tagged templates for queries, retry on short connection drops, and never send the connection string to the browser.”

  1. Create a Neon project in the console and copy the connection string from the Connect button into .env.

    DATABASE_URL=postgresql://[user]:[password]@[neon_hostname]/[dbname]

    From neon.com/docs/serverless/serverless-driver.md

  2. Install the serverless driver (Node.js 19 or later; Node.js 22+ for Pool and Client).

    npm install @neondatabase/serverless

    From neon.com/docs/serverless/serverless-driver.md

  3. Query the database from server code.

    import { neon } from '@neondatabase/serverless';
    const sql = neon(process.env.DATABASE_URL);
    const rows = await sql`SELECT * FROM posts WHERE id = ${postId}`;

    From neon.com/docs/serverless/serverless-driver.md

First request

Verbatim from the docs with comment lines removed. The project management API is separate (Authorization Bearer NEON_API_KEY).

import { neon, Pool } from '@neondatabase/serverless';
const sql = neon(process.env.DATABASE_URL);
await sql`CREATE TABLE IF NOT EXISTS posts (id serial PRIMARY KEY, title text NOT NULL)`;
await sql`INSERT INTO posts (title) VALUES (${'First post'})`;
await sql.transaction([
  sql`INSERT INTO posts (title) VALUES (${'Second post'})`,
  sql`INSERT INTO posts (title) VALUES (${'Third post'})`,
]);
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
const { rows } = await pool.query('SELECT * FROM posts ORDER BY id');
console.log(rows);
await pool.end();

Mistakes to avoid

Calling sql('SELECT ... $1', [id]) as in older examples.
Use a tagged template sql`... ${id}` or sql.query('... $1', [id]).

Since 1.0.0 the plain call throws an error; templates also guard against SQL injection.

Putting DATABASE_URL in front-end code and querying from the browser.
Query from server code, or protect data with row-level security before any browser access.

Anyone who sees the connection string can run any SQL the role allows.

Installing @neon/serverless from JSR.
Install @neondatabase/serverless from npm.

The JSR package stays at 1.0.1 and gets no new releases.

Running prisma migrate dev with the pooled connection string.
Use the direct (non-pooled) connection string for Prisma Migrate.

Prisma Migrate does not work through PgBouncer and fails with prepared statement errors.

Using Pool or Client on Node.js 21 or older.
Use Node.js 22+ or the HTTP neon() function.

Older Node.js has no built-in WebSocket.

Questions

Is the free plan a trial?

No. It is permanent, needs no card, and includes 100 projects with 100 compute hours and 1 GB of storage each.

Does Neon delete inactive free projects?

No. Idle databases pause after 5 minutes and wake on the next query; the project and data stay.

How much does a small paid database cost?

Neon's own example puts a small database that sleeps when idle at about $15 a month on the Launch plan.

Can I cap my bill?

Yes. Spending emails on paid plans, autoscaling limits per database, and consumption limits that suspend a project at a quota.

Does it work with my framework?

Yes, with any language, framework or ORM that supports Postgres.