Ship in seconds with schema-isolated PostgreSQL, direct AWS S3 uploads without server transit, sub-15ms CDC live streams, and native MCP for AI coding agents.
@zorabase/sdk on npm@zorabase/mcp for Cursor & Claudeconst db = createClient({ url, apiKey })
// Sub-15ms live Postgres CDC stream
db.channel('orders')
.on('INSERT', ({ new: row }) => dispatch(row))
.subscribe()Each project runs inside its own PostgreSQL schema. Dynamic columns are stored as indexed JSONB with GIN indexes — no migration locks, no downtime, even under heavy write loads.
Zorabase generates an HMAC-SHA256 AWS Signature v4 presigned URL in under 2ms. Your client streams the binary directly to S3 in Stockholm (eu-north-1) without touching the web server.
We attach directly to the PostgreSQL Write-Ahead Log replication slot. INSERT, UPDATE, and DELETE events are decoded and dispatched to connected WebSocket clients in under 15ms — no polling.
Cursor and Claude Code are blocked from running destructive DDL via public keys. Pre-flight schema introspection lets AI agents query and mutate data safely, without hallucinating column names.
@zorabase/sdkZero external dependencies · ESM + CJS dual build · Strict TypeScript types.
import { createClient } from '@zorabase/sdk'
const db = createClient({
url: 'https://api.zorabase.io/v1/proj_9f8a',
apiKey: process.env.NEXT_PUBLIC_ZB_KEY!,
})
const { data } = await db
.from('users')
.select('id, name, email, plan')
.eq('status', 'active')
.order('created_at', { ascending: false })
.limit(50)Zorabase ships a native Model Context Protocol (MCP) server — @zorabase/mcp. Add three lines of JSON to Cursor, Claude Desktop, or Antigravity and your AI agent can instantly query tables, insert records, generate S3 URLs, and check system health.
{
"mcpServers": {
"zorabase": {
"command": "npx",
"args": ["-y", "@zorabase/mcp"],
"env": {
"ZORABASE_PROJECT_URL": "https://api.zorabase.io/v1/proj_xxx",
"ZORABASE_API_KEY": "zb_live_your_key"
}
}
}
}list_tablesDiscover schema structure
query_dataFetch rows with filters
insert_recordWrite data to any table
get_storage_upload_urlDirect S3 presigned upload
get_project_healthPostgreSQL & WAL status
DDL GuardrailDROP / TRUNCATE blocked
Firebase locks you into NoSQL, which breaks at relational scale. Supabase gives raw PostgreSQL but needs manual S3 wiring and no AI agent integration. Zorabase delivers schema isolation, direct S3 presigning, sub-15ms CDC, and AI-agent-ready prompts — all in one SDK.
Create your project in 10 seconds, get your schema isolation and live CDC stream instantly.