Neon MCP Server

Official remote MCP server for Neon Postgres, projects, branches, SQL, schema, and migrations.

Description

Neon MCP Server is Neon’s official Model Context Protocol server for working with Neon Postgres. It connects natural language in an MCP client to the Neon API and selected database capabilities. The direct product link points to Neon documentation, while the neondatabase/mcp-server-neon repository contains source code, setup options, and the license. According to the provider, the server can manage projects and branches, run SQL, describe database schemas, prepare migrations, and provide Neon documentation. Its focus is therefore not generic data analysis, but database-adjacent development and operations work.

Remote server for Postgres workflows

Neon documents several setup paths. The quick API-key flow runs npx neon@latest init and, according to the README, configures the MCP Server for Cursor, VS Code/GitHub Copilot, and Claude Code. Alternatively, the hosted remote server can be connected through https://mcp.neon.tech/mcp using OAuth or an API key. SSE remains available for older clients, but Streamable HTTP is the modern path. The hosted server runs as a Next.js application on Vercel according to the repository; local development uses Node.js, Corepack, and pnpm.

Projects, branches, queries, and migrations

The practical value sits in common Postgres tasks that developers otherwise spread across a console, SQL client, and codebase. An agent can summarize a Neon project, explain table structures, run read-only SQL queries, use branches for changes, or prepare a migration. The approach is especially useful for feature work with branching: a database schema can be inspected or changed in an isolated Neon branch before anything moves toward the main branch. For editorial, analysis, and support work, the server can also help understand existing data structures without manually clicking through the UI first.

Security, read-only mode, and data flow

Neon explicitly warns that the MCP Server grants powerful database management capabilities through natural language. Users should review and authorize actions requested by the LLM, and Neon does not recommend using the server in production environments. Project scoping, organization context, OAuth scopes, and read-only mode are central. readonly=true can disable write tools such as project or branch creation and migrations; read tools such as schema and performance inspection remain available depending on configuration. If IP allowlists are enabled, the README lists static IP addresses for mcp.neon.tech that must be deliberately allowed.

License, GitHub stars, and fit

The repository is MIT licensed. The GitHub API reported exactly 629 stars on 2026-09-07; that snapshot reflects popularity, not a security or quality guarantee. The server itself is open source, but using it requires a Neon account and appropriate permissions. Public catalog copy should not state fixed prices; current plan and usage terms are published by Neon. This entry fits DevOps and Data Analysis because it combines database operations, schema understanding, queries, and migration-adjacent automation. A safe starting point is a test project with a read-only URL or a tightly scoped API key.

Requirements

MCP client, Neon account, and depending on setup Node.js 18+, OAuth, or a Neon API key.

Installation instructions

For quick setup run npx neon@latest init or connect the remote server https://mcp.neon.tech/mcp with OAuth or an API key.

npx neon@latest init

Authentication

OAuth or Neon API key; read-only mode and tool categories can be limited through scopes or URL parameters.

Required access permissions

Permissions follow OAuth scopes, API key, project/organization context, and URL parameters such as readonly or category.

Transmitted or stored data

Tool calls go to the Neon API and database functions; responses return to the MCP client.

Security risks

Natural language can trigger powerful database changes. Review actions, avoid production access, and use read-only/project limits.

License and costs

License
MIT
Cost
free

The server is MIT licensed. Costs depend on the Neon account, resource usage, selected plan, and AI client.

Alternatives

Not recorded yet.

At a glance

Provider
Neon
Status
Official server
Deployment
Remote
Current version
Not recorded yet.
GitHub stars
649
Last reviewed
07.09.2026

Repository and documentation

Categories

Supported clients