npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

neon-init

v0.13.1

Published

Initialize Neon projects

Readme

neon-init

Set up Neon for AI-powered database operations in VS Code, Cursor, and Claude CLI.

Installation

npm add neon-init

Usage

import { init } from "neon-init";

await init();

Or via CLI:

npx neon-init

Then:

  1. Restart your editor (VS Code, Cursor, or Claude CLI)
  2. Type "Get started with Neon" in your AI chat

What It Does

For VS Code and Cursor: Installs Neon Local Connect Extension (which includes the Neon MCP Server)

  • Automatically installs the databricks.neon-local-connect extension
  • Uses the editor's CLI (code --install-extension or cursor --install-extension)
  • Configures the API key automatically via URI handler
  • Provides local database development capabilities directly in your editor
  • Allows management of your MCP server within the extension

For Claude CLI: Configures Neon MCP Server

  • Creates or updates ~/.claude.json (global config - works across all projects)
  • Configures remote MCP server with API key authentication
  • Provides AI-powered database operations via MCP protocol

Supported Editors:

  • VS Code (uses Neon Local Connect extension)
  • Cursor (uses Neon Local Connect extension)
  • Claude CLI (uses MCP Server)

The tool automatically detects which editors are installed on your system and you'll be prompted to choose which one(s) to configure.

Authentication: Uses OAuth via neonctl and creates an API key for you - opens your browser, no manual API keys needed.

Agent Guidelines: The Neon MCP Server includes built-in agent guidelines as an MCP resource. Your AI assistant will automatically have access to:

  • Interactive "Get started with Neon" onboarding flow
  • Security, performance, and schema management best practices
  • Neon-specific features (branching, autoscaling, scale-to-zero)

Installs Neon Agent Skills

After configuring your editor, neon-init automatically installs the neon-postgres skill using Vercel's skills ecosystem. This enhances your agent with Neon-specific Postgres capabilities and commands.

  • Runs npx skills add neondatabase/agent-skills --skill neon-postgres for each selected editor
  • Auto-confirms installation with -y flag
  • Maps editors to agent names: Cursor → cursor, VS Code → github-copilot, Claude CLI → claude-code

Development

| Command | Description | | ------------------------------- | ------------------------------ | | pnpm build | Build the package | | pnpm tsx src/cli.ts | Run CLI locally (no build) | | node dist/cli.js | Run built CLI |

From workspace root

| Command | Description | | ------------------------------- | ----------------- | | pnpm --filter neon-init build | Build the package | | pnpm --filter neon-init test | Run the tests |