Lakebase Postgres is built on object storage, but 99.99999% of reads are served from high-performance local caches
/AI agents on Neon/Claude Code

Set up Neon in Claude Code

Install the Neon plugin for agent skills and the Neon MCP Server

View as Markdown

The Neon plugin gives Claude Code Neon's agent skills, so it knows how to build on Neon, and the Neon MCP Server, so it can act on your Neon account.

Install the plugin

Run:

npx neon@latest plugins --agent claude-code

This installs the plugin at user level, for all your projects. See neon plugins for all options.

Then run /reload-plugins in Claude Code, or start a new session. Claude Code asks you to sign in to Neon with OAuth the first time it uses an MCP tool.

To set up the plugin and link a Neon project in one step, run npx neon@latest init instead.

Check that it works

Ask Claude Code:

Which Neon skills do you have access to?

You should see the Neon skills listed. Then try:

Get started with Neon

Other ways to install

From a plugin marketplace

In a Claude Code session, install the plugin from Neon's marketplace. This is the same plugin neon plugins installs:

/plugin marketplace add neondatabase/agent-skills
/plugin install neon-postgres@neon

It's also in Anthropic's official marketplace as neon@claude-plugins-official. That listing is pinned to a specific commit and updated separately, so it can lag behind. Install from one marketplace only.

MCP Server only

To add only the Neon MCP Server, without skills, use OAuth:

claude mcp add --transport http neon https://mcp.neon.tech/mcp

Start a new claude session, or run /mcp, to sign in. For a Neon API key instead, run npx neon@latest mcp --agent claude-code, which mints one. The config generator also builds an API key config, with read-only mode and other access controls.

Skills only

npx neon@latest skills --agent claude-code

For an end-to-end example, see Get started with Claude Code and Neon MCP Server. If something isn't working, see MCP troubleshooting.

Need help?

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

Was this page helpful?
Edit on GitHub