erd-editor

Из публичных источников

ERD Editor: визуальное проектирование схем баз данных, импорт SQL DDL, GraphQL, DBML и AML, экспорт DDL и кода для 22 языков. Веб-приложение, Google Drive, VS Code, IntelliJ, Obsidian, пользовательский элемент и MCP-сервер, который позволяет агентам для программирования редактировать диаграммы в реальном времени.

Машинный перевод · Показать оригинал

ERD Editor: design database schemas visually, import SQL DDL, GraphQL, DBML and AML, export DDL and code for 22 languages. Web app, Google Drive, VS Code, IntelliJ, Obsidian, a custom element, and an MCP server that lets coding agents edit diagrams live.

MCP-серверКатегория: MCP-серверы · Базы данных · Git и разработкаOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • code-generation
  • data-modeling
  • database
  • database-design
  • database-schema
  • dbml
  • ddl
  • diagram
  • entity-relationship-diagram
  • erd

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    erd-editor.io/ ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/dineug/erd-editor/releases/tag/v2.2.11 ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/dineug/erd-editor ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———

Релизы

проверено 29 окт. 2026 г.
v5.0.1Последний29 окт. 2026 г.Официальный источник ↗

Файлы версии 5.0.1

К релизу не приложены файлы.

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества95
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 4 days ago
Документация · 1515
README 22285 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 4 days ago
Точность категории · 107
classifier confidence 0.65
Популярность · 108
1726 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 158 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/dineug/erd-editorОсновной★ 1 726 звёздактивность 11 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

dbhubПохожий
Сервер MCP для баз данных, экономящий токены: PostgreSQL, MySQL, SQL Server, Oracle, MariaDB, SQLite.MIT · MCP-серверы
magicПохожий
Мгновенно безопасные полнофункциональные приложения и ИИ-агентыMIT · MCP-серверы
CloudBase-AI-ToolkitПохожий
Бэкенд для ИИ-агентов программирования на CloudBase — база данных, аутентификация, функции через Plugin, Skills и MCP.MIT · MCP-серверы
mcp-redisПохожий
Официальный сервер Redis MCP — интерфейс на естественном языке для агентных приложений, позволяющий эффективно управлять данными в Redis и выполнять их поискMIT · MCP-серверы
mcp-ssh-managerПохожий
MCP SSH-сервер: 37 инструментов для удалённого управления по SSH | Claude Code и OpenAI Codex | автоматизация DevOps, резервное копирование, операции с базами данных, мониторинг состоянияMIT · MCP-серверы
drawio-skillПохожий
Агентский навык, который преобразует описания на естественном языке, код, исходные файлы Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf и GraphQL в редактируемые, протестированные архитектурные диаграммы draw.io: инкрементальная синхронизация, проекция в несколько представлений, сравнение дрейфа, архитектурные тесты в CI, деграфизация с доски (whiteboard derasterize), интерактивный экспорт в HTML/PPTX/Mermaid exMIT · MCP-серверы

README

Из dineug/erd-editor · лицензия MIT · загружено 29 окт. 2026 г.

ERD Editor

Design database schemas visually: in your browser, in your IDE, or by asking your coding agent

English | 한국어 | 中文 | 日本語

Open erd-editor.io in your browser, nothing to install, or get it for VS Code, JetBrains IDEs, Obsidian and Google Drive.

One editor and one .erd.json file wherever you work: on the web, in Google Drive, VS Code, JetBrains IDEs and Obsidian, inside your own app, and in your coding agent's hands.

Features

  • Design — tables, columns, memos and table groups, four relationship cardinalities, ON DELETE and ON UPDATE, alternate keys, Auto Layout
  • Naming standards — logical and physical names, physical names and data types derived from word, term and domain dictionaries, which have their own tab with CSV import and export and checks
  • Import — SQL DDL, GraphQL SDL, DBML and AML, replacing the diagram or adding to it
  • Export — DDL for eight databases, code in 22 languages and ORMs, PNG and SVG
  • Navigate — command palette (Ctrl/Cmd+K), an Explorer tree with find and replace, Graph and Flow views
  • History — undo and redo, time travel through the session, a diff viewer against another file
  • 25 languages and a System, Light or Dark theme with your own gray and accent colors
  • Collaboration — live sessions on erd-editor.io, and coding agents that edit beside you

