# erdlens

> erdlens — ryanda9910-erdlens. Use this tool when you need to automatically generate and maintain up-to-date entity-relationship diagrams from your database schema. Erdlens solves the problem of manual diagram maintenance by reading schema definitions from SQL DDL, Prisma, Drizzle, TypeORM, or SQLAlchemy and writing Mermaid ER diagrams into your documentation. It takes database schema as input and produces updated diagrams as output, ideal for use cases where schema changes frequently.

Canonical page: https://skillsregistry.net/skills/ryanda9910-erdlens  
JSON: https://api.skillsregistry.net/v1/skills/ryanda9910-erdlens

## Description

MCP server that reads your database schema from SQL DDL, Prisma, Drizzle, TypeORM, or SQLAlchemy, generates a Mermaid ER diagram, and writes it into your documentation, with drift detection to keep diagrams up-to-date.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/hgr0uywk37)
- **Repository:** <https://github.com/ryanda9910/erdlens>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ryanda9910-erdlens"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ryanda9910-erdlens` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ryanda9910-erdlens/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
