SchemaBrain MCP Server
by arun-kcio.github.Arun-kc/schemabrainv0.6.0
Read-only Postgres access with SQL compiled from your own definitions, PII refusal and a tamper-evident audit chain.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install SchemaBrain MCP server
Install in Claude Code
claude mcp add schemabrain -e DATABASE_URL='<database-url>' -- uvx schemabrain serve --url-env DATABASE_URL --store-path '{store_path}'Install in Cursor
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain",
"serve",
"--url-env",
"DATABASE_URL",
"--store-path",
"{store_path}"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain",
"serve",
"--url-env",
"DATABASE_URL",
"--store-path",
"{store_path}"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"schemabrain": {
"type": "stdio",
"command": "uvx",
"args": [
"schemabrain",
"serve",
"--url-env",
"DATABASE_URL",
"--store-path",
"{store_path}"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain",
"serve",
"--url-env",
"DATABASE_URL",
"--store-path",
"{store_path}"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | yes | yes | Postgres connection URL (postgresql+psycopg://USER:PASSWORD@HOST:PORT/DBNAME). The agent never sees this; the URL stays in the env so credentials never appear in argv or logs. |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-21 · 4mo ago · GitHub
Latest release
2026-06-13 · 4mo ago · GitHub · v0.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-13 · 4mo ago · official registry · v0.6.0
FAQ
›How do I install the SchemaBrain MCP server in Claude Code?
Run: claude mcp add schemabrain -e DATABASE_URL='<database-url>' -- uvx schemabrain serve --url-env DATABASE_URL --store-path '{store_path}'. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SchemaBrain require an API key?
Yes. It expects DATABASE_URL, of which 1 is a secret.
›Can I use SchemaBrain as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SchemaBrain in the official MCP registry?
Yes, as io.github.Arun-kc/schemabrain.
Alternatives to SchemaBrain
Other database MCP servers.