Data & databasesAI-integrated

drawDB

Draw a database's tables and the links between them in your browser, then turn the drawing into SQL code.

Coding needed
No
Cost
Free
Runs on
Web browser, Server
Computer
An ordinary computer is fine
Drafted with AI

What it does

drawDB is a free editor for database diagrams that runs in your web browser. You draw the tables a database will have, their columns, and how they link to each other. This kind of drawing is called an entity relationship diagram.

It can turn a diagram into SQL scripts (the code that creates the database), import existing SQL to draw it, and generate migrations (step-by-step changes from one version of a database to the next). Its makers say no account is needed.

It can also be run on your own server with Docker. Sharing diagrams needs an extra server that is set up separately.

AI integration

drawDB's makers run an MCP server (a standard plug that lets AI assistants use other software) that gives AI agents read-only access to your saved drawDB diagrams, so they can look up tables, columns and links while helping write queries or code. It needs an API key from your drawDB profile; without one, only the public example schemas are available.

Type
Connector for AI assistants (for example, an MCP server)
Enabled by default
No. The integration is used only once an AI assistant is connected.
Compatible with
Any AI assistant that supports MCP, such as Claude Desktop, Cursor, Cline or Windsurf

Source: the makers' documentation on this integration.

Who it's for

Developers, students and anyone planning a database who wants to sketch its structure visually.

Can I use it without coding?

Yes. You can use it straight away in a web browser without creating an account. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Web browser, Server
Computer
An ordinary computer is fine
API key
Not needed

Try it

  1. Open drawDB's website in your web browser.
  2. Add tables and columns, then draw links between them.
  3. Export your diagram as SQL code.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (AGPL-3.0): Free to use; if you run a changed version as an online service, you must share your source code.
  • More on staying safe