Firebase
Google's realtime BaaS on NoSQL
Appwrite
Open-source Firebase alternative
Firebase is the Google BaaS — Firestore, Auth, Cloud Functions, FCM, Remote Config. Appwrite is the open-source alternative — self-hostable, similar feature set, permissive license. For Google-tied mobile teams, Firebase. For self-host / open-source, Appwrite.
Pick Firebase when you want Google-managed, best mobile SDK coverage, and FCM for push.
Pick Appwrite when you want open-source, self-host, and a similar BaaS without Google lock-in.
| Feature | 🔥Firebase | ⚪Appwrite | Winner |
|---|---|---|---|
| Open source | No | Yes (BSD-3) | B |
| Self-host | No | Yes (Docker Compose) | B |
| Database | Firestore / RTDB | MariaDB-backed collections | Tie |
| Mobile SDKs | Best-in-class (all platforms) | Good (Flutter, iOS, Android, web) | A |
| Auth | Full (incl. FirebaseAuth with FCM) | Full (OAuth, email, magic link) | Tie |
| Push notifications | FCM (industry leader) | Via third-party | A |
| Functions | Cloud Functions (Node, Python) | Functions (many runtimes) | Tie |
| Pricing | Usage-based, can spike | Free self-host / Cloud tiers | B |
Open source
BFirebase
No
Appwrite
Yes (BSD-3)
Self-host
BFirebase
No
Appwrite
Yes (Docker Compose)
Database
TieFirebase
Firestore / RTDB
Appwrite
MariaDB-backed collections
Mobile SDKs
AFirebase
Best-in-class (all platforms)
Appwrite
Good (Flutter, iOS, Android, web)
Auth
TieFirebase
Full (incl. FirebaseAuth with FCM)
Appwrite
Full (OAuth, email, magic link)
Push notifications
AFirebase
FCM (industry leader)
Appwrite
Via third-party
Functions
TieFirebase
Cloud Functions (Node, Python)
Appwrite
Functions (many runtimes)
Pricing
BFirebase
Usage-based, can spike
Appwrite
Free self-host / Cloud tiers
Best for
Best for
Firestore → Appwrite: export collections to JSON (via Admin SDK), run through a transform to Appwrite's SDK, re-insert. Firebase Auth users need password-hash export via Admin SDK, then re-imported to Appwrite (preserving hashes where possible). FCM tokens don't migrate — re-register devices in the new provider. Budget 2-4 weeks for a non-trivial mobile app.
Firebase is the Google BaaS — Firestore, Auth, Cloud Functions, FCM, Remote Config. Appwrite is the open-source alternative — self-hostable, similar feature set, permissive license. For Google-tied mobile teams, Firebase. For self-host / open-source, Appwrite. In short: Firebase — Google's realtime BaaS on NoSQL. Appwrite — Open-source Firebase alternative.
Pick Firebase when you want Google-managed, best mobile SDK coverage, and FCM for push.
Pick Appwrite when you want open-source, self-host, and a similar BaaS without Google lock-in.
Firestore → Appwrite: export collections to JSON (via Admin SDK), run through a transform to Appwrite's SDK, re-insert. Firebase Auth users need password-hash export via Admin SDK, then re-imported to Appwrite (preserving hashes where possible). FCM tokens don't migrate — re-register devices in the new provider. Budget 2-4 weeks for a non-trivial mobile app.
Yes. Both have MCP servers installable via MCPizy (mcpizy install firebase and mcpizy install appwrite). They work identically across Claude Code, Claude Desktop, Cursor, Windsurf, and any other MCP-compatible client. You can install both side by side and route queries in your agent's prompt.
Supabase is a Postgres-based BaaS with auth, storage, and realtime. PlanetScale is serverless MySQL (Vitess) with branching, schema workflows, and massive horizontal scale. Supabase gives you a full backend; PlanetScale gives you a bulletproof MySQL database.
Hasura gives you instant GraphQL + REST API over Postgres (or MySQL, SQL Server) with deep permission rules. Supabase gives you auto-REST (PostgREST) plus auth, storage, edge functions, realtime — broader but less GraphQL-native. Hasura wins for GraphQL-first teams; Supabase wins as a full BaaS.
Not sure? Run both side by side — swap between them in your AI agent with a single config line.