Open-source MCP (Model Context Protocol) server that lets you manage Neon Postgres projects, branches and databases via natural-language requests. It translates chat commands into Neon Management API calls and SQL.
https://github.com/neondatabase-labs/mcp-server-neonYou know the drill: context switch from your code to check API docs, craft the right Postgres query, maybe create a migration script, test it carefully, then apply it to production. The Neon MCP Server turns that multi-step dance into a conversation.
Instead of leaving your AI chat to dig through Neon's API documentation or remember Postgres syntax, you get direct database management through natural language. Create projects, spin up branches, run migrations, optimize queries - all without breaking your flow.
The server translates your requests into the appropriate Neon API calls and SQL operations, so you can focus on building instead of managing infrastructure.
Project Management: Create, delete, and inspect Neon projects without touching the console. Get summaries of all your projects and their data with a simple request.
Branch-Based Development: Leverage Neon's branching for safe database changes. Create development branches, test schema changes, then merge or discard - just like Git, but for your database.
Safe Migration Workflow: The server implements a two-phase migration system. It creates a temporary branch to test your schema changes, lets you validate everything works, then applies the migration to your main branch.
Query Performance Tuning: Identify slow queries, get optimization suggestions, and test performance improvements in isolated branches before applying them to production.
Direct SQL Execution: Run queries and transactions against your databases without managing connection strings or credentials.
You're building a user management system and need to add email verification:
"I need to add an email_verified boolean column to the users table in my production project. Let's test it first."
The server creates a migration branch, applies the schema change, and lets you test it. Once you're satisfied, you commit the migration to production.
Or you're debugging performance issues:
"Find the slowest queries in my e-commerce database and suggest optimizations."
It analyzes your query performance, suggests indexes, and creates a test branch to validate the improvements before you apply them.
Remote Server (Recommended): Connect via OAuth to Neon's hosted MCP server. No local setup, automatic updates, and you're always running the latest version.
Local Installation: Run the server locally with your Neon API key. Full control over the installation and perfect for development environments.
Both setups work with Claude Desktop, Cursor, Windsurf, VSCode, and other MCP-compatible clients. Installation takes under two minutes with tools like Smithery handling the configuration automatically.
Database management shouldn't require constant context switching between your code, API docs, and the database console. When you can describe what you want in plain English and have it executed safely with proper testing workflows, you spend more time building features and less time wrestling with infrastructure.
The server handles the complexity of Neon's branching model, ensures safe migration practices, and gives you query optimization insights - all through natural conversation. It's database DevOps, simplified.