MCP server
SchemaBrain
The trust and intelligence layer between AI agents and your database.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.6.0
- Listing updated
- 5 days ago
About SchemaBrain
SchemaBrain is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add schemabrain --env DATABASE_URL='<DATABASE_URL>' -- uvx schemabrainAdd to claude_desktop_config.json
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"schemabrain": {
"type": "stdio",
"command": "uvx",
"args": [
"schemabrain"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"schemabrain": {
"command": "uvx",
"args": [
"schemabrain"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
DATABASE_URLPostgres 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.Required
Pricing
Open source
Prices change. Check schemabrain.mintlify.app before you buy.
SchemaBrain FAQ
Is SchemaBrain free?
Yes. SchemaBrain is open source, so you can use and self-host it for free.
How do I add SchemaBrain to Claude Code?
Run this command in your terminal: claude mcp add schemabrain --env DATABASE_URL='<DATABASE_URL>' -- uvx schemabrain
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.