Skip to content
SchemaSketch logo
MCP server
RegistryRemote

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.

by schemasketch-devMITJavaScript1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "schemasketch-dev-schemasketch-mcp-server": {      "command": "npx",      "args": [        "-y",        "schemasketch-mcp-server@1.3.1"      ],      "env": {        "SCHEMASKETCH_TOKEN": "YOUR_SCHEMASKETCH_TOKEN"      }    }  }}

Environment variables

NameRequiredNotes
SCHEMASKETCH_TOKENSecretOptionalToken from schemasketch.dev (Connect AI agent in the app menu). Offline tools work without it.

Tools15Tool docs quality grade D

All capabilities

About

SchemaSketch MCP server

Latest version Tests Downloads Node MCP License SchemaSketch status

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:

ToolDoes
get_dbml_syntax_guideReturns the DBML syntax reference. Call it before writing or editing DBML.
list_diagramsLists your saved diagrams.
get_diagramFetches one diagram's DBML source and positions.
validate_dbmlParses DBML and reports syntax errors and warnings, without saving.
create_diagramCreates a diagram.
update_diagramReplaces a diagram's DBML and/or renames it.
delete_diagramPermanently deletes a diagram.
export_sqlSQL DDL (PostgreSQL, MySQL, SQL Server, Oracle) for a diagram or raw DBML.
export_laravel_migrationsLaravel migration files for a diagram or raw DBML.
export_laravel_modelsLaravel Eloquent models (fillable, casts, relationships) for Laravel 10 or 11+.
export_mermaidMermaid erDiagram syntax.
export_plantumlPlantUML entity syntax.
import_sqlConverts SQL DDL into DBML (save it with create_diagram / update_diagram).
import_mermaidConverts Mermaid erDiagram syntax into DBML.
import_plantumlConverts PlantUML entity syntax into DBML.

Good to know

  • The hosted server allows 60 requests a minute per token. Going over returns 429 with retry_after in 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server