Databases: Databricks, MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, Snowflake, SQLite

Code: TypeScript, GraphQL, C#, Java, JPA, Kotlin, Scala, Go, SQLAlchemy, TypeORM, Sequelize, Drizzle, DBML, AML, Mermaid, PHP, Doctrine, Rust, SeaORM, Swift, Zod, JSON Schema

Every feature step by step: the Editing Guide.

Coding agents

Ask Claude Code, Codex or any MCP client to change the schema, and watch it happen on the canvas.

[coding agents]

@dineug/erd-editor-mcp gives the agent one tool per editing operation. When VS Code, Obsidian or a JetBrains IDE holds the diagram, the agent joins it as one more collaborator, and its undo reverts only its own edits; with no editor, it edits the file on disk. An editor with its connection off, or an untrusted workspace or project, lets the agent read but refuses its edits. It needs Node.js 22.12 or later. Add it with one command, in your project folder:

# Claude Code
claude mcp add --transport stdio erd-editor -- npx -y @dineug/erd-editor-mcp
# Codex
codex mcp add erd-editor -- npx -y @dineug/erd-editor-mcp

Other clients and the tool list: its README.

Where to use it

Install
Web apperd-editor.ioInstallable PWA that works offline, with real-time collaboration
Google DriveGoogle Workspace MarketplaceDrive's Open with and New menus, saving back to the same file
VS CodeMarketplaceOpens .erd.json files
IntelliJJetBrains MarketplaceOpens .erd.json files in IntelliJ-based IDEs
ObsidianCommunity pluginsOpens .erd and .erd.json files in a vault, desktop only
Your appnpm install @dineug/erd-editorThe <erd-editor> custom element and the read-only <erd-viewer>, no framework needed
Coding agents@dineug/erd-editor-mcpMCP server for Claude Code, Codex and other clients

In an IDE, create an empty .erd.json file and open it. In Obsidian, run ERD Editor: Create new diagram; in Google Drive, choose New → More → ERD Editor.

Real-time collaboration

Every ERD Editor shares its edits as a stream of actions, which keeps several views of one diagram in sync, such as browser tabs or split editors, and lets a coding agent join as one more collaborator.

On erd-editor.io, choose Start session from the collaboration button in the sidebar and share the link: everyone who opens it edits with you. The link is the only key, so share it only with people you would let edit. The session lives in the host's browser and ends when the host closes their last tab, so a guest who wants the diagram exports it first.

Peers connect over WebRTC, with the diagram and every edit encrypted by AES-GCM. The signaling relay never sees plaintext, and the room key lives in the URL fragment, which browsers leave out of every request.

flowchart TB
    subgraph clientA["Client A"]
        bcA["Broadcast Channel"]
        tabA1["Tab (leader)"]
        tabA2["Tab"]
        swA["Shared Worker"]
        idbA[("IndexedDB")]

        bcA <--> tabA1
        bcA <--> tabA2
        tabA1 <--> swA
        tabA2 <--> swA
        swA <--> idbA
    end

    subgraph clientB["Client B (guest)"]
        tabB1["Tab"]
    end

    relay["Signaling Relay (nostr / mqtt)"]

    tabA1 <-->|"WebRTC (AES-GCM)"| tabB1
    tabA1 -. "signaling" .-> relay
    tabB1 -. "signaling" .-> relay

Embedding

npm install @dineug/erd-editor
import '@dineug/erd-editor/erd-editor.js';

const editor = document.createElement('erd-editor');
// the editor fills its container, and a custom element is inline by default
Object.assign(editor.style, { display: 'block', width: '100%', height: '100vh' });
document.body.appendChild(editor);

To show a diagram without editing it, import @dineug/erd-editor/erd-viewer.js and place <erd-viewer src="diagram.erd.json" style="display: block; height: 480px"></erd-viewer>, which pans, zooms and searches it within the box its style gives it. Importing the package root defines neither element.

A page that cannot load scripts, such as a wiki or a site builder, can frame the hosted viewer instead:

<iframe src="https://erd-editor.io/embed?src=https%3A%2F%2Fgithub.com%2Fdineug%2Ferd-editor%2Fblob%2Fmain%2Fdata%2Fembed-small.erd.json" width="100%" height="480" style="border: 0" loading="lazy" title="ERD Editor"></iframe>

