neon-postgres

Review·Scanned 2/18/2026

This skill is a Neon Serverless Postgres documentation and how-to guide covering setup, SDKs, CLI, MCP server, auth, and connection methods. It includes instructions to run shell commands like npx neon init, modify assistant MCP configuration, read/update .env (e.g., DATABASE_URL), and call Neon endpoints such as https://console.neon.tech/api/v2/.

by neondatabase·v92f88d0·85.8 KB·581 installs
Scanned from main at 92f88d0 · Transparency log ↗
$ vett add neondatabase/agent-skills/neon-postgresReview findings below

Neon Serverless Postgres

Neon is a serverless Postgres platform that separates compute and storage to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.

Neon Documentation

The Neon documentation is the source of truth for all Neon-related information. Always verify claims against the official docs before responding. Neon features and APIs evolve, so prefer fetching current docs over relying on training data.

Fetching docs as markdown

Any Neon doc page can be fetched as markdown in two ways:

  1. Append .md to the URL (simplest): https://neon.com/docs/introduction/branching.md
  2. Request text/markdown on the standard URL: curl -H "Accept: text/markdown" https://neon.com/docs/introduction/branching

Both return the same markdown content. Use whichever method your tools support.

Finding the right page

The docs index lists every available page with its URL and a short description:

https://neon.com/docs/llms.txt

Common doc URLs are listed in the tables below. If you need a page not listed here, search the docs index — don't guess URLs.

Common Documentation Paths

Framework & Language Guides

Platform API

For managing Neon resources programmatically (projects, branches, endpoints, databases, roles):

Quick cross-reference (common operations across interfaces):

OperationREST APITypeScript SDKPython SDK
List projectsGET /projects?org_id=...listProjects({ org_id })projects(org_id=...)
Create projectPOST /projectscreateProject({...})project_create(...)
Get connection URIGET .../connection_urigetConnectionUri({...})connection_uri(...)
Create branchPOST .../branchescreateProjectBranch(...)branch_create(...)
Start endpointPOST .../endpoints/.../startstartProjectEndpoint(...)endpoint_start(...)

Overview of Resources

Reference the appropriate resource file based on the user's needs:

Core Guides

AreaResourceWhen to Use
What is Neonreferences/what-is-neon.mdUnderstanding Neon concepts, architecture, core resources
Featuresreferences/features.mdBranching, autoscaling, scale-to-zero, connection pooling
Getting Startedreferences/getting-started.mdSetting up a project, connection strings, dependencies, schema
Connection Methodsreferences/connection-methods.mdChoosing drivers based on platform and runtime
Developer Toolsreferences/devtools.mdVSCode extension, MCP server, Neon CLI (neon init)

Database Drivers & ORMs

HTTP/WebSocket queries for serverless/edge functions.

AreaResourceWhen to Use
Serverless Driverreferences/neon-serverless.md@neondatabase/serverless - HTTP/WebSocket queries
Drizzle ORMreferences/neon-drizzle.mdDrizzle ORM integration with Neon

Auth & Data API SDKs

Authentication and PostgREST-style data API for Neon.

AreaResourceWhen to Use
Neon Authreferences/neon-auth.md@neondatabase/auth or @neondatabase/neon-js - Setup, UI components, auth methods, common mistakes
Neon JS SDKreferences/neon-js.md@neondatabase/neon-js - Auth + Data API (PostgREST-style queries)

Neon Platform API & CLI

Managing Neon resources programmatically via REST API, SDKs, or CLI.

AreaResourceWhen to Use
REST APIreferences/neon-rest-api.mdDirect HTTP calls - auth, endpoints, rate limits
Neon CLIreferences/neon-cli.mdTerminal workflows, scripts, CI/CD pipelines
TypeScript SDKreferences/neon-typescript-sdk.md@neondatabase/api-client
Python SDKreferences/neon-python-sdk.mdneon-api package