Skip to main content
ClaudeWave

Open-source backend-as-a-service for Postgres — REST, typed SDK, auth, storage, realtime and row-level security over your own database, with a schema-driven admin panel when you want one.

MCP ServersOfficial Registry8 stars1 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/10/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/rebasepro/rebase
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "rebase": {
      "command": "node",
      "args": ["/path/to/rebase/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/rebasepro/rebase and follow its README for install instructions.
Use cases

MCP Servers overview

<p align="center">
  <a href="https://rebase.pro">
    <img src="https://rebase.pro/img/logo_small.png" width="240px" alt="Rebase logo" />
  </a>
</p>

<h1 align="center">Rebase</h1>
<h3 align="center">The Open-Source Backend-as-a-Service for Postgres — with the Admin Panel that comes with it</h3>
<p align="center">
  <strong>Point it at a database and get a working backend in minutes.</strong><br/>
  REST, auth, storage, realtime and backups over your own Postgres — then add a
  schema-driven admin panel, or don't.<br/>
  Own your data, own your code. The absolute easiest way to build on PostgreSQL.
</p>

<p align="center">
  <strong>Public beta.</strong> The API you write against can change in a minor,
  with a changelog entry. Your data cannot break quietly.<br/>
  <a href="https://rebase.pro/docs/compatibility">What that promise rests on, and
  which subsystems are ready</a>
</p>

<p align="center">
  <a href="https://demo.rebase.pro">Live Demo</a> •
  <a href="https://rebase.pro/docs">Documentation</a> •
  <a href="https://rebase.pro/product">Features</a> •
  <a href="https://discord.gg/fxy7xsQm3m">Discord</a>
</p>

<p align="center">
  <a href="https://github.com/rebasepro/rebase/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/rebasepro/rebase/ci.yml?branch=main&style=flat-square&label=CI" alt="CI" /></a>
  <a href="https://www.npmjs.com/package/@rebasepro/app"><img src="https://img.shields.io/npm/v/@rebasepro/app.svg?style=flat-square&color=orange" alt="NPM Version" /></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-purple.svg?style=flat-square" alt="License: MIT" /></a>
  <a href="https://www.npmjs.com/package/@rebasepro/app"><img src="https://img.shields.io/npm/dw/@rebasepro/app?style=flat-square&color=blue" alt="NPM Downloads" /></a>
  <a href="https://discord.gg/fxy7xsQm3m"><img src="https://img.shields.io/discord/1013768502458470442?style=flat-square&logo=discord&logoColor=white&label=Discord" alt="Discord" /></a>
</p>

<br/>

<p align="center">
  <img src="https://rebase.pro/img/demo_products.png" width="800px" alt="Rebase Dashboard" />
</p>

---

## What is Rebase?

Rebase is a **developer-first**, open-source backend-as-a-service built on **PostgreSQL** — authentication, S3-compatible storage, realtime, backups and auto-generated REST APIs over a database you own. It is **self-hosted** and agent-native, with a built-in MCP server for AI-assisted development.

The admin panel is the **second layer of the same definition**: add collection definitions and you get a schema-driven back-office built from them, extensible with your own **React** components, serverless functions, and scripts.

### Adopt only what you want

Three modes, same packages, wired differently — see [MODULAR-ARCHITECTURE.md](docs/MODULAR-ARCHITECTURE.md).

| Mode | You get | Comparable to |
| --- | --- | --- |
| **BaaS** | REST + auth + storage + realtime + backups over your database. No config files, no UI, no React in the dependency tree. | Supabase |
| **CMS** | BaaS + a schema-driven admin UI built from your collection definitions. | Payload, Directus |
| **Full** | CMS + Studio (SQL editor, schema visualizer, RLS editor, logs, API explorer). | Supabase + Payload |

### ✨ Key Highlights

- 🔓 **No Vendor Lock-in** — Self-host anywhere. Full control over your infrastructure, code, and database.
- 🧱 **Modular** — Start as a pure API and add the admin panel later, or never. Nothing is bundled that you didn't ask for.
- ⚡ **Instant Setup** — `pnpm dlx @rebasepro/cli init` scaffolds a complete project in seconds.
- 🗄️ **PostgreSQL First** — First-class Postgres support with Drizzle ORM, schema introspection, and automatic migrations.
- 🔒 **Secure by Default** — Authorization is Postgres RLS, not application code. Tables without row-level security aren't served.
- 🧩 **Radical Extensibility** — Not constrained to pre-built widgets. If you can build it in React, you can build it in Rebase.
- 🎨 **Premium UI** — Fast, accessible design system built on Tailwind CSS v4 and Radix UI.
- 🤖 **AI-Ready** — MCP server for AI-assisted database management, plus data enhancement and insights plugins.

---

## ⚡ Quick Start

Scaffold a complete, self-hosted Rebase application connected to your database:

```bash
pnpm dlx @rebasepro/cli init my-rebase-app
cd my-rebase-app
pnpm install
pnpm run dev
```

That is the whole first run — no database to install, no schema step. With no
`DATABASE_URL` set, `rebase dev` starts a managed PostgreSQL (PGlite) that lives
in the project directory, generates the schema from your collections, and creates
the tables at boot.

**Read the URLs from its output.** `rebase dev` picks a free port per project
rather than fixed ones, so they differ between projects. `PORT` and
`VITE_API_URL` in `.env` apply to `rebase start`, not here.

Useful flags: `--yes` (required when there is no terminal to prompt, such as CI),
`--headless` (see below), `--template <name>`, and `--install` / `--no-install`
on `init`; `--docker` on `dev` to use the compose Postgres in this project
instead, and `--no-db` to start nothing — set `DATABASE_URL` yourself.

**To use your own Postgres instead:** uncomment `DATABASE_URL` in `.env` and run
`pnpm run dev` again. Nothing else changes — a `DATABASE_URL` that is set is
never touched, and one pointing anywhere other than this machine is left alone
entirely.

### Just want the API?

Rebase is modular — take only the parts you want:

```bash
pnpm dlx @rebasepro/cli init my-api --headless
```

That scaffolds a headless backend: REST, auth, storage, realtime and backups over
your database, with **no collection files and no UI**. Tables are served
automatically, derived from your schema at boot — change the schema with a
migration and the API follows. No React anywhere in the dependency tree.

A fresh headless project has no tables yet, so `/api/data/*` answers
`404 NO_COLLECTIONS` until you create some. Point it at a database that already
has tables, or add them with a migration, and they appear.

The three adoption modes — BaaS (like Supabase), CMS (like Payload/Directus), and
both together — are described in [MODULAR-ARCHITECTURE.md](docs/MODULAR-ARCHITECTURE.md).

---

## Features

### 🏓 Full Admin Panel & CMS

An incredibly fast, windowed spreadsheet view to manage your database with inline editing, real-time updates, filtering, sorting, and text search. Switch between multiple view modes:

- **Spreadsheet table** — Inline editing, column reordering, drag-and-drop
- **Card grid** — Visual overview with image previews
- **List view** — Compact, scannable layout
- **Custom views** — Build any React component as a collection view

### 🔒 Typed Schema & Database Migrations

Define your data models using pure TypeScript collections. Rebase automatically generates your Drizzle ORM schema, handles PostgreSQL migrations, and keeps your live database perfectly in sync using built-in tooling like `rebase doctor`.

### 💾 Backups & Restore

First-class database backups for self-hosted Postgres, built on `pg_dump` / `pg_restore`:

- `rebase db backup --out <path|s3://…>` — compressed, custom-format dumps
- `rebase db restore <backup>` — confirmation-gated, with `--create-db` / `--target-db` to restore into a fresh database
- **Scheduled backups** via the built-in cron system, uploading to your configured storage backend with retention pruning
- **Studio Backups panel** — browse and download backups from the admin UI

See **[docs/backups.md](docs/backups.md)** for the full guide, including security and PITR notes.

### 🔐 Authentication & Access Control

Built-in authentication with multiple providers:

- **Email/Password** — With password reset flow
- **Google OAuth** — One-click sign-in
- **Anonymous** — For guest access

Granular **role-based access control (RBAC)** with customizable permissions per collection, field, and action.

### 📦 S3-Compatible Storage

Native S3-compatible file storage with:

- Drag-and-drop uploads with progress tracking
- Automatic image resizing and optimization
- File metadata management
- Storage browser in Studio

### 🛠️ Studio — Developer Toolbox

A full developer environment built into the admin panel:

| Tool | Description |
|---|---|
| **SQL Editor** | Write and execute SQL queries directly against your database with schema-aware autocomplete |
| **RLS Policy Editor** | Visual editor for PostgreSQL Row-Level Security policies |
| **Schema Visualizer** | Interactive ER diagram of your database with relationship mapping |
| **JS/TS Editor** | In-browser code editor for scripts and functions |
| **API Explorer** | Browse and test your auto-generated REST API endpoints |
| **Cron Jobs** | Schedule and monitor recurring tasks |
| **Storage Browser** | Browse and manage files in your S3-compatible storage |

### 🔌 Realtime Engine

A full WebSocket engine built into every Rebase backend:

- **Live data subscriptions** — Subscribe to collection queries or individual entities. Changes propagate instantly with RLS-aware security.
- **Broadcast channels** — Send typed messages between connected clients. Build chat, notifications, or collaborative features.
- **Presence tracking** — Track who's online, sync user state across clients (typing indicators, cursor positions, online status).
- **Auto-reconnect** — Exponential backoff, automatic resubscription, and token refresh on reconnect.

### 📴 Offline & Local-First Sync

Opt in with `offline: true` and the client SDK keeps a local database of rows instead of a cache of responses:

- **Reads survive a dropped connection** — filters, sorting and pagination are evaluated against the local rows, so lists keep rendering.
- **Writes apply instantly** — a write made offline lands locally, queues, and replays in order when the connection returns. One the server rejects is rolled back.
- **Live queries** — `observe()` emits from the local
admin-panelbaasbackend-as-a-servicedrizzleheadless-cmsnodejspostgrespostgresqlreactrealtimerest-apirlsrow-level-securityself-hostedtypescript

What people ask about rebase

What is rebasepro/rebase?

+

rebasepro/rebase is mcp servers for the Claude AI ecosystem. Open-source backend-as-a-service for Postgres — REST, typed SDK, auth, storage, realtime and row-level security over your own database, with a schema-driven admin panel when you want one. It has 8 GitHub stars and its last recorded update is dated 2026-09-09.

How do I install rebase?

+

You can install rebase by cloning the repository (https://github.com/rebasepro/rebase) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is rebasepro/rebase safe to use?

+

Our security agent has analyzed rebasepro/rebase and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains rebasepro/rebase?

+

rebasepro/rebase is maintained by rebasepro. The last recorded GitHub activity is dated 2026-09-09, with 7 open issues.

Are there alternatives to rebase?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy rebase to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: rebasepro/rebase
[![Featured on ClaudeWave](https://claudewave.com/api/badge/rebasepro-rebase)](https://claudewave.com/repo/rebasepro-rebase)
<a href="https://claudewave.com/repo/rebasepro-rebase"><img src="https://claudewave.com/api/badge/rebasepro-rebase" alt="Featured on ClaudeWave: rebasepro/rebase" width="320" height="64" /></a>

More MCP Servers

rebase alternatives