# JillionDB > JillionDB is a review step for database schema changes made by AI coding agents. The agent proposes a change over MCP; a person sees it drawn on their schema with plain-language risk and approves, edits or rejects it; the agent then receives the approved migration SQL for PostgreSQL, MySQL or SQLite. JillionDB never runs SQL against your database. ## How it works 1. A coding agent (Claude Code, Cursor or any MCP client) connects to the JillionDB MCP server with an agent key. 2. When it needs a database change, it calls `get_schema`, then `propose_change` instead of writing a migration itself. 3. The person opens the review link and sees the change drawn on their schema, each step marked Safe, Caution or Destructive with a plain-language reason. 4. They approve, edit first or reject. Nothing happens until they decide. 5. The agent calls `get_proposal`, receives the approved migration (forward SQL and rollback) for the project's engine, and writes it into the project's migrations. The user's own tools run it. ## Key facts - Engines: PostgreSQL, MySQL and SQLite. MySQL migrations are not atomic; JillionDB says so in the review. - JillionDB stores schemas only, never rows, and never runs SQL against a user's database. - MCP endpoint: https://jilliondb.com/mcp (streamable HTTP, remote). Auth: agent key from Settings sent as `Authorization: Bearer dbk_…`. API key only, no OAuth. - Listed in the official MCP Registry as `com.jilliondb/jilliondb` and on Glama. - Live database (Pro and Enterprise): compares the real database with the project and lists each difference. Two ways: connect directly with a login that can't read rows (read-only, encrypted, password stored with AES-256-GCM), or run the bridge, `npx jilliondb push` (npm package `jilliondb`, MIT, source at https://github.com/JillionDB/bridge), which reads table definitions locally so the database password never leaves the user's machine and JillionDB never connects in. The bridge also reads SQLite files. - Demo: https://jilliondb.com/demo opens a seeded workspace with no sign-up; a new agent proposal arrives within a minute. - Languages: English, Chinese, Japanese, Spanish, German, French. - Based in Toronto, ON, Canada. Contact: press@jilliondb.com, security@jilliondb.com (security), privacy@jilliondb.com. ## Agent rule JillionDB keeps the user's database schema and reviews every change before it happens. Never change the database or write a migration on your own. Instead: 1. Call get_schema to see the current schema. 2. Call propose_change with the change, as operations (preferred, renames stay renames) or as the full desired SQL. 3. Give the user the review link it returns and wait for them. 4. Call get_proposal. Once it is approved, write the returned migration SQL into the project's migrations exactly as given. If it was rejected, read the note and adjust. Reference: https://jilliondb.com/docs/agents ## MCP tools - `list_projects`: Lists the JillionDB projects this key can see, with their database engine and table count. - `get_schema`: Returns the current schema of a project as SQL for its database engine (default) or as JillionDB JSON. - `list_issues`: Lists design problems in the current schema: missing keys, unindexed relationships, type mismatches and engine limits. - `propose_change`: Proposes a schema change for the user to review in JillionDB. Nothing changes until they approve it. Send exactly one of "operations" (preferred: renames are explicit, so no data is lost) or "sql" (the complete desired schema as CREATE TABLE statements; a dropped and re-added column is flagged as a possible rename). Returns the risk of each change and a review link to give the user. Each operation is an object with "op" and the fields below. Names are table and column names as they appear in get_schema. - create_table: table, columns [{name, type, nullable?, default?, unique?, primary_key?, comment?, references?}], primary_key? [names], comment? - drop_table: table - rename_table: table, to - add_column: table, column {name, type, nullable?, default?, unique?, comment?, references?} - drop_column: table, column - rename_column: table, column, to - alter_column: table, column, type?, nullable?, default?, unique?, comment? - add_index: table, columns [names], unique?, name? - drop_index: table, name or columns - add_foreign_key: table, columns [names], references {table, columns? (defaults to its primary key), on_delete?} - drop_foreign_key: table, columns or name - set_primary_key: table, columns - add_check: table, expression, name? - drop_check: table, name or expression - set_comment: table, column?, comment Types: uuid, text, varchar(n), char(n), smallint, integer, bigint, serial, bigserial, decimal(p,s), float, double, boolean, date, time, timestamp, timestamptz, json, binary, enum('a','b'). Defaults: a value (string, number, true/false), "now", "uuid", "autoincrement", {"value": ...} for literal text that looks like a keyword, or {"sql": "..."} for a raw expression. references: {table, column?, on_delete?: cascade | restrict | set null | set default | no action}. - `get_proposal`: Returns a proposal’s status. When approved, also returns the migration SQL to apply (up) and to undo it (down) for the chosen engine. Write the up SQL into the project’s migrations exactly as given. - `list_proposals`: Lists recent proposals for a project, newest first. ## Plans Free, Pro $12/month, Enterprise $49/month. Yearly is 12 months' price ($144 and $588). No trials; prices include tax. Live database connections: Pro 25, Enterprise 500. | What you get | Free | Pro | Enterprise | | --- | --- | --- | --- | | Projects | 1 | 25 | 500 | | Agent keys | 1 | 10 | 50 | | Agent proposals | 25 a month | Unlimited | Unlimited | | Saved versions per project | 5 | 100 | 1,000 | | Review on your schema, with risk | yes | yes | yes | | PostgreSQL, MySQL and SQLite | yes | yes | yes | | Import, SQL editing and migrations | yes | yes | yes | | Live database connection, read-only | no | yes | yes | | All six languages | yes | yes | yes | | Email support | no | yes | yes | | Priority support, reply within one business day | no | no | yes | | Help with security reviews | no | no | yes | ## Security - **Schemas only**: We keep the shape of your tables: names, columns, types and relationships. Never the rows in them. - **Your database, only if you connect it**: JillionDB doesn’t connect to your database unless you turn on a live connection, on Pro or Enterprise. Then it uses a login you create that can’t read rows, connects read-only over an encrypted connection, reads table definitions only, and stores the password encrypted. Your own tools apply the SQL it writes. With the bridge, JillionDB never connects at all: you run a small open-source command that sends only table definitions, and your password stays on your machine. - **Private to your account**: Every project, version and proposal belongs to one account. Our tests check that another account can’t see or change them. - **Passwords are never stored**: We keep a scrambled form made with scrypt and a unique salt, so the password itself can’t be read back, even by us. - **Sessions and links**: Your sign-in lives in a cookie scripts can’t read, sent over HTTPS only. Email links work once and expire: 24 hours to confirm an address, 1 hour to reset a password. - **Changing your password signs out your other devices**: And repeated wrong guesses are slowed down, by address and by network. - **Keys are shown once**: Agent keys are stored scrambled, like passwords. Settings shows when each was last used, and revoking one takes effect immediately. - **Only a person can approve**: An agent can read schemas and propose changes. Approving happens in JillionDB, signed in as you. There’s no way for an agent to approve its own proposal. - **Limits on every key**: Each key can make up to 240 requests a minute, and a project holds at most 50 waiting proposals. - **HTTPS everywhere**: Every page and request is encrypted, and browsers are told to never use an unencrypted connection. - **Only our own code runs**: No ads, trackers or third-party scripts. A strict content policy stops anything else from running on our pages, and the site can’t be embedded in another one. - **Changes come from JillionDB only**: Any request that changes your account or projects must come from jilliondb.com itself, so another site can’t act on your behalf. Not yet: Two-step sign-in; Single sign-on for teams; An independent security audit or certification. ## Docs - [Getting started](https://jilliondb.com/docs/start): JillionDB shows you what your coding agent wants to change in your database before anything happens, in plain words, with the risk of each change. - [Connect your agent](https://jilliondb.com/docs/connect): Agents connect to JillionDB over MCP, the standard way AI tools reach other services. It takes one key and one command. - [Reviewing a proposal](https://jilliondb.com/docs/review): Every change an agent proposes waits for you. Here’s how to read it and what each choice does. - [Risk levels](https://jilliondb.com/docs/risk): Every change gets one of three levels and a reason. The level is about what can happen to data that’s already in your database. - [The schema designer](https://jilliondb.com/docs/designer): Underneath the reviews is a full schema designer. Use it to set up a project, or on its own. - [Live database](https://jilliondb.com/docs/live): Connect your real database so JillionDB can tell you when it and JillionDB disagree. Pro and Enterprise. - [For agents and developers](https://jilliondb.com/docs/agents): The technical reference: the MCP endpoint, its tools, and the shape of a proposal. ## Pages - [Home](https://jilliondb.com/) - [Claude Code setup](https://jilliondb.com/claude-code) and [Cursor setup](https://jilliondb.com/cursor) - [Pricing](https://jilliondb.com/pricing) - [How JillionDB compares](https://jilliondb.com/compare) - [Security](https://jilliondb.com/security) - [Changelog](https://jilliondb.com/changelog) - [Press kit](https://jilliondb.com/press) - [Press release, 2026-11-12: Your AI agent wants to change your database. JillionDB makes it ask first.](https://jilliondb.com/press/2026-11-launch) ([plain text](https://jilliondb.com/press/2026-11-launch.txt)) - [Privacy](https://jilliondb.com/privacy) and [Terms](https://jilliondb.com/terms) ## Optional - [Full text of every docs page, the FAQ and pricing](https://jilliondb.com/llms-full.txt) - [Live demo, no sign-up](https://jilliondb.com/demo)