ErdDocs
Draw an ER diagram from SQL, Prisma or ORM models with one tool call
- Pricing
- Freemium
- Platforms
- Web, API
- Runs
- Remotely
- Version
- 1.0.1
- Listing updated
- 2 days ago
About ErdDocs
ErdDocs is a freemium MCP server for databases. It runs as a hosted remote server, so there is nothing to install locally.
One tool, open_er_diagram, receives schema text and returns a link to an interactive diagram plus a printable data dictionary on erddocs.com. The server compresses the schema into the link itself and does not parse, store or log it; only the call, the format and a rough table count are counted. The diagram is parsed in the viewer's browser.
It reads SQL dumps, Prisma, DBML, Mermaid, PlantUML, Django, SQLAlchemy, Sequelize, TypeORM and Laravel. Relations without a declared foreign key are inferred from column names and drawn dashed. Links hold a few dozen tables, with about 32,000 characters as the safe limit; for larger schemas the tool says so and points to the website.
The free tier shows schemas up to 25 tables in full. A one-time $9 licence removes the limit and unlocks the full data dictionary.
Install
Run in a terminal
claude mcp add --transport http erd-diagram https://erddocs.com/mcpAdd to Settings → Connectors → Add custom connector
https://erddocs.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"erd-diagram": {
"url": "https://erddocs.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"erd-diagram": {
"type": "http",
"url": "https://erddocs.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"erd-diagram": {
"serverUrl": "https://erddocs.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"erd-diagram": {
"type": "http",
"url": "https://erddocs.com/mcp"
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- open_er_diagram
- Takes schema text and returns a link to an interactive ER diagram and data dictionary.
What it does
- One-call diagrams
- Passes the schema to one tool and gets back a link.
- Many formats
- Reads SQL, Prisma, DBML, ORMs.
- Inferred relations
- Draws column-name matches dashed.
- Data dictionary
- Lists every table, column, type and default.
- No storage
- Schema travels inside the link.
Good for
- Show a project's database schema
- Document a legacy database
- Review Prisma models
- Generate a dictionary for a schema
Pricing
Freemium
Free up to 25 tables; $9 one-time licence
Prices change. Check erddocs.com before you buy.
ErdDocs FAQ
Is an account needed?
No account or key.
What are the free limits?
25 tables in full.
How much is the licence?
$9 once, with a 14-day refund.
Is ErdDocs free?
ErdDocs has a free plan, with paid plans for more usage or features.
How do I add ErdDocs to Claude Code?
Run this command in your terminal: claude mcp add --transport http erd-diagram https://erddocs.com/mcp
What are the best alternatives to ErdDocs?
The closest alternatives to ErdDocs are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to ErdDocs

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools