SchemaSketch MCP Server
Design database diagrams in DBML: create, edit, validate, export SQL, Laravel, Mermaid.
SchemaSketch scores 67 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 15 tools. Filed under Databases. GitHub shows 1 stars. Package registries report about 281 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
88/100 for listing completeness. Lost points: 5 of 15 tools barely described, short summary.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "schemasketch-dev-schemasketch-mcp-server": { "command": "npx", "args": [ "-y", "schemasketch-mcp-server@1.3.1" ], "env": { "SCHEMASKETCH_TOKEN": "YOUR_SCHEMASKETCH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SCHEMASKETCH_TOKENSecret | Optional | Token from schemasketch.dev (Connect AI agent in the app menu). Offline tools work without it. |
Tools15Tool docs quality grade D
All capabilitiescreate_diagramtoolCreates a diagram.
delete_diagramtoolPermanently deletes a diagram.
Laravel migration files for a diagram or raw DBML.
Laravel Eloquent models (fillable, casts, relationships) for Laravel 10 or 11+.
export_mermaidtoolMermaid erDiagram syntax.
export_plantumltoolPlantUML entity syntax.
export_sqltoolSQL DDL (PostgreSQL, MySQL, SQL Server, Oracle) for a diagram or raw DBML.
Returns the DBML syntax reference. Call it before writing or editing DBML.
get_diagramtoolFetches one diagram's DBML source and positions.
import_mermaidtoolConverts Mermaid erDiagram syntax into DBML.
import_plantumltoolConverts PlantUML entity syntax into DBML.
import_sqltoolConverts SQL DDL into DBML (save it with creatediagram / updatediagram).
About
SchemaSketch MCP server
Lets AI agents (Claude, Cursor, Windsurf, Gemini and any other MCP client) read and edit your SchemaSketch database diagrams: list them, read and write DBML, validate it, and convert to and from SQL, Laravel migrations and Eloquent models, Mermaid and PlantUML.
1. Get a token
Sign in at schemasketch.dev/app (free), click Connect AI agent, and generate a token. Choose Read & edit, or Read-only if the agent should only look; read-only tokens hide the tools that change diagrams.
2. Connect your agent
Run it locally (npm)
Needs Node 18 or newer. Add this to your MCP client's config:
{
"mcpServers": {
"schemasketch": {
"command": "npx",
"args": ["-y", "schemasketch-mcp-server"],
"env": { "SCHEMASKETCH_TOKEN": "your-token" }
}
}
}
Instead of a token you can set SCHEMASKETCH_EMAIL and SCHEMASKETCH_PASSWORD; the
server then logs in by itself. A token is safer, since it can be read-only, expires, and
can be revoked without changing your password.
Or use the hosted server (no install)
Clients that support remote MCP servers with a custom header can connect directly:
{
"mcpServers": {
"schemasketch": {
"url": "https://mcp.schemasketch.dev/mcp",
"headers": { "Authorization": "Bearer your-token" }
}
}
}
In Claude Code: claude mcp add --transport http schemasketch https://mcp.schemasketch.dev/mcp --header "Authorization: Bearer your-token"
Claude Desktop
Download schemasketch.mcpb and drag it onto Claude Desktop; it asks for your token.
Tools
The same 15 tools in every setup:
| Tool | Does |
|---|---|
get_dbml_syntax_guide | Returns the DBML syntax reference. Call it before writing or editing DBML. |
list_diagrams | Lists your saved diagrams. |
get_diagram | Fetches one diagram's DBML source and positions. |
validate_dbml | Parses DBML and reports syntax errors and warnings, without saving. |
create_diagram | Creates a diagram. |
update_diagram | Replaces a diagram's DBML and/or renames it. |
delete_diagram | Permanently deletes a diagram. |
export_sql | SQL DDL (PostgreSQL, MySQL, SQL Server, Oracle) for a diagram or raw DBML. |
export_laravel_migrations | Laravel migration files for a diagram or raw DBML. |
export_laravel_models | Laravel Eloquent models (fillable, casts, relationships) for Laravel 10 or 11+. |
export_mermaid | Mermaid erDiagram syntax. |
export_plantuml | PlantUML entity syntax. |
import_sql | Converts SQL DDL into DBML (save it with create_diagram / update_diagram). |
import_mermaid | Converts Mermaid erDiagram syntax into DBML. |
import_plantuml | Converts PlantUML entity syntax into DBML. |
Good to know
- The hosted server allows 60 requests a minute per token. Going over returns
429withretry_afterin seconds. - An invalid or expired token returns a message telling you to create a new one.
- Agents work better with the SchemaSketch skill installed:
npx skills add SchemaSketch-dev/schemasketch-skills(more install options).
Full documentation: schemasketch.dev/docs
Source and issues
Source: github.com/SchemaSketch-dev/schemasketch-mcp-server. Report problems in its issues or at hello@schemasketch.dev. Changes are listed in CHANGELOG.md.
License
MIT
Frequently asked questions
What is SchemaSketch MCP Server?
Design database diagrams in DBML: create, edit, validate, export SQL, Laravel, Mermaid.
How do I install SchemaSketch MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SchemaSketch MCP Server runs locally from the npm package schemasketch-mcp-server with the command npx -y schemasketch-mcp-server@1.3.1.
Is SchemaSketch MCP Server free and open source?
Yes. SchemaSketch MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does SchemaSketch MCP Server support remote (HTTP) connections?
Yes. SchemaSketch MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does SchemaSketch MCP Server provide?
SchemaSketch MCP Server provides 15 tools, including create_diagram, delete_diagram, export_laravel_migrations, and export_laravel_models. See the full tool list for descriptions and parameters.
How is SchemaSketch MCP Server's trust score calculated?
SchemaSketch MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.