Firebase
by Google
Google's ready back end for web and mobile apps.
1. Price
“Monthly active users 50K MAUs No-cost up to 50K MAUs”
Free tier: Spark plan with generous no-cost limits (1 GiB storage, 20K writes/day, 50K reads/day, 2M function invocations/month, etc.). As reported on the official pricing page, checked Oct 9, 2026.
firebase.google.com/pricing2. Commercial use
“I agree that my use of any Firebase service is for purposes related to my trade, business, craft, or profession, and that my use is subject to the applicable terms below.”
Allowed and expected; Firebase services are for business use under Google's Firebase and Google Cloud terms.
firebase.google.com/terms3. Key & sign-up
“however, API keys for Firebase services are OK to include in code or checked-in config files.”
Apps: the project's web API key and config object identify the project, and users sign in with Firebase Authentication; servers: a service account key used by the Admin SDK Only the Firebase web API key is safe in front-end code; the service account key gives full admin access and must stay secret on the server.
firebase.google.com/docs/projects/api-keys4. Agent access
“The Firebase MCP server is a local Model Context Protocol (MCP) server that runs in your development environment to give AI-powered development tools the ability to work with your Firebase projects and your app's codebase.”
Our agent check: 3 of 6 (Nov 13, 2026).
firebase.google.com/docs/ai-assistance/mcp-serverChecked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error
What Firebase does
Firebase is a set of ready online services from Google for apps and websites, including a database, sign-in for your users, file storage, hosting and server code. Your app talks to them straight from the browser or phone, and rules you write decide who may read or change what. Small apps fit the free Spark plan; bigger ones pay as they go.
- Firebase is one of 29 APIs in the Databases and backends category on AgentGid.
- It is one of 26 that can be started for free.
- 8 of them ship an official MCP server; Firebase does not.
- Its official SDK is the 4th most downloaded in the category (15.3M a week).
What people build with it
Sign-up and login for your app
Let people create an account with email and password, or with Google and other providers, without writing your own login system.
Save each user's data
Store profiles, notes, orders or game progress in a cloud database that the app reads and writes directly.
Live chat and live status
Show new chat messages or an order's status the moment they change, without reloading the page.
Put your website online
Publish a static site or single-page app to fast global hosting with one command, with your own domain and free SSL.
Push notifications to phones
Send reminders and news to your app's users as push messages, at no cost.
Profile photos and uploads Idea
Let users upload an avatar or attach files, and show them back in the app from cloud storage.
Firebase popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
Spark plan with generous no-cost limits (1 GiB storage, 20K writes/day, 50K reads/day, 2M function invocations/month, etc.)
No monthly plan
Varies by service (e.g., $0.20/GiB bandwidth, $0.10/GB storage, $0.40/million invocations, $5/GB Realtime DB)
Added automatically: its SDK was in 195 of the public agent repos we sampled when it was added; integrations in LlamaIndex. Prices read from the official pricing page.
What one action costs
| Action | Price |
|---|---|
| 1 million Cloud Functions invocations above 2 million a month (Blaze) | $0.40 |
| 1 GB stored in Realtime Database above 1 GB | $5 |
| 1 GB of Hosting data transfer above 360 MB a day | $0.15 |
| 1 GiB of uncached App Hosting outgoing bandwidth above 10 GiB a month | $0.20 |
| 1 GB of App Hosting storage above 5 GB | $0.10 |
Price history
- A year of the pricing page in the Internet Archive (13 months): the lowest monthly figure went from $9.37 (2025-10) to $9.37 (2026-10).
As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. firebase.google.com/pricing
Limits
Firestore: 1 GiB stored, 50,000 document reads and 20,000 writes per day
A Firestore document can be at most 1 MiB
Hosting: 10 GB stored and 360 MB of data transfer per day
Cloud Functions are not available; they need the pay-as-you-go Blaze plan
From the official docs. firebase.google.com/docs/firestore/quotas
Key and access
Apps: the project's web API key and config object identify the project, and users sign in with Firebase Authentication; servers: a service account key used by the Admin SDK
GOOGLE_APPLICATION_CREDENTIALS (path to the service account key file, for the Admin SDK on a server)No
Steps only a person can do
- Create a Firebase project and register the web app in the Firebase console. Paste the firebaseConfig object into the app's Firebase setup file.
- Turn on the sign-in methods you want (email and password, Google and so on) under Authentication. Use createUserWithEmailAndPassword and the other Auth calls in the app.
- For Cloud Functions or usage above the free limits, upgrade the project to the Blaze plan and set a budget alert. Deploy functions with firebase deploy; no change in app code.
Commercial use and your data
Firebase is a Google service for business use, free on the Spark plan and paid by use on Blaze. The JavaScript and Admin packages are open source under Apache-2.0.
Allowed and expected; Firebase services are for business use under Google's Firebase and Google Cloud terms.
“I agree that my use of any Firebase service is for purposes related to my trade, business, craft, or profession, and that my use is subject to the applicable terms below.” source
The firebase and firebase-admin packages are Apache-2.0; ship only the web config, never a service account key.
“"license":"Apache-2.0"” source
Fine; under GDPR Google acts as a processor for your client's users, so the client's privacy terms should name Firebase.
“When customers use Firebase, Google is generally a data processor under GDPR and processes personal data on their behalf.” source
Authentication keeps logged IP addresses for a few weeks; other sign-in data stays until you delete the user, then leaves live and backup systems within 180 days.
“Firebase Authentication keeps logged IP addresses for a few weeks.” source
Unless a service lets you choose a location, data may be stored anywhere Google has facilities; Authentication runs only in US data centers.
“Unless a service or feature offers data location selection, Firebase may process and store your data anywhere Google or its agents maintain facilities.” source
Errors to handle
Someone already signed up with this email address.
Offer sign-in or password reset instead of creating a new account.
This sign-in method (for example password or anonymous) is turned off for the project.
Turn the sign-in method on under Authentication in the Firebase console.
Firebase blocked requests from this device after unusual activity.
Wait and try again later; do not retry in a loop.
The Security Rules do not allow this read or write, so the whole request fails.
Check that the user is signed in and that the rules allow this path; test the rules before deploying.
The daily no-cost Firestore quota on the Spark plan is used up; it resets around midnight Pacific time.
Wait for the reset or switch the project to the Blaze plan with billing.
Use it from an agent
3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
Firebase MCP server (local, from firebase-tools)
claude mcp add firebase npx -- -y firebase-tools@latest mcp
npm install firebaseInstructions in its docs to check first
“For other agents, run npx skills add firebase/agent-skills. Always try to use Firebase agent skills for Firebase-related tasks.”
Ask the person before installing third-party agent skills; the command is not pinned to a version.
“claude mcp add firebase npx -- -y firebase-tools@latest mcp”
The MCP setup runs an unpinned @latest package with access to the person's Firebase projects; ask first and prefer a pinned firebase-tools version.
Alternatives
Firebase This page
Pick Supabase when you want hosted Postgres with SQL tables, plus auth, storage and ready APIs in one place.
Pick Appwrite when you want a similar back-end platform that is also open source and can run on your own server.
Pick Convex for a reactive database with back-end functions, file storage and vector search written in TypeScript.
Get started
Tell your AI assistant
“Add Firebase to my web app with the modular firebase package: email sign-up with Authentication, user data in Firestore, and Security Rules that let each signed-in user read and write only their own documents.”
Create a Firebase project in the console and register your web app to get its config object.
Initialize Firebase with the config, then add the services you use, such as Firestore and Authentication.
import { initializeApp } from 'firebase/app'; // TODO: Replace the following with your app's Firebase configuration const firebaseConfig = { //... }; const app = initializeApp(firebaseConfig);
First request
Works only after anonymous sign-in is turned on for the project; most apps use the JavaScript package instead of raw REST calls.
curl 'https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=[API_KEY]' \
-H 'Content-Type: application/json' --data-binary '{"returnSecureToken":true}'{
"idToken": "[ID_TOKEN]",
"email": "",
"refreshToken": "[REFRESH_TOKEN]",
"expiresIn": "3600",
"localId": "Jws4SVjpT..."
}Mistakes to avoid
Test mode lets anyone read and overwrite your data.
Firebase web keys are public by design; they only identify the project.
A public key with Gemini enabled lets anyone spend your quota.
The Admin SDK with this key bypasses all Security Rules.
The modular API is the recommended one and keeps the bundle smaller.
Questions
Is Firebase free?
The Spark plan is free with daily limits and needs no payment method; the Blaze plan adds more services and pay as you go.
Is it safe that my Firebase key is in the web page?
Yes, the Firebase web key only identifies your project; protection comes from Security Rules and App Check.
Can I use Cloud Functions on the free plan?
No. Functions are listed as not applicable on Spark; on Blaze the first 2 million invocations a month cost nothing.
How big can one database record be?
A Firestore document can be up to 1 MiB.
Can my AI coding assistant work with my Firebase project?
Yes. Firebase ships an MCP server that runs locally and works with Claude Code, Cursor and other assistants.