Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Rebase

MCP server by rebasepro Community

Rebase is an open-source backend-as-a-service for PostgreSQL. Its built-in MCP server lets AI assistants manage your database schema, documents, users and roles. It suits developers who want to self-host and own their data.

  • Score 85
  • 32 stars
  • 2.8k a week
  • MIT
  • Updated

Install Rebase

Built from the published package, never by AI.

claude mcp add rebase -- npx -y @rebasepro/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Rebase in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the rebase block.

About

Rebase is an open-source backend-as-a-service built on PostgreSQL. It provides REST APIs, authentication, S3-compatible storage, realtime subscriptions and backups over a database you own. Its built-in MCP server lets AI assistants query and manage your database schema, create, read, update and delete documents, manage users and roles, and introspect your data model.

Authorization is handled by Postgres row-level security, and tables without RLS are not served. A project can run headless as a pure API, or add a schema-driven admin panel built from collection definitions. Rebase is self-hosted and aimed at developers who want to own their data and code. The source describes it as public beta.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Query and manage database schemaLets the assistant query and manage your database schema.
  • Create, read, update and delete documentsLets the assistant create, read, update and delete documents.
  • Manage users and rolesLets the assistant manage users and roles in the backend.
  • Introspect data modelLets the assistant inspect your data model.

What you need

  • pnpm, used in the setup commands
  • PostgreSQL database, or the managed PGlite default when no DATABASE_URL is set
  • Docker, optional, for the --docker flag
SettingNeededWhat it is
REBASE_PROJECT_DIREnvironment variableOptionalProject root — the directory holding rebase.json. Defaults to the working directory.
REBASE_BASE_URLEnvironment variableOptionalBackend URL, used when no local dev server is discovered.
REBASE_API_TOKENEnvironment variable, secretOptionalAPI token for the target project. Not needed against a local dev server.
REBASE_MCP_ALLOW_REMOTE_WRITESEnvironment variableOptionalAllow destructive tools to run against a non-local target. Off by default.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • List the tables and columns in my Rebase database.
  • Create a new user with the editor role in Rebase.
  • Show the documents in the posts collection and update one.

Good to know

  • The source describes Rebase as public beta.
  • The API can change in a minor version, with a changelog entry.
  • Backups do not cover uploaded files, according to the source.
  • A fresh headless project returns 404 NO_COLLECTIONS until tables exist.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Rebase

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Rebase: common questions

Does Rebase need a database to start?

No. With no DATABASE_URL set, rebase dev starts a managed PostgreSQL (PGlite) in the project directory and creates the tables at boot.

Can I use Rebase without the admin panel?

Yes. A headless project provides REST, auth, storage, realtime and backups with no collection files and no UI.

How is access controlled in Rebase?

Authorization is Postgres row-level security, not application code. Tables without row-level security are not served.

How do I install Rebase?

In Claude Code run claude mcp add rebase -- npx -y @rebasepro/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Rebase the official server?

Rebase is a community project by rebasepro, not verified by a company domain.

Is Rebase free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Rebase safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Rebase?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Rebase work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Rebase Install

Add to stack

Loading.