LocalFree

SchemaBrain MCP server

Arun-kc/schemabrain

Read-only Postgres access with SQL compiled from your own definitions, PII refusal and a tamper-evident audit chain.

12 GitHub stars2 forks

Install SchemaBrain in Claude Code

Claude Code
claude mcp add schemabrain -e DATABASE_URL=... -- uvx schemabrain
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "schemabrain": {
      "command": "uvx",
      "args": [
        "schemabrain"
      ],
      "env": {
        "DATABASE_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the SchemaBrain MCP server do?

Read-only Postgres access with SQL compiled from your own definitions, PII refusal and a tamper-evident audit chain.

Is the SchemaBrain MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does SchemaBrain run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add SchemaBrain to Claude Code?

Run: claude mcp add schemabrain -e DATABASE_URL=... -- uvx schemabrain

More databases MCP servers

View all