Neon Postgres MCP Server
Official
Databases
stdio
Manage Neon serverless PostgreSQL databases via MCP. Create database branches, run queries, manage schemas, and leverage Neon's unique branching model for development and testing workflows.
Quick Install
$ npx -y @neondatabase/mcp-server-neonEnvironment Variables
| Variable | Description | Required |
|---|---|---|
| NEON_API_KEY | Neon API key | Yes |
Configuration by Client
{
"mcpServers": {
"neon": {
"command": "npx",
"args": [
"-y",
"@neondatabase/mcp-server-neon"
],
"env": {
"NEON_API_KEY": ""
}
}
}
}Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.
Available Tools (4)
list_projectscreate_branchrun_sqllist_databases
Neon Postgres FAQ
What is the Neon Postgres MCP server?
Manage Neon serverless PostgreSQL databases via MCP. Create database branches, run queries, manage schemas, and leverage Neon's unique branching model for development and testing workflows.
How do I install the Neon Postgres MCP server?
Run: npx -y @neondatabase/mcp-server-neon
Which AI clients support the Neon Postgres MCP server?
The Neon Postgres MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.
What tools does the Neon Postgres MCP server provide?
The server provides 4 tools: list_projects, create_branch, run_sql, list_databases.