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/pricing2. Commercial use
“Customer acknowledges and agrees it shall not include in Customer Content any cardholder data as defined under PCI-DSS.”
Allowed under the Databricks cloud services agreement; do not store payment card data in it.
neon.com/terms-of-service3. Key & sign-up
“WARNING: Running SQL directly from the browser can have security implications.”
Database: a connection string with user and password (DATABASE_URL). Management API: an API key sent as Authorization Bearer.
neon.com/docs/serverless/serverless-driver.md4. Agent access
“Set up with npx neon@latest mcp or use the config generator. Supports OAuth and API key auth.”
Our agent check: 5 of 6 (Nov 13, 2026).
neon.com/docs/ai/neon-mcp-server.mdChecked 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
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
1 GB storage, 100 CU-hours compute/month per project, 100 projects, 5 GB Object Storage, 1M function invocations
No monthly plan
$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
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
| Action | Price |
|---|---|
| 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
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
Out of compute hours or transfer, the database is suspended until next month; over the storage cap, writes are blocked
Pauses after 5 minutes idle, cannot be turned off; up to 2 CU (8 GB RAM)
Up to 10,000 pooled connections per compute
From the official docs. neon.com/pricing.md
Key and access
Database: a connection string with user and password (DATABASE_URL). Management API: an API key sent as Authorization Bearer.
DATABASE_URL (queries); NEON_API_KEY (management API)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.
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
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
“History window | 6 hours (1 GB limit) | Up to 7 days | Up to 30 days”
“The region is fixed at project creation and cannot be changed afterward.”
Errors to handle
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]).
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.
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.
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.
The database ran out of connections.
Use the pooled connection string, close idle connections or use a larger compute.
Use it from an agent
5 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
Neon MCP Server (hosted)
npx neon@latest mcp
npm install @neondatabase/serverlessInstructions in its docs to check first
“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.
“npm i -g neon@latest”
Ask the person before a global install of an unpinned tool.
“Install: npx neon@latest skills -y.”
Ask the person first; it adds unpinned agent skills to the project.
Alternatives
Neon This page
Pick Turso when you want many small SQLite databases, for example one per user or per agent.
Pick Firebase when you want Google's all-in-one backend with a document database, sign-in and hosting.
Pick MongoDB Atlas when your data fits documents better than tables.
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.”
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]Install the serverless driver (Node.js 19 or later; Node.js 22+ for Pool and Client).
npm install @neondatabase/serverlessQuery 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}`;
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();[
{ id: 1, title: 'First post' },
{ id: 2, title: 'Second post' },
{ id: 3, title: 'Third post' }
]Mistakes to avoid
Since 1.0.0 the plain call throws an error; templates also guard against SQL injection.
Anyone who sees the connection string can run any SQL the role allows.
The JSR package stays at 1.0.1 and gets no new releases.
Prisma Migrate does not work through PgBouncer and fails with prepared statement errors.
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.