Alternatives

Alternatives to Eraser, by what you are optimising for.

Eraser's bet is diagram-as-code with a visual editor on top. The alternatives all disagree about a different part of that.

Download for macOS
v0.1.33 · .dmg · Apple Silicon & Intel
Signed & notarized by Apple · opens without a Gatekeeper warning
sha256 698955a0187bc039f4c74f5d05a9f10fbb27376a45788a0a241d1326b73873c7
Download for Windows instead
$curl -fsSL https://lucidtrain.com/install.sh | sh

Eraser combines a diagram-as-code syntax with a visual editor, cloud icons, a document editor for runbooks and an MCP server so an AI client can create diagrams in your workspace. The alternatives sort by what you are actually optimising for. For a free text source you own, Mermaid, D2 and PlantUML. For collaborative C4 modelling, IcePanel and Structurizr. For diagrams derived from the repository rather than authored, CodeViz, GitDiagram and Lucid Train. For a general canvas, draw.io and Excalidraw.

If the hosted workspace is the problem

Eraser is a hosted product, so diagrams live in its workspace and your architecture is on someone else's servers. If that is the blocker, the options are a local text format such as D2 or PlantUML, a local canvas such as draw.io's desktop app or Excalidraw, or a desktop application such as Lucid Train that reads the repository without uploading it.

If you want to stop authoring diagrams

Eraser still asks you to describe the diagram, whether by typing its syntax or prompting a model. Tools that read the codebase remove the authoring step entirely: CodeViz inside VS Code, GitDiagram for a public repo URL, and Lucid Train as a desktop app whose diagrams also become implementation specifications. The trade is that generated diagrams show what exists and cannot state intent.

If you want the MCP server specifically

Eraser's MCP server lets an AI client create and edit diagrams in an Eraser workspace, which is the right answer if that is where your diagrams should end up. Lucid Train also runs as an stdio MCP server, and the difference is architectural: its diagram tool takes a semantic graph with no coordinates and runs a layout solver, so the model never chooses positions. Lucid Software publishes an official MCP server for Lucidchart and Lucidspark if that is your workspace instead.

If price is the constraint

Mermaid, D2, PlantUML, draw.io, Excalidraw and GitDiagram are free. Lucid Train's CLI is free and open source with the desktop app at $3 a month or $30 a year. IcePanel has a free tier capped at 5 editors and 100 model objects.

Where Lucid Train sits

Lucid Train is one of the options below rather than the conclusion. It is a desktop application that generates architecture diagrams from a codebase and hands them to a coding agent, it has no browser version, no real-time collaboration and no share links, and for several of the needs on this page it is the wrong answer.

When this was checked

Facts here were checked against each vendor's own site on 22 August 2026. Pricing and features change without notice, so verify anything you are about to decide on.

By reason for leaving

You wantLook at
Nothing hostedD2, PlantUML, draw.io desktop, Lucid Train
No authoring at allCodeViz, GitDiagram, Lucid Train
A diagramming MCP serverLucid Train, Lucid Software's official server
FreeMermaid, D2, PlantUML, Excalidraw, GitDiagram
Collaborative C4IcePanel, Structurizr
FAQ

Questions

Is there a self-hosted or local Eraser alternative?

For text sources, D2 and PlantUML run locally. For a canvas, draw.io's desktop app and Excalidraw. For generated diagrams, Lucid Train is a desktop app that reads the repository on your machine.

Which alternatives have an MCP server?

Lucid Train runs as an stdio MCP server, and Lucid Software publishes an official one for Lucidchart and Lucidspark. Check the transport before committing, since many clients accept stdio only.

Do any of them generate diagrams from a codebase?

CodeViz, GitDiagram and Lucid Train do. Most of the rest, Eraser included, are authoring tools whether you type the syntax or prompt for it.

Related

Last updated