That line shows this repository's data/embed-small.erd.json. The builder at erd-editor.io/embed writes it from a file's URL and the viewer's options. A file or gist on GitHub can be given by the address its page shows, as here; the hosted viewer fetches it from GitHub's raw host, which caches each file for five minutes and works for public repositories and public gists only, and of a gist it shows the first file. Any other server holding the file has to allow erd-editor.io's cross-origin requests (CORS).

Both elements work from any framework or from none. Attributes and the element API: packages/erd-editor.

Documentation

Packages

A pnpm workspace. @dineug/erd-editor and @dineug/erd-editor-mcp are published to npm, the three plugins ship through their stores, app is erd-editor.io, and the rest are private libraries those builds take in.

Foldernpm nameDescription
erd-editor@dineug/erd-editorThe editor core: the <erd-editor> custom element, the read-only <erd-viewer> and the headless engine.js and peer.js entries
erd-editor-schema@dineug/erd-editor-schemaThe v2/v3 document schema, parsing, serializers, queries and LWW operators
schema-sql-parser@dineug/schema-sql-parserPermissive DDL parser used for SQL import
uuid@dineug/uuidUUIDv7 and the Uuid25 encoding, the ids the editor mints
r-html@dineug/r-htmlThe tagged-template rendering framework and store the editor is built on
vite-plugin-r-html@dineug/vite-plugin-r-htmlJSX → tagged templates, plus HMR boundaries
r-html-konva@dineug/r-html-konvaThe Konva host for r-html templates, which the editor's canvas renders through
grid@dineug/gridA spreadsheet grid on a Konva canvas, built on r-html-konva, that draws only the cells in view
app@dineug/erd-editor-appThe React PWA at erd-editor.io, with the Google Drive editor at /gdrive, whose OAuth relay is the Pages Function in functions/
vscode-extensionvuerd-vscodeThe published VS Code extension, with its side of the coding-agent hub
vscode-webview@dineug/erd-editor-vscode-webviewThe bundle inside the VS Code webview
webview-client@dineug/erd-editor-webview-clientThe editor mounted into an IDE webview, host protocol wired, shared by both IDE bundles
webview-bridge@dineug/erd-editor-webview-bridgeTyped host ↔ webview command protocol
replication-store-worker@dineug/erd-editor-replication-store-workerHeadless document replica in a Worker, serializing what the IDE webviews and the Obsidian plugin save
intellij-webview@dineug/erd-editor-intellij-webviewThe bundle inside the IntelliJ plugin's editor panel
intellij-plugin@dineug/erd-editor-intellij-pluginThe published IntelliJ plugin, in Kotlin and Gradle, with its own Kotlin hub for coding agents
obsidian-plugin@dineug/erd-editor-obsidian-pluginThe Obsidian plugin, released from erd-editor-obsidian-plugin
agent-hub@dineug/erd-editor-agent-hubThe protocol between an editor window and a coding agent's MCP server: messages, lock files, framing
agent-hub-host@dineug/erd-editor-agent-hub-hostThe editor window's side of that protocol, shared by the VS Code extension and the Obsidian plugin; the IntelliJ plugin ports it to Kotlin
mcp-server@dineug/erd-editor-mcpThe published MCP server, live in VS Code, Obsidian or a JetBrains IDE, or headless on the file

Development

You need Node 22.22.1+, 24.11+ or 26+ (.nvmrc pins 22.23.2), pnpm 10.34.3 and Git 2.32+; the IntelliJ plugin also needs JDK 17+.

pnpm install
pnpm --filter @dineug/erd-editor exec playwright install --with-deps chromium # for pnpm test
pnpm --filter @dineug/erd-editor-app dev # the web app
pnpm check # format and lint
pnpm test  # every package's type check and specs
pnpm build

The IntelliJ plugin builds with Gradle from packages/intellij-plugin, and the e2e suites run apart from pnpm test. AGENTS.md has the rest: which checks a change runs, coverage, the e2e suites and the commit rules.

Contributing

Issues and pull requests are welcome. Commit messages follow Conventional Commits.

License

MIT © SeungHwan-Lee

Открыть репозиторий ↗