Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.
Neon is serverless Postgres with one killer primitive — copy-on-write branching — and its MCP server is built around it. Your assistant can create a full, isolated copy of a production-sized database in seconds, run experiments or schema migrations there, and throw it away or promote the changes when done. For AI-driven database work, that's the difference between "hope the model's ALTER TABLE was right" and "check the branch before merging."
Beyond branching, the server covers the Neon platform end to end: creating and listing projects, running SQL against any branch, inspecting connection details, and handling migrations through a deliberately two-step flow — the server prepares changes on a temporary branch first and applies them to the target only after confirmation. That built-in checkpoint is exactly the kind of guardrail LLM database tooling should have, and most don't.
Setup is minimal: a remote OAuth server at mcp.neon.tech means most clients connect with one URL and a browser approval — no API keys to manage, though key-based access exists for automation. Free-tier Neon projects work fine, which makes this one of the cheapest ways to give an assistant a real Postgres playground.
If you're comparing: the plain PostgreSQL MCP server gives you read-only queries against a database you already run; Neon's gives you the whole database lifecycle — provisioning, branching, migrating, querying — for databases hosted on Neon. Different jobs, and it's entirely reasonable to run both.
br-quiet-frost-a1b2c3 is unreadable a week later.complete_database_migration.Schema changes stage on a temp branch and apply only after you confirm — a review gate built into the workflow.
Spin up a branch with production-shaped data for each experiment, then delete it.
Let the assistant create the project, schema and connection string for a new app in one go.
| Tool | What it does |
|---|---|
| list_projects / create_project | Enumerate and provision Neon projects |
| run_sql | Execute SQL against a chosen project and branch |
| create_branch / delete_branch | Copy-on-write database branches in seconds |
| prepare_database_migration | Stage a schema change on a temporary branch |
| complete_database_migration | Apply a staged migration after confirmation |
| get_connection_string | Fetch connection details for any branch |
| describe_table_schema | Inspect table structure on a branch |
claude mcp add --transport http neon https://mcp.neon.tech/mcpOpens a browser to authorise your Neon account.
A Neon account (free tier works). OAuth in the browser for remote mode; an API key only for automation.
| Variable | Description | Required |
|---|---|---|
| NEON_API_KEY | API key for non-OAuth local mode (automation/CI)e.g. napi_... | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Official Redis server — search keys, inspect data structures and manage caches in natural language.