Back to MCP Servers
🔌

neondatabase/mcp-server-neon

MITAPI key required

📇 ☁️ — An MCP Server for creating and managing Postgres databases using Neon Serverless Postgres

TypeScriptDatabases

Install

npx -y neonctl@latest

Required environment variables

NEON_API_KEYSet in your MCP config
CLIENT_SECRETSet in your MCP config
COOKIE_SECRETSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "neondatabase-mcp-server-neon": {
      "command": "npx",
      "args": [
        "-y",
        "neonctl@latest"
      ],
      "env": {
        "NEON_API_KEY": "<YOUR_NEON_API_KEY>",
        "CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
        "COOKIE_SECRET": "<YOUR_COOKIE_SECRET>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

What this does

neondatabase/mcp-server-neon exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation. That makes it useful when you want Claude to reach into your databases without copy-pasting context every turn.

Requirements

This server needs the following environment variables to be set before it can run:

NEON_API_KEY
CLIENT_SECRET
COOKIE_SECRET

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Common use cases

  • Query structured data without writing SQL by hand
  • Let Claude read table schemas before answering data questions
  • Run read-only operational reports or sanity checks during incidents