
neon-plugin
Neon Postgres skills and MCP server for building, connecting, and testing databases with Claude Code.
- version
- 1.1.0
- GitHub stars
- 81
What it does
- Adds 6 skills (
neon-auth,neon-drizzle,neon-js,neon-serverless,neon-toolkit,add-neon-docs) and a remote Neon MCP server via.mcp.json - Covers Drizzle ORM setup with provisioned credentials, schema generation, and migrations, ending in code that connects to the database
- Guides serverless connections for Vercel Edge, AWS Lambda, and Next.js, including pooling and environment variable configuration
- Designed for developers who want ephemeral databases for CI pipelines, test isolation, or quick prototyping inside Claude Code
Neon database development skills including authentication, Drizzle ORM, serverless drivers, and toolkit utilities
Add marketplace
/plugin marketplace add neondatabase/ai-rulesRun it inside Claude Code once, then install the plugin below.
Install
/plugin install neon-plugin@neonRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceAdd Neon Knowledge References to Project
This skill adds reference links to Neon documentation and best practices in your project's AI documentation file, enabling AI assistants to quickly access Neon-specific patterns and guidelines without cluttering your project with large documentation files.
How It Works
This skill follows a simple workflow:
- Load metadata - Read skill information from
skill-knowledge-map.json - Detect documentation file - Find
CLAUDE.md,AGENTS.md, or Cursor rules files - Ask permission - Show what will be added and where
- Add references - Insert URLs in a "Resources & References" section
- Report completion - Confirm successful installation
For detailed workflow steps, see install-knowledge.md.
Parameters
SKILL_NAME Parameter
Optional. Specifies which skill documentation to install (e.g., "neon-drizzle"). If not provided, you'll be prompted to choose from available skills defined in skill-knowledge-map.json.
Usage Examples
Called from another skill:
Execute the add-neon-docs skill with SKILL_NAME="neon-drizzle"
Called directly by user:
- "Add neon drizzle knowledge to my project"
- "Install neon serverless documentation"
- "Set up Neon best practices for my AI assistant"
What Gets Added
References are added to a "Resources & References" section in your AI documentation file:
## Resources & References
- **Neon and Drizzle ORM best practices**: https://raw.githubusercontent.com/neondatabase-labs/ai-rules/main/neon-drizzle.mdc
- **Serverless connection patterns**: https://raw.githubusercontent.com/neondatabase-labs/ai-rules/main/neon-serverless.mdc
Target Files (in priority order):
CLAUDE.md- Most common for Claude Code projectsAGENTS.md- Custom AI documentation files.cursor/README.mdor.cursor/rules.md- Cursor IDE projects- Creates
CLAUDE.mdif none exist
Behavior:
- Existing "Resources & References" sections: New links are appended
- No existing section: Section is created at end of file
- No documentation file:
CLAUDE.mdis created with references
Related Skills
- neon-drizzle - Sets up Drizzle ORM, then offers this skill
- neon-serverless - Sets up connections, then offers this skill
- neon-toolkit - Sets up ephemeral databases, then offers this skill
Workflow Reference
For complete implementation details:
- Workflow:
install-knowledge.md- Step-by-step agent workflow with error handling - Metadata:
skill-knowledge-map.json- Skill definitions and reference URLs
Workflow Implementation
Now I'll execute the installation workflow for you.
Parameter received: SKILL_NAME = ${SKILL_NAME || "not provided - will ask user"}
Execute install-knowledge.md with the specified SKILL_NAME.
Readme
Neon Claude Code Plugin
Complete integration plugin for using Neon Postgres databases with Claude Code, featuring guided skills and MCP server integration.
Features
- Guided Skills: Step-by-step workflows for common Neon tasks
- MCP Integration: Real-time Neon resource management through Model Context Protocol
- Knowledge Installation: Add Neon best practices to your project's AI knowledge base
Available Skills
neon-drizzle
Set up and integrate Drizzle ORM with Neon Postgres databases. Includes comprehensive guides for:
- New project setup
- Existing project integration
- Schema-only workflows
- Migration troubleshooting
neon-serverless
Connect to Neon databases in serverless environments with the Neon Serverless driver. Optimize for:
- Edge functions
- Vercel deployments
- AWS Lambda
- Low latency and connection pooling
neon-toolkit
Create and manage ephemeral Neon databases for testing and prototyping. Perfect for:
- CI/CD pipelines
- Test isolation
- Quick development workflows
Knowledge Installation
After completing a skill workflow, you can optionally install Neon best practices to your project's AI knowledge base.
How It Works
- Complete any Neon skill workflow (Drizzle, Serverless, Toolkit, etc.)
- I'll detect your project's AI structure:
- Cursor IDE:
.cursor/rules/ - Claude Code:
CLAUDE.mdor.claude/ - Custom:
agents.md,.ai/, or other locations
- Cursor IDE:
- I'll ask if you want to install documentation
- I'll copy the relevant
.mdcfiles with source attribution - Your AI assistant can now reference these patterns automatically
What Gets Installed
Each skill installs its relevant best practices:
- neon-drizzle: Drizzle ORM integration, connection adapters, schema patterns
- neon-serverless: Serverless connections, pooling, edge runtime considerations
- neon-toolkit: Ephemeral database creation, testing workflows
No AI Structure Yet?
If your project doesn't have an AI knowledge structure yet:
- I can create a
CLAUDE.mdfile for you - Or you can run
/initin Claude Code first - Or set up Cursor rules manually
For Developers
Skills use a workflow-based approach. See shared/workflows/install-knowledge.md for the universal workflow that guides me through the installation process.
Getting Started
- Install the plugin in Claude Code
- Activate a skill based on your needs
- Follow the guided workflow
- Optionally install knowledge to your project
MCP Server Integration
This plugin connects to Neon's remote MCP server for real-time resource management. The MCP server provides:
- Project listing and creation
- Branch management
- Database operations
- Connection string generation
Configuration is handled automatically through .mcp.json.
Repository Structure
neon-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .mcp.json # MCP server configuration
└── skills/
├── add-neon-docs/
│ ├── SKILL.md
│ ├── install-knowledge.md # Workflow for knowledge installation
│ └── skill-knowledge-map.json # Metadata for knowledge installation
├── neon-drizzle/
│ ├── SKILL.md
│ ├── guides/ # Step-by-step workflow guides
│ ├── references/ # Technical reference docs
│ ├── scripts/ # Utility scripts
│ └── templates/ # Code templates
├── neon-serverless/
│ └── SKILL.md
└── neon-toolkit/
└── SKILL.md
Contributing
To add a new skill or update existing ones:
- Follow the skill structure pattern
- Update
skills/add-neon-docs/skill-knowledge-map.jsonif adding knowledge files - Reference the
add-neon-docsskill at the end of your SKILL.md - Test the workflow thoroughly
Resources
License
See the main repository for license information.
Details
- Marketplace
- neondatabase/ai-rules
- Source
- neon-plugin
- Author
- Neon Team
- Category
- Community
- License
- MIT
- Keywords
- neon, postgres, database, drizzle, serverless, auth, mcp
- Listed since
- Apr 6, 2026
Similar to neon-plugin
More Databases
neonPluginanthropics/claude-plugins-official47.9K starsManage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
neon-serverlessSkillneondatabase/ai-rules288 installsConfigures the Neon Serverless Driver for Next.js, Vercel Edge, AWS Lambda, and other edge or serverless runtimes.
neon-postgresSkilldavila7/claude-code-templates206 installsExpert Neon Postgres patterns for branching, pooling, and Prisma or Drizzle setup on serverless.
NeonMCP serverneondatabase667 starsRead and write access to Neon Postgres projects, branches, endpoints, schemas, and queries.
databases-on-awsPluginawslabs/agent-plugins948 starsExpert database guidance for the AWS database portfolio. Design schemas, execute queries, handle migrations, and choose the right database for your workload.
prismaPluginanthropics/claude-plugins-official47.9K starsPrisma MCP integration for Postgres database management, schema migrations, SQL queries, and connection string management. Provision Prisma Postgres databases,