
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
mcp-schema-designer
Advanced tools
MCP server for database schema design and SQL generation. Design schemas, validate them, generate migrations, produce typed outputs, and optimize queries.
MCP server for database schema design and SQL generation. Design schemas from natural language, validate them for best practices, generate migrations, produce typed outputs (TypeScript/Zod/JSON Schema), and optimize queries -- all targeting PostgreSQL.
Pure logic -- no database connection needed. It generates SQL, it does not run it.
| Plan | Price | Features | |
|---|---|---|---|
| Free trial | $0 | 3 calls total (shared across all tools), no credit card | npx -y mcp-schema-designer |
| Basic | $10/mo | design_schema, validate_schema, generate_types | Buy → |
| Pro | $20/mo | All Basic tools + migrate_schema, optimize_queries | Buy → |
License keys are delivered to your email immediately after checkout. More info: aivp-mcp.vercel.app
Note: the npm package is
mcp-schema-designer(the bare nameschema-designeris a different, unrelated package).
No install step needed — run straight from npm:
npx -y mcp-schema-designer
Or install globally:
npm install -g mcp-schema-designer
Free trial: 3 calls total (shared across all tools), no credit card. Buy a license at the links in Pricing — your key is emailed instantly. Activate it with the LICENSE_KEY environment variable.
npx -y mcp-schema-designer
npx -y mcp-schema-designer --sse
# Listening on http://localhost:3000
Set a custom port:
PORT=8080 npx -y mcp-schema-designer --sse
Add to your claude_desktop_config.json:
{
"mcpServers": {
"schema-designer": {
"command": "npx",
"args": ["-y", "mcp-schema-designer"],
"env": { "LICENSE_KEY": "<your license key — omit for free trial>" }
}
}
}
design_schemaDesign a database schema from a natural language description. Generates CREATE TABLE SQL (PostgreSQL), index recommendations, and a text-based ERD.
Input:
{
"description": "An e-commerce platform with products, orders, and user accounts"
}
Or provide explicit table definitions to validate and enhance:
{
"description": "Custom blog schema",
"tables": [
{
"name": "posts",
"columns": [
{ "name": "id", "type": "SERIAL", "primary": true },
{ "name": "title", "type": "VARCHAR(255)" },
{ "name": "author_id", "type": "INTEGER", "references": "users.id" }
]
}
]
}
validate_schemaValidate SQL CREATE TABLE statements for best practices.
Checks for:
Input:
{
"sql": "CREATE TABLE User (id SERIAL PRIMARY KEY, firstName VARCHAR(255), orderTotal FLOAT);"
}
migrate_schemaGenerate migration SQL by diffing two schemas.
Input:
{
"from_sql": "CREATE TABLE users (id SERIAL PRIMARY KEY, name VARCHAR(255));",
"to_sql": "CREATE TABLE users (id SERIAL PRIMARY KEY, name VARCHAR(255), email VARCHAR(255) NOT NULL UNIQUE);"
}
Output: UP migration (ALTER TABLE to add email column), DOWN migration (rollback), warnings for destructive changes.
generate_typesGenerate typed code from SQL schema. Supports three output formats.
Input:
{
"sql": "CREATE TABLE users (id SERIAL PRIMARY KEY, email VARCHAR(255) NOT NULL UNIQUE, name VARCHAR(255), created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP);",
"format": "typescript"
}
Formats:
| Format | Output |
|---|---|
typescript | TypeScript interfaces with Create variants |
zod | Zod validation schemas with inferred types |
json-schema | JSON Schema (draft 2020-12) definitions |
optimize_queriesAnalyze a SQL query against a schema and suggest performance improvements.
Input:
{
"query": "SELECT * FROM orders WHERE user_id = 123 AND status = 'active' ORDER BY created_at DESC OFFSET 500",
"schema_sql": "CREATE TABLE orders (id SERIAL PRIMARY KEY, user_id INTEGER REFERENCES users(id), status VARCHAR(50), created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP);"
}
Identifies:
npm install
npm run dev # Watch mode
npm run build # Production build
npm start # Run stdio
MIT
FAQs
MCP server for database schema design and SQL generation. Design schemas, validate them, generate migrations, produce typed outputs, and optimize queries.
We found that mcp-schema-designer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.