CodexSpot
N

Neon MCP Server

Connects AI assistants to Neon serverless Postgres through MCP, enabling SQL queries, database listing, and branch management via the Neon API.

stdioLocalApiKeynpm

What This Server Exposes

Tools

querylist_databasescreate_branch

Resources

  • database list
  • branch information
  • query results

Setup Instructions

  1. 1Sign up at neon.tech and create a project
  2. 2Generate an API key from your Neon account settings
  3. 3Add the Neon server config to your Claude Desktop configuration
  4. 4Set the NEON_API_KEY environment variable
  5. 5Restart Claude Desktop

Configuration

Claude Desktop Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "neon": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-neon"
      ],
      "env": {
        "NEON_API_KEY": "your-neon-api-key"
      }
    }
  }
}

Environment Variables

NEON_API_KEY
Neon API key for accessing the Neon platform API to manage databases and branches
Required🔒 Secret

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

Your Neon API key grants access to all projects under your account including the ability to create and delete branches. Treat it as a high-privilege credential and never expose it in client code or commit it to version control.

This listing is for informational purposes only. CodexSpot is not affiliated with Neon MCP Server.