LocalFree

Schemagate MCP server

ashishsinha1602/schemagate

Selects the schema objects a SQL agent sees and returns only the tables the calling principal may read, on Postgres, Oracle, MySQL and SQL Server.

179 GitHub stars2 forks

Install Schemagate in Claude Code

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

Replace each ... with your own value.

Frequently asked questions

What does the Schemagate MCP server do?

Selects the schema objects a SQL agent sees and returns only the tables the calling principal may read, on Postgres, Oracle, MySQL and SQL Server.

Is the Schemagate 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 Schemagate run locally or remotely?

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

How do I add Schemagate to Claude Code?

Run: claude mcp add schemagate -e SCHEMAGATE_DATABASE_URL=... -- uvx schemagate

More databases MCP servers

View all