About Erdlens
Erdlens is an MCP server in the Data category: mCP server: turn your schema (SQL, Prisma, Drizzle, TypeORM, SQLAlchemy) into a Mermaid ER diagram written straight into your docs, with drift-check. Zero-dep.
Install
git clone https://github.com/ryanda9910/erdlensThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
----
Parameters not published.
drift_checkcompares an ERD already in a `.mmd`/`.md` against the current schema, and reports every table, column, and relation added or removed since. Run it in CI so a stale diagram fails the build
Parameters not published.
render_erdwrites the ERD to disk: `.mmd` source, an embeddable `.md`, and a self-contained `.html` preview — so it goes straight into a doc, no copy-paste
Parameters not published.
render_workflowsame as `render_erd`, for workflows — writes the flowchart to disk, embeddable
Parameters not published.
schema_to_erdschema (path or text) → Mermaid `erDiagram` + a ```mermaid fenced block to paste anywhere
Parameters not published.
workflow_to_diagrama workflow spec (a tiny text DSL or JSON steps) → Mermaid `flowchart` + fenced block. Document a process, pipeline, or state machine next to the ERD
Parameters not published.
Ask AI
Ask AI about Erdlens
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.