Tabula Documentation
Tabula generates managed Postgres databases from natural language descriptions. Connect via MCP, REST API, or the TypeScript SDK.
Quick start
1. Subscribe
Pick a plan from the pricing page and complete checkout.
2. Create a database
Open the Databases page and create a managed Postgres database.
3. Connect your agent
Add Tabula as an MCP server. OAuth handles auth automatically.
{
"mcpServers": {
"tabula": {
"url": "https://tabula-cloud.localhost:1355/mcp"
}
}
}MCP tools
The Tabula MCP server exposes these tools to any connected agent. Use OAuth for interactive clients, API keys for backend automation.
| Tool | Description |
|---|---|
| tabula_create | Create a database from a natural language description |
| tabula_insert | Insert rows into a table |
| tabula_query | Query rows with filters, ordering, and pagination |
| tabula_evolve | Modify a schema with a natural language instruction |
| tabula_sql | Execute raw SQL |
| tabula_fork | Clone a database with all its data |
| tabula_describe | Get full schema details for a database |
| tabula_export | Export schema as Prisma, Drizzle, TypeScript, or SQL |
| tabula_list | List all databases |
| tabula_drop | Delete a database |
REST API
The same operations are available over REST at /v1/. Authenticate with a Bearer token (API key or access token).
| Method | Path | Description |
|---|---|---|
| POST | /v1/databases | Create a database |
| GET | /v1/databases | List databases |
| GET | /v1/databases/:id | Get database details |
| DELETE | /v1/databases/:id | Delete a database |
| POST | /v1/databases/:id/query | Query rows |
| POST | /v1/databases/:id/insert | Insert rows |
| POST | /v1/databases/:id/sql | Execute SQL |
| POST | /v1/databases/:id/evolve | Evolve schema |
| POST | /v1/databases/:id/fork | Fork database |
| POST | /v1/databases/:id/export | Export schema |
| POST | /v1/keys | Create an API key |
| GET | /v1/keys | List API keys |
| DELETE | /v1/keys/:id | Revoke an API key |
| GET | /openapi.json | OpenAPI spec |
| GET | /health | Health check |
Billing
Dashboard actions, API key management, and health checks are always free. You only pay for data-plane work — inserts, queries, and database provisioning — beyond what your plan includes.
Schema evolution and database creation use AI and are tracked separately from standard operations. Both Launch and Scale include monthly allocations before overage applies.
When to use Tabula
Tabula is a good fit for:
- Giving AI agents persistent database access via MCP
- Prototyping schemas without writing DDL or migrations
- Forking databases to test schema changes safely
- Exporting generated schemas to Prisma, Drizzle, or raw SQL
Tabula is not the right fit if you need:
- Real-time subscriptions or live queries
- A full backend-as-a-service with auth and hosting
- Non-Postgres databases
- Fine-grained row-level security policies