# Firebase

CreateWithAI Hub page: https://createwithaihub.com/vector-databases/firebase
Latest version of this file: https://createwithaihub.com/vector-databases/firebase.md

- Type: Tool · Category: Vector Databases
- Publisher: Google (official)
- Pricing: Free plan plus paid plans
- Runs on: Web, iOS, Android, API (cloud)

Google's app backend platform: Firestore, Auth, Hosting, Functions, SQL Connect, vector search and AI tooling.

Firebase is Google's platform of managed services for building and running web and mobile apps, not only a database. It includes Cloud Firestore and Realtime Database, Authentication, Cloud Storage, Cloud Functions, Hosting and App Hosting, SQL Connect for Cloud SQL for PostgreSQL, and run-time tools such as Crashlytics and Remote Config. Firestore supports KNN vector search and SQL Connect offers full-text, vector and hybrid search, while Firebase AI Logic, Genkit, an MCP server and Agent Skills connect it to Gemini and coding agents.

Useful for: Giving a mobile app user sign-in, a synced document database and semantic search over its content without running your own servers.

## Key features

- Cloud Firestore, Realtime Database, Authentication, Cloud Storage, Cloud Functions, Hosting and App Hosting
- SQL Connect (formerly Data Connect): Cloud SQL for PostgreSQL with a generated GraphQL API and full-text, vector and hybrid search
- Firestore KNN vector search (Euclidean, cosine, dot product; up to 2048 dimensions)
- Firebase AI Logic and Genkit for Gemini features (Genkit is listed separately)
- Firebase MCP server in firebase-tools (npx -y firebase-tools@latest mcp) and Firebase Agent Skills
- No-cost Spark plan; pay-as-you-go Blaze plan with the same free allowances

## Connection

- Deployment: Managed cloud
- Search: Vector, Hybrid (vector + keyword), Full-text
- Pricing model: Usage-based

## Before you start

- Google account

## Install steps from the official documentation

Firebase CLI:

```
npm install -g firebase-tools
```

MCP server (Claude Code):

```
claude mcp add firebase npx -- -y firebase-tools@latest mcp
```

Agent Skills (other agents):

```
npx skills add firebase/agent-skills
```

## Limitations

- Firebase Studio is being sunset: new workspaces and sign-ups closed June 22, 2026 and it shuts down March 22, 2027 (core Firebase services are not affected)
- Cloud Functions require the Blaze plan; Spark has quotas such as 1 GiB Firestore storage, 50K reads and 20K writes per day
- Firestore vector search needs a vector index, returns at most 1000 results on Standard edition and works only in the Python, Node.js, Go and Java client libraries
- Managed Google service only; the platform is not open source or self-hostable (the firebase-tools CLI is MIT)

## Official links

- Website: https://firebase.google.com
- Source repository: https://github.com/firebase/firebase-tools
- Documentation: https://firebase.google.com/docs
- Source: https://firebase.google.com/ (Platform description and Build/Run/Generative AI product list (SQL Connect, AI Logic, Agent Skills, Genkit); Firebase Studio not listed)
- Source: https://firebase.google.com/pricing (Spark no-cost and Blaze pay-as-you-go plans, free quotas, Cloud Functions Blaze-only, $300 credit for eligible upgrades)
- Source: https://firebase.google.com/docs/firestore/vector-search (KNN vector search, distance measures, vector index, 2048-dimension and 1000-result limits, supported client libraries)
- Source: https://firebase.google.com/products/sql-connect.md.txt (SQL Connect on Cloud SQL for PostgreSQL with full-text, vector and hybrid search)
- Source: https://firebase.google.com/docs/ai-assistance/mcp-server (MCP server commands (npx -y firebase-tools@latest mcp), stdio, CLI credentials, supported clients)
- Source: https://firebase.google.com/docs/ai-assistance/agent-skills (Firebase Agent Skills repo and install commands)
- Source: https://firebase.google.com/docs/studio/migrating-project (Firebase Studio sunset timeline (announced March 19, 2026; signups disabled June 22, 2026; shutdown March 22, 2027); migrate to Google Antigravity or Google AI Studio)
