mcpbeat Sign in

SchemaBrain MCP Server

local only

SchemaBrain runs on your own machine — the client starts it, so there is no endpoint to ping. 45 installs a week from pypi. Last commit 21 Jun 2026.

The trust and intelligence layer between AI agents and your database.

Installs per day peak 40 · avg 12 · -46% w/w
a month agotoday
45
Installs / week
pypi · schemabrain
12
Stars
1 open issue
21 Jun 2026
Last commit
from GitHub
Apache-2.0
License
Python

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Unsafe deserialization schemabrain/joins/yaml_grammar.py:127
        data = yaml.load(text, Loader=_Yaml12SafeLoader)  # nosec B506
Runs an external command schemabrain/setup/setup_stage.py:547
        return subprocess.run(

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add schemabrain -e 'DATABASE_URL=<DATABASE_URL>' -- uvx schemabrain
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "schemabrain": {
      "command": "uvx",
      "args": [
        "schemabrain"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.schemabrain]
command = "uvx"
args = ["schemabrain"]
env = { DATABASE_URL = "<DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "schemabrain": {
      "command": "uvx",
      "args": [
        "schemabrain"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "schemabrain": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "schemabrain"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

Put your own value in place of <DATABASE_URL> (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). The author’s registry entry marks it as required.

Alternatives to SchemaBrain

same job, measured the same way
X
Xata
by xataio

Xata MCP server lets AI agents interact with your Xata projects, and Postgres database branches.

answering
Datanotes
by davidefornelli

The engine of your second brain: Markdown notes as database tables, for you and your agents.

1 238 installs/wk local only
The Nothing
by meador793

Mr. Decoupler: a do-nothing MCP seam between AI and your databases. Sometimes less is more.

388 installs/wk local only
DB Planner
by dbplanner

Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent.

answering
Schema
by schemalabs

The AI that understands raw data: Schema over your tables and databases, as MCP tools.

answering
Supabase
by waystation

Connect to your Supabase database to query data and schemas.

answering
Vericto: database guardrails for AI agents
by vericto

Database guardrails for AI agents: check SQL against your Vericto rules before it runs.

answering
Space
by getspace

One shared memory for all your AI agents: documents, tasks, databases and memories in one workspace

answering

SchemaBrain — questions

Answers built from our own checks of this server.

Why is there no uptime for SchemaBrain?
SchemaBrain runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package schemabrain was installed 45 times last week.
How do I connect SchemaBrain?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls schemabrain straight from pypi; nothing to host, nothing to sign up for.
How many people use SchemaBrain?
The pypi package schemabrain was installed 45 times in the last week. Week over week that is -46%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SchemaBrain open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 12 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.