From user story to SQL, for free.
User stories, use cases and the MCD in one document. The logical model and the SQL follow the diagram. No sign-up needed.
The whole analysis, in one place
A document has three screens. Pick the ones you need; they share their actors and modules.
User stories
“As a… I want… so that”, priority, estimate, scenarios and tests. Grouped by module, copied as Markdown.
What's a user story?Use cases
Actors, cases, include, extend and generalisation. Rearrange tidies the diagram with as few crossings as possible.
What's a use case?MCD
Merise, UML or relational. The logical model and the SQL script are written as you draw.
What's an MCD?
- One registry
- Actors and modules are defined once. Rename one and it changes everywhere. Link them to the MCD entities they work with.
- To check
- A story without a case, an actor missing from its case: macgram points it out and fixes it in one click.
With a free account
Put a document in the cloud: it's on your PC, your laptop and in the browser, and your friends edit it with you.
The same document everywhere
Every change goes out at once and shows up on your other devices. The last document you opened reopens at launch.
Together, live
You see who's there and on which screen, their pointer with their name, and the boxes moving as they drag them. The AI too.
Shared with your friends
Share, tick your friends, copy the link. They find it under Shared with me. Only you rename, delete or share it.
Version history
A version is kept every 30 minutes of editing, or whenever you choose. Preview it, restore it or export it.
With the Pro plan, coming soon: SQL script import into a diagram, the editor's colours and fonts, more documents and versions. See the plans
What else it does
A file git can read
A diagram is a .mcd.json file, one element per line. Adding an attribute changes one line, and two branches don't step on each other.
The desktop app reloads the diagram after a git pull.
@@ -7,7 +7,8 @@ "name": "Client", "attributes": [ {"name": "id", "type": "int", "id": true},- {"name": "nom", "type": "varchar(50)"}+ {"name": "nom", "type": "varchar(50)"},+ {"name": "email", "type": "varchar(100)", "unique": true} ] },Download macgram
With the AI assistant, which works on the whole document, and your files saved straight to disk. It updates itself.
Version 0.17.1, released 18 November 2026. See what's new
No macOS build yet. In the meantime, the editor works in the browser.
On version 0.4.2 or older?
Install the new version over it. Later ones update themselves.
One account for the app, the web editor and the site.All versions
Questions
What's an MCD?
The conceptual data model of Merise, the method most French-speaking schools teach for database design. A diagram close to an ER diagram: entities, their attributes and the associations between them. The MCD page walks through an example.
Does it handle user stories and use cases?
Yes. A document can have three screens: user stories, use cases and the MCD, sharing their actors and modules. The To check tab finds where the stories and the cases disagree. See user stories and use cases explained.
And the MLD?
The logical data model: the MCD turned into tables. macgram does it for you.
Is it really free?
Yes, for everyone, companies included. The software remains its publisher's property: you may not sell or redistribute it.
Are my documents sent anywhere?
No, they stay on your machine. Unless you put one in the cloud: it is then kept on macgram's server, in Belgium, and only the friends you share it with can reach it.
Does it generate SQL?
Yes, in PostgreSQL, MySQL / MariaDB, SQLite, SQL Server or Prisma. File › Export to save it.
Can we work on it together?
Yes, with a free account. Put your document in the cloud, add your friends, then Share in the toolbar: tick them, and copy the link to send it. The free plan sets how many documents and friends you get.
What if I lose the connection?
Your changes stay in the editor until the server has saved them. Once back, it takes the server's document and sends again what's missing.
Can I go back to an older version?
Yes, for a cloud document: File › Versions… A version is kept every 30 minutes of editing, or by hand. You preview it before restoring it.
I use Looping. Can I bring my diagrams?
Yes, open your .loo with Ctrl+O. Attribute types aren't carried over.
How does the AI assistant work?
In the desktop app, macgram starts Claude Code or Codex with your own account, no key to paste. You can also plug in an OpenAI-compatible API or a local model with Ollama. The AI works on the whole open document (stories, cases, MCD), not on your files.
What about Mac?
No download yet, but the online editor works in the browser.