---
title: "Neon MCP Server for ToolPiper · ModelPiper"
description: "Manage Neon serverless Postgres branches and run SQL. Neon is serverless Postgres with instant branching; this official server lets the assistant use that branching as a safety net. List projects, run SQL, describe schem"
canonical: "https://modelpiper.com/mcp-tools/neon"
---

# Neon MCP Server for ToolPiper · ModelPiper

> Manage Neon serverless Postgres branches and run SQL. Neon is serverless Postgres with instant branching; this official server lets the assistant use that branching as a safety net. List projects, run SQL, describe schem

N

# Neon MCP Server

✓ verified

Manage Neon serverless Postgres branches and run SQL.

Install Neon in ToolPiper

Don't have ToolPiper? We'll take you to the download.

[Open repository →](https://github.com/neondatabase/mcp-server-neon)

Publisher

[Neon](https://github.com/neondatabase/mcp-server-neon)

License

MIT

Transport

Local subprocess

Tools

5

## What this server does

Neon is serverless Postgres with instant branching; this official server lets the assistant use that branching as a safety net. List projects, run SQL, describe schemas, and create branches. The standout workflow is migrations: the server stages schema changes on a temporary branch first, so the model can verify a migration in isolation before you apply it to your main branch. That makes 'let the AI evolve my schema' far less terrifying than running DDL straight at production.

## Tools included

-   list\_projects
    
    List your Neon projects.
    
-   run\_sql
    
    Run a SQL statement against a project's database.
    
-   create\_branch
    
    Create a database branch.
    
-   describe\_table\_schema
    
    Describe a table's schema.
    
-   prepare\_database\_migration
    
    Stage a schema migration on a temporary branch.
    

The authoritative list comes from the server's tools/list at runtime. This catalog entry may lag the upstream until the next ToolPiper release.

## Install in ToolPiper

ToolPiper handles the JSON configuration. Click Install, fill in any required tokens, and the server is ready in your chat.

Install Neon in ToolPiper

Don't have ToolPiper? We'll take you to the download.

## Install in another client

Install in another MCP client (Claude Desktop, Cursor, Continue, Cline)

Claude Desktop Cursor Continue Cline

Add this to ~/Library/Application Support/Claude/claude\_desktop\_config.json.

```
{
  "mcpServers": {
    "neon": {
      "command": "npx",
      "args": [
        "-y",
        "@neondatabase/mcp-server-neon",
        "start",
        "${NEON_API_KEY}"
      ]
    }
  }
}
```

Copy

## Example prompts

-   "List my Neon projects and the databases in each."
    
    Copy
-   "Create a branch called ai-experiment and run a SELECT to check the users table."
    
    Copy
-   "Prepare a migration that adds a 'last\_login' timestamp column to users."
    
    Copy

## Security notes

The API key controls your Neon account: it can create branches, run SQL, and apply migrations. Treat it as a credential and rotate it from the Neon console if it leaks. The branch-first migration flow limits blast radius, but run\_sql can still modify the branch it targets. Point experiments at a branch, not your production database.

## Related tools

-   [
    
    P
    
    ### Postgres
    
    ✓ verified
    
    Query Postgres databases with read-only SQL.
    
    DataLocal subprocess1 tool
    
    
    
    
    
    ](/mcp-tools/postgres)
-   [
    
    S
    
    ### SQLite
    
    ✓ verified
    
    Query SQLite databases and run business-intelligence prompts.
    
    DataLocal subprocess4 tools
    
    
    
    
    
    ](/mcp-tools/sqlite)
-   [
    
    R
    
    ### Redis
    
    ✓ verified
    
    Interact with Redis key-value stores from the assistant.
    
    DataLocal subprocess4 tools
    
    
    
    
    
    ](/mcp-tools/redis)
-   [
    
    A
    
    ### AWS Knowledge Base
    
    ✓ verified
    
    Retrieve answers from an AWS Bedrock Knowledge Base.
    
    DataLocal subprocess1 tool
    
    
    
    
    
    ](/mcp-tools/aws-kb-retrieval)

[← Back to all MCP tools](/mcp-tools)
