SchemaBrain MCP
SchemaBrain is a trust and intelligence layer between AI agents and your database. It provides read-only, PII-aware, and audit-evident access to Postgres via 12 Pydantic-typed MCP tools, ensuring agents cannot write data and that sensitive information is refused before queries run.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Initialize local Postgres demo with schema graph
- Refuse unsafe queries touching blocked PII categories
- Verify tamper-evident audit chain integrity
- Describe table structures and column relationships
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
schemabrain 0.6.0
{
"version": "0.6.0",
"transport": "stdio",
"identifier": "schemabrain",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"packageArguments": [
{
"type": "positional",
"value": "serve",
"valueHint": "subcommand"
},
{
"name": "--url-env",
"type": "named",
"value": "DATABASE_URL"
},
{
"name": "--store-path",
"type": "named",
"value": "{store_path}",
"variables": {
"store_path": {
"format": "filepath",
"default": "./schemabrain.db",
"isRequired": true,
"description": "Absolute path to the schemabrain SQLite store created by `schemabrain index`. Defaults to ./schemabrain.db."
}
}
}
],
"environmentVariables": [
{
"name": "DATABASE_URL",
"format": "string",
"isRequired": true,
"description": "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."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"schemabrain-mcp": {
"command": "uvx",
"args": [
"schemabrain==0.6.0",
"serve",
"--url-env=DATABASE_URL",
"--store-path={store_path}"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Cline
{
"mcpServers": {
"schemabrain-mcp": {
"command": "uvx",
"args": [
"schemabrain==0.6.0",
"serve",
"--url-env=DATABASE_URL",
"--store-path={store_path}"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}VS Code
{
"servers": {
"schemabrain-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"schemabrain==0.6.0",
"serve",
"--url-env=DATABASE_URL",
"--store-path={store_path}"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"schemabrain-mcp": {
"command": "uvx",
"args": [
"schemabrain==0.6.0",
"serve",
"--url-env=DATABASE_URL",
"--store-path={store_path}"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Let your agent find its tools
Find servers like SchemaBrain MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.