Schemity
Local database MCP server that lets AI agents read schemas and stage edits without running
Schemity is a freemium MCP server for databases. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- macOS, Windows, Linux
- Runs
- Locally
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp -- npx -y schemity-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"schemity-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"schemity-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"schemity-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"schemity-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp -- npx -y schemity-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "schemity-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"schemity-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Or run: gemini mcp add -s user mcp npx -- -y schemity-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "schemity-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Schemity
Schemity's MCP server is built into its desktop database design app and runs on your own machine. An agent connected through Claude Code, Cursor, Codex or another MCP host can read tables, relations, context views and lint findings, and measure what a pending migration would do to existing data. Edits the agent proposes appear as unsaved changes on the diagram, and nothing reaches the database until you click Migrate yourself.
The server deliberately has no tool that executes SQL written by the agent and none that returns rows. Its only database query is an exact row count for a specific finding, run on request with a 60-second timeout. The agent connects to a localhost server with a bearer token, so it never sees a password or connection string.
The server suits engineers who want an assistant's help with schema design and migration review while keeping data access closed. Teams that need an agent to answer questions about row contents will need a separate SQL-capable server. The MCP server is part of the paid desktop license, with a 2-week trial.
Tools this server provides (19)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 12 of 19 tools read data; 7 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_schemaName suggests: reads
- Tables, columns, keys, checks and indexes of a diagram or context view, with no row data.
- get_dependenciesName suggests: reads
- Relations into and out of one table, with the columns on both sides.
- get_context_viewsName suggests: reads
- Context views, dependencies between them, cycles and undeclared foreign keys.
- get_data_dictionaryName suggests: reads
- Markdown data dictionary of the diagram or one context view.
- lint
- Schema findings on conventions, missing indexes and type mismatches.
- get_pending_changesName suggests: reads
- Unsaved edits as the undo history that produced them.
- analyze_impactName suggests: reads
- Cost of a pending migration: data loss, failing statements, rewrites and dependents.
- analyze_migration_fileName suggests: reads
- Impact analysis for a migration file, parsed and never executed.
- count_rowsName suggests: reads
- Exact SELECT COUNT for one finding, with a 60-second timeout, only on request.
- open_schemity
- Start the app or bring it to the front.
- list_diagramsName suggests: reads
- List the diagrams open right now.
- find_diagramsName suggests: reads
- Find saved diagrams by name, database or workspace.
- open_diagram
- Open a named diagram in a new tab.
- show_previewName suggests: reads
- Draw pending edits, a migration file or tables on the canvas with findings.
- propose_changes
- Create, change and delete tables, columns, relations, constraints, indexes, legends and context views as unsaved edits.
- group_entities
- Group tables into legends by domain.
- arrange_entities
- Place a few tables in rows and columns.
- route_relations
- Re-route relation lines around tables.
- check_relation_linesName suggests: reads
- Count overlapping lines, crossings and bends in the layout.
What it does
- Schema reading tools
- Agents can read tables, columns, keys, indexes, relations and context views from the open diagram.
- Migration impact analysis
- Pending changes or migration files are analysed for data loss, failing statements and table rewrites before they run.
- Staged diagram edits
- Agent-proposed changes land as unsaved edits that you review, save or undo.
- No SQL execution
- The server has no tool that runs agent-written SQL and no tool that returns table rows.
- Localhost access control
- HTTP mode listens on 127.0.0.1 and requires a bearer token stored in the OS keychain.
Good for
- Reviewing a hand-written migration file against a live schema before deploying it
- Asking an AI assistant to explain dependencies and domains in a database diagram
- Having an agent propose new tables or columns as reviewable changes
- Checking which views or relations a schema change would break
- Grouping and tidying a large ER diagram by domain
Pricing
Freemium
2-week free trial, then $129 one-time license; MCP server stays free after trial with reduced tools
Prices change. Check schemity.com before you buy.
Schemity FAQ
Does Schemity's MCP server run queries against my database?
It reads the catalogue for impact analysis, and runs a COUNT for a finding only when you ask. No tool returns rows.
Can an AI agent change my database schema through Schemity?
It can propose changes, which stay unsaved on the diagram. The database changes only when you click Migrate or run the migration yourself.
Which AI agents does Schemity work with?
Claude Code, Claude Desktop, Cursor, Codex, OpenCode, MCP Inspector and other MCP hosts that speak stdio or Streamable HTTP.
How much does the MCP server cost?
It is part of the desktop app, a one-time $129 purchase with no subscription. Every tool works during the 2-week trial, and the server stays free afterwards with a reduced toolset.
How do I add Schemity to Claude Code?
Run this command in your terminal: claude mcp add mcp -- npx -y schemity-mcp
What are the best alternatives to Schemity?
The closest alternatives to Schemity are SchemaSketch, AdoMcp, SQL Server MCP (Windows), Mysql and NeoSQL MCP.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.