MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Neon MCP

by Neon

Natural language interaction with Neon serverless Postgres databases

database Node.js Intermediate Self-hostable Verified
⭐ 557 stars πŸ“… Updated: 1mo ago

Description

Open-source MCP server for natural language interaction with Neon serverless Postgres. Provides 30+ tools covering project management, branch operations, SQL execution, migrations, performance analysis, and query optimization. Features safe migration testing in temporary branches before applying changes to production, enabling developers to iterate confidently on schema changes. Supports both local STDIO transport via npx and a hosted remote endpoint at mcp.neon.tech for zero-install access.

βœ… Best for

Teams using Neon serverless Postgres who want AI-assisted database management and safe migrations

⏭️ Skip if

You use self-hosted Postgres or another managed database provider

πŸ’‘ Use cases

  • Running SQL queries and managing Neon Postgres databases through natural language
  • Testing schema migrations safely in temporary branches before applying to production
  • Analyzing slow queries and optimizing database performance with AI assistance
  • Provisioning and managing Neon projects, branches, and authentication directly from AI tools

πŸ‘ Pros

  • βœ“ Safe migration workflow with temporary branch testing before production changes
  • βœ“ 30+ tools covering the full Neon platform lifecycle
  • βœ“ Dual access via local npx install or hosted remote MCP endpoint
  • βœ“ Official first-party server maintained by the Neon team

πŸ‘Ž Cons

  • βœ— Requires a Neon account and API key β€” not usable with generic Postgres instances
  • βœ— Remote endpoint adds latency compared to local STDIO transport
  • βœ— Branch-based migration workflow has a learning curve for traditional DB users

πŸ”§ Exposed tools (10 tools)

ToolCategoryDescription
provision_authauthProvision authentication for a Neon project
create_branchbranchingCreate a new database branch for safe development
search_docsdocumentationSearch the Neon documentation
create_projectmanagementCreate a new Neon project
list_projectsmanagementList all Neon projects in the account
prepare_migrationmigrationPrepare a migration in a temporary branch for safe testing
complete_migrationmigrationApply a tested migration to the target branch
analyze_slow_queriesperformanceAnalyze and identify slow-running database queries
explain_queryperformanceGet execution plan and optimization suggestions for a query
execute_sqlqueryExecute SQL queries against a Neon database

⚑ Installation

Prerequisites:

  • β€’ Node.js v18+
  • β€’ Neon API key
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

Use the remote endpoint at mcp.neon.tech/mcp for quick setup without local installation. The branch-based migration workflow lets you test schema changes in isolation β€” always use prepare_migration before complete_migration.

πŸ”„ Alternatives

Quick info

Author
Neon
License
MIT
Runtime
Node.js 18+
Transport
stdio
Category
database
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows