
Sqemo
io.github.sqemoPublished by GitHub account sqemov2.8.3Updated Oct 25, 2026
Design ERDs with your team's naming standards: query/edit entities and relationships, SQL/DBML
Overview
Sqemo is a local MCP server that lets an AI assistant model ERDs and generate database names from a team's naming glossary.
- What you can do
- Read and inspect ERDs: list entities, relationships, domains and glossary words, and get an ERD overview or search the team dictionary. Check and generate names: validate logical names against the naming standard and derive physical names from the glossary. Export and compare: produce CREATE TABLE SQL in seven dialects or DBML, diff two ERDs, and build ALTER migration scripts. Edit the model: create ERDs and upsert or delete entities, attributes, relationships, domains, glossary words and naming rules. Inspect live databases: import a PostgreSQL or MySQL schema and check drift against the model, reading only the information schema. Run CLI lint and export commands for CI pipelines.
- When to use it
- Use it when a team wants an assistant to design or edit ERDs while keeping consistent database naming, or to check schemas for naming drift and database drift before writing DDL. It suits teams with a shared glossary and CI pipelines that gate on naming rules.
- Requirements
- Runs locally over stdio via npx and needs Node.js 22 or newer. Local .erd.json files need no account; cloud ERDs and Pro tools need a login through the CLI, either interactive OAuth or email and password, optionally via the SQEMO_EMAIL and SQEMO_PASSWORD variables. Live-database tools need a connection URL.
Installation
In SourceWeft
- Open Sqemo in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
sqemo-mcp
[npm version] [npm downloads] [MCP Registry] [Node] [License: MIT]
MCP server for Sqemo — AI agents that follow your team's database naming standard.
Your agent models in business terms ("Customer Number"); the column comes out as cust_no
because your word list says customer → cust, number → no (case and delimiter are rules
too, so CUST_NO is one setting away). Same input, same name, every
table, every agent. Overrides are allowed but flagged, and a CLI lint catches drift in CI.
Works with Claude Code, Claude Desktop, Cursor, and any MCP client. Local .erd.json files
need no account; cloud ERDs and Pro tools need npx sqemo-mcp login.
What it looks like
Model a discussion board where members post articles, a post can be a reply to another post, and members comment on posts.
The agent calls the tools with logical names and never types a column name:
CNTS and YN are not the agent's taste. They are your word list's abbreviations, applied the
same way they were applied in every other table your team has modelled. Domains carry the data
type, so Content is varchar(1000) everywhere it appears.
[Building a database schema with an AI agent — without naming a single column (3:25)]
Full walkthrough with every tool call: Describe the work, get a governed schema.
Overview
AI agents can query and edit entities, relationships, and domains; generate physical names
from a shared team glossary; import/export SQL (7 dialects) and DBML; and compare the model
against a live database. Works with both local .erd.json files and ERDs stored on the
Sqemo cloud.
- npm:
sqemo-mcp - Official MCP Registry:
io.github.sqemo/sqemo - Web app: app.sqemo.com
Requires Node.js >= 22. Local-file tools work without any account or configuration. Login is needed for cloud ERD tools, and for the tools marked (Pro) below.
Installation
Claude Code (.mcp.json)
Claude Desktop
Add the same mcpServers entry to your config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Cursor (.cursor/mcp.json)
Login (cloud ERDs and Pro tools)
login asks how you want to sign in. Google and GitHub open a browser tab, complete a
PKCE OAuth flow, and hand the session back through a one-shot loopback server on
127.0.0.1; the third option takes an email and password in the terminal. Only a
refresh token is ever stored.
- Credentials are stored in
~/.erdmaker/credentials.json(mode 0600 on POSIX); your password is never persisted. - Non-interactive shortcuts:
--passwordforces the email + password path,--provider google|githubforces a browser path. - Piped input skips the menu and goes straight to email + password, so existing
automation keeps working:
printf 'email\npassword\n' | npx sqemo-mcp login - The browser paths need a browser on the same machine (the callback returns to
127.0.0.1). Over SSH or in CI, use--passwordor theSQEMO_EMAIL/SQEMO_PASSWORDenvironment variables.
What you can do
36 tools in total.
Read (17 tools)
Live database (2 tools)
Read-only against your own database. Both query only the information schema — never table data — and the connection URL is used by this local process only, never sent to Sqemo servers.
Write (17 tools)
Cloud writes require owner or shared-editor permission and are protected by version CAS with 3-way auto-merge for concurrent edits.
CLI for CI pipelines
Offline, file-based subcommands (no login needed):
Drift mode compares the model against a real database or a dump, and exits 1 when they disagree (Pro, requires login):
GitHub Actions example:
Environment variables
The request caps are a safety net against agents stuck in loops; exceeding them
returns a rate_limited error that tells the agent to stop and notify the user.
Errors
All tool errors return { code, message } — e.g. not_authenticated, no_permission,
save_conflict (retry after re-reading), validation_failed, rate_limited.
Links
- Sqemo — team naming standards + ERD design in the browser
- Live database guide — drift checks in CI, step by step
- Plans — which tools need Pro
- sqemo-mcp on npm
- Feedback and bug reports: issues or [email protected]
License
Source: README.md at commit b08b386
Tools
0Version history
2- v2.8.3LatestOct 16, 2026
- v2.8.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts