This guide shows how to connect Claude Desktop to the Neon MCP Server so you can manage your Neon databases.
Security
The Neon MCP Server grants broad database management capabilities. Always review and authorize actions requested by the LLM before execution. See MCP security guidance.
Setting up Neon MCP server
Prerequisites
- Node.js (>= v18): Install from nodejs.org.
- Claude Desktop: Install Anthropic's Claude Desktop.
- Neon Account: Sign up for a free Neon account at neon.tech.
- Neon API Key (for API key authentication): Get your Neon API Key.
Option 1: Setting up the remote hosted Neon MCP Server
note
By default, the Remote MCP Server connects to your personal Neon account. To connect to an organization's account, you must authenticate with an API key. For more information, see API key-based authentication. Claude connectors currently don't support API key authentication.
Choose one of the following methods to set up the Remote Neon MCP server in Claude Desktop:
- Launch Claude Desktop and open the Search & Tools panel, and select Add Connector.

- Click on Add a custom one to open the custom connector modal.

- Enter Neon in the Name field and
https://mcp.neon.tech/mcpin the Remote MCP server URL field, then click Add.
- An OAuth window will open in your browser. Follow the prompts to authorize Claude to access your Neon account.

- After authorization, you can start using the Neon MCP server with Claude.
Option 2: API key authentication
This method uses the hosted Neon MCP Server with a Neon API key.
-
Open
claude_desktop_config.json(Claude Desktop → Settings → Developer → Edit Config). -
Add the "Neon" server entry within the
mcpServersobject. Replace<YOUR_NEON_API_KEY>with your Neon API key:{ "mcpServers": { "Neon": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://mcp.neon.tech/mcp", "--header", "Authorization:${NEON_AUTH_HEADER}" ], "env": { "NEON_AUTH_HEADER": "Bearer <YOUR_NEON_API_KEY>" } } } } -
Restart Claude Desktop.
Verifying the connection
Verify the connection:
- In Claude click on the search and tools icon to see the available tools.

- You should see the Neon MCP server's tools listed. Click on the neon tool to see the available tools in detail.
Ask Claude "List my Neon projects"to verify the connection. For example, you might see output similar to this:

Resources
Need help?
Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.








