TL;DR. "A database for AI" means three different things: a database your AI builds an app on, a database your agent can query over MCP, and memory for the agent itself. The first two are ordinary Postgres needs (a schema, migrations, rows scoped to the signed-in user, a way to get your data back out, and a way for the agent to run SQL). The third is usually a vector store and a different question. Chat assistants such as ChatGPT and Claude have no database for your app; IDE agents use whatever you give them; builders bundle or bolt on a backend. Hatchable gives every project a private Postgres that the connected AI can migrate and query over MCP, with sign-in included.

The three things people mean by "database for AI"

Searches for "chatgpt database", "claude database", "cursor database" and "bolt database" all look alike and want different things. Sorting them out first saves a wrong purchase.

1. A database your AI builds an app on

This is most people. You asked an AI to make you a tracker, a CRM, a booking page, and it produced a page that forgets everything on refresh. What you want is an AI app with a database: tables the AI designs, code that reads and writes them, and a place all of it runs. The AI is the builder; the database is part of the app it builds.

2. A database your agent can query over MCP

Here the data already exists and you want the agent to answer questions against it, or to maintain it. The Model Context Protocol (what MCP is) is how an agent gets a "run this query" tool. Postgres MCP servers do exactly this, and there are several to choose from (compared here).

3. Memory for the agent

The agent should remember what you told it last week. That is not a relational database problem; it is a retrieval problem, usually solved with embeddings and a vector index, sometimes with plain text files. It gets its own section below because mixing it up with the first two is where people buy the wrong thing.

What an AI app with a database actually needs

For the first two meanings the requirements are the boring, well-understood ones, and the AI needs them more than a human does because it cannot improvise around a missing piece:

Notice what is not on the list: a connection string you paste into three places, an ORM dialect, a separate account with a separate bill. Those are costs, not needs.

Why vector stores are a different question

A vector store holds embeddings (numeric representations of text or images) and finds the nearest ones. That is what agent memory and "search by meaning" need, and it is genuinely useful. But it is not a system of record. It cannot enforce that an invoice has a customer, it does not do "sum of orders by month", and it should not be the only copy of anything. Most real AI apps need both: Postgres for the facts, a vector index for the fuzzy retrieval, ideally living next to each other so the agent does not juggle two services. If your question is "which database for AI agents", the answer is usually "Postgres, plus vectors alongside it", not "a vector database instead".

How ChatGPT, Claude, Cursor and Bolt handle it, as of August 2026

Broad strokes, hedged, because every product here changes quickly:

General characterisations based on public information as of August 2026; check each vendor for current details.

How Hatchable handles it

Hatchable is the platform where AI-built apps go live, and it treats the database as part of the app rather than an add-on. You connect the AI you already use to https://hatchable.com/mcp (OAuth, no API key), and from then on:

The full spec is on the database feature page, and the step-by-step version is how to give your agent a database. The short version:

  1. Connect your AI

    Claude, Claude Code, Cursor, Codex, ChatGPT, Gemini or Antigravity; each takes about a minute from its connect page (Cursor, for example, is one setting). Approving the sign-in creates your free account.

  2. Describe the app, including the data

    "Build a client tracker where each client has invoices, and only I can see it." The AI creates the project, writes the tables and migrations, the pages and the API routes, and deploys.

  3. Ask questions of the data

    "Who owes the most?" comes back as rows in the chat, over the same MCP connection. Schema changes are one more ask.

No credits, no per-prompt fees: your own AI subscription writes the code. The free plan includes unlimited private projects and one published app, no card; Builder is $12 a month for unlimited published apps.

Give your AI a real database, in one sentence.

Free plan, no card, bring your own AI.

Get started free →

Frequently asked questions

Does ChatGPT have a database?

Not for apps you build. ChatGPT can write SQL and remember things about you, but nothing it builds in a chat keeps running with a database behind it. Connect ChatGPT to Hatchable (it is a listed app in the ChatGPT directory) and it can create a project with its own Postgres and deploy a real app to a live URL.

Does Claude have a database?

Claude artifacts forget everything on refresh. Add Hatchable as a connector in Claude and it gets a project with a private Postgres it can migrate and query over MCP, and the artifact becomes a live app that remembers.

What database should I use for AI agents?

For the system of record, Postgres: agents write good SQL, migrations are files, and row-level rules live in the database. Add a vector index for memory and search-by-meaning, ideally next to the tables. Hatchable gives each project both.

Is a vector database the same as a database for AI?

No. A vector store answers "what is similar to this?" and is ideal for agent memory and semantic search. It is not a place to keep invoices, users or orders. Most AI apps need a relational database for facts and vectors for retrieval.

Can Cursor connect to a database?

Yes, to any database you provide, and to MCP servers that expose one. Connect Cursor to Hatchable (how) and it can create a project that includes Postgres, write the migrations and deploy, without you provisioning anything.