profullstack

Dbml.Db — Data skill for Claude Code

Data community

DBML for AI agents: validate, review and convert database schemas over an HTTP API, MCP server and CLI.

How to install Dbml.Db

This entry records only its repository, not the path inside it, so there is no exact command to give. Open profullstack/dbml.db and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dbml.Db does

DBML for AI agents: validate, review and convert database schemas over an HTTP API, MCP server and CLI. https://dbml.db.pit.world

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • MCP Server Supabase — Supabase database and auth integration 2.6k ★
  • Everyinfra Agent Plugins — EveryInfra MCP server & agent plugin: scraper API for TikTok, Instagram, Amazon, YouTube, Xiaohongshu & Douyin 1.1k ★

README

dbml.db

DBML as a service for AI agents. Build, validate, review and convert database schemas written in [DBML](https://dbml.dbdiagram.io/docs) over an HTTP API, an MCP server and a CLI.

Free, no account, rate limited per caller. No AI model is called: every answer is deterministic.

What it does

API MCP tool CLI
Validate (errors with line/column) POST /api/v1/validate validate_dbml dbml validate
Parse to a JSON model POST /api/v1/parse parse_dbml dbml parse
Summary (counts, outline) POST /api/v1/summary summarize_dbml dbml summary
ER diagram (SVG) POST /api/v1/diagram diagram_dbml dbml diagram
Review (lint, score 0-100) POST /api/v1/review review_dbml dbml review, dbml watch
Canonical format POST /api/v1/format format_dbml dbml format
DBML to SQL (postgres, mysql, mssql, oracle) POST /api/v1/dbml-to-sql dbml_to_sql dbml to-sql
SQL to DBML (postgres, mysql, mssql, oracle, snowflake, schemarb, json) POST /api/v1/sql-to-dbml sql_to_dbml dbml from-sql
Review rules GET /api/v1/rules list_review_rules dbml rules
DBML cheat sheet GET /api/v1/syntax dbml_syntax dbml syntax
curl -s https://dbml.db.pit.world/api/v1/review -H 'content-type: application/json' \
  -d '{"dbml":"Table users { id int [pk]\n email varchar }"}'

curl -s 'https://dbml.db.pit.world/api/v1/dbml-to-sql?dialect=mysql' \
  -H 'content-type: text/plain' --data-binary @schema.dbml

claude mcp add --transport http dbml https://dbml.db.pit.world/mcp

Invalid DBML answers `422` with `errors: [{message, line, column, end_line, end_column, code}]` (`/validate` ans