schema-viz
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@schema-vizshow my database schema as an ER diagram"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
schema-viz MCP server
A local MCP server that renders a database schema as an interactive, dbdiagram.io-style ER diagram in your browser: draggable table cards, color-coded headers, PK/FK/unique badges, relationship lines, pan, and zoom. No internet, no account — it runs entirely on this machine.
How it works
You give it DBML (the same syntax as dbdiagram.io) — either inline text or a path to a
.dbmlfile. With no input it shows the bundledschema.dbml(the LLM-Tinder schema).It parses the DBML (small dependency-free parser in
lib/parseDbml.js), renders a self-contained HTML page, serves it from a local HTTP server (http://127.0.0.1:4477), and opens your browser.Call it again with an updated schema and the open tab auto-reloads.
Related MCP server: paycoreDb
Tools
Tool | What it does |
| Render & open a schema. Args: |
| Report whether the viewer is running and its URL. |
Register with Claude Code
A project-scoped .mcp.json is already created at the repo root pointing at
schema-mcp/index.js. Restart Claude Code (or approve the server when prompted)
and the schema-viz tools become available. Verify with /mcp.
To register it globally instead:
claude mcp add schema-viz -- node "$(pwd)/schema-mcp/index.js"Try it without MCP
cd schema-mcp
npm install
npm run demo # parses schema.dbml, serves it, opens the browserDiagram controls
Drag a table header to move it; relationship lines follow.
Drag the background to pan; scroll to zoom (or use the toolbar
+ / −).Auto-arrange re-packs the tables; Reset restores the default view.
Config
Port: set
SCHEMA_VIZ_PORT(default4477).
Slash commands (bonus)
commands/ holds the versioned source for the companion Claude Code slash commands:
schema.md→/schema— render the current project's.dbmlas the interactive diagram.xray.md→/xray— explain any project (structure, stack, backend, live runtime) and feed the visualizer's Infrastructure / How-it-was-built tabs viadisplay_schema'scontextarg.
These must live in ~/.claude/commands/ to work — this folder is the backup / source of truth.
Install with: cp commands/*.md ~/.claude/commands/
Tabbed dashboard (optional)
Pass a context object to display_schema to turn the diagram into a multi-tab dashboard:
Schema — the ER diagram (always present).
Infrastructure — cards of
{ title, rows: [[label, value]] }: database, auth, hosting, env var names (never values), MCPs. Reproducible from a project's files.How it was built —
buildSteps: [{ phase, items: [{ what, why }] }], a step-by-step story.
With no context, only the Schema tab shows (backward compatible). The /xray command assembles
this context automatically from the project.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceMCP server that generates Mermaid diagrams with live browser preview, supports real-time rendering and SVG/PNG export.Last updated12
- Flicense-qualityCmaintenanceCustom MCP server connected to a read-only SQLite database, exposing a schema resource and a query tool for safe data retrieval.Last updated
- AlicenseAqualityAmaintenanceMCP 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.Last updated51MIT
- FlicenseAqualityCmaintenanceA static, read-only MCP server that exposes a database knowledge base (schema, relationships, workflows, and reasoning patterns) so Claude Code / Copilot can reason about a database without a live connection.Last updated10
Related MCP Connectors
MCP server for managing Prisma Postgres.
Monitor MCP servers, API contracts and AI outputs for schema drift. Alerts on breaking changes.
MCP server for interacting with the Supabase platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/christianhoustonfloyd/schema-viz-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server