Integration · Company data
Connect Claude & ChatGPT to Firebase
Ask your AI to look up a record in Firestore, list the documents in a collection or change a field on a document. It works with the Cloud Firestore databases in your Firebase project: it can list documents and subcollections, run structured queries over a document's subcollections, fetch several documents at once, and create, update or delete documents.
Free plan, no credit card. Takes about a minute.
Try asking
“Show me the first 20 documents in the orders collection.”
The AI lists documents in the orders collection with their fields, and uses the cursor to fetch the next page if you want more.
“What is stored in customers/ann-42?”
It gets that document from the customers collection and shows all its fields.
“Which subcollections does users/u123 have?”
It lists the names of the subcollections under that document.
What your AI can do
Read documents
List databases, documents in a collection and subcollections of a document, and get one document or several at once.
Queries
Run structured queries with filters, ordering and limits over the subcollections of a document.
Write and delete
Create or update a document, change only selected fields, apply several writes atomically, or delete documents.
“Find the invoices under customers/c-9 where status is unpaid.”
It runs a structured query with a filter on status over the subcollections of that document and returns the matching documents.
“Set plan to pro on users/u123 and leave the other fields alone.”
It updates the document with only the plan field in the field mask, so the rest of the document stays as it is.
“Delete the document drafts/test-1.”
It deletes that one document. Subcollections under it are not deleted, and the delete cannot be undone.
60 tools for Firebase / Firestore
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
archive_userVisible to othersDisable a user (user creds id). Has effects visible outside this system. API summary: Disables a user creds.cancel_operationDeletesCancel a operation (operations id). Destructive action; may require approval. API summary: Starts asynchronous cancellation on a long-running operation.create_collection_group_indexChanges dataCreate a new index for a collection group. Search indices first to avoid duplicates. API summary: Creates a composite index.create_documentVisible to othersCreate a new document. Has effects visible outside this system. API summary: Bulk deletes a subset of documents from Google Cloud Firestore.create_document_backup_scheduleChanges dataCreate a new backup schedule for a document. API summary: Creates a backup schedule on a database.create_document_change_streamChanges dataCreate a new change stream for a document. API summary: Creates a new change stream for the database.create_document_documents_batch_writeVisible to othersCreate a new documents batch write for a document. Has effects visible outside this system. API summary: Applies a batch of write operations.create_document_documents_execute_pipelineChanges dataCreate a new documents execute pipeline for a document. API summary: Executes a pipeline query.create_document_documents_listenChanges dataCreate a new documents listen for a document. API summary: Listens to changes.create_document_documents_rollbackChanges dataCreate a new documents rollback for a document. API summary: Rolls back a transaction.create_document_documents_writeChanges dataCreate a new documents write for a document. API summary: Streams batches of document updates and deletes, in order.create_document_partition_queryChanges dataCreate a new partition query for a document. API summary: Partitions a query by returning partition cursors that can be used to run the query in parallel.create_document_paymentChanges dataCreate a new payment for a document. API summary: Starts a new transaction.create_document_run_aggregation_queryChanges dataCreate a new run aggregation query for a document. API summary: Runs an aggregation query.create_document_userChanges dataCreate a new user for a document. API summary: Create a user creds.create_project_databaseChanges dataCreate a new database for a project. API summary: Create a database.create_project_databases_cloneChanges dataCreate a new databases clone for a project. API summary: Creates a new database by cloning an existing one.create_project_databases_restoreChanges dataCreate a new databases restore for a project. API summary: Creates a new database by restoring from an existing backup.create_userDeletesCreate a new user. Required: body. Destructive action; may require approval. API summary: Resets the password of a user creds.delete_collection_group_indexDeletesPermanently delete a index by indexes id. Destructive action; may require approval. API summary: Deletes a composite index.delete_documentDeletesPermanently delete one document: `documents_id` = collection, `documents_id1` = document ID. Subcollections under it are not deleted. Cannot be undone. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").delete_document_backup_scheduleDeletesPermanently delete a backup schedule by backup schedules id. Destructive action; may require approval. API summary: Deletes a backup schedule.delete_document_change_streamDeletesPermanently delete a change stream by change streams id. Destructive action; may require approval. API summary: Deletes a change stream.delete_document_operationDeletesPermanently delete a operation by operations id. Destructive action; may require approval. API summary: Deletes a long-running operation.delete_document_userDeletesPermanently delete a user by user creds id. Destructive action; may require approval. API summary: Deletes a user creds.delete_location_backupDeletesPermanently delete a backup by backups id. Destructive action; may require approval. API summary: Deletes a backup.delete_project_databaseDeletesPermanently delete a database by databases id. Destructive action; may require approval. API summary: Deletes a database.export_documents_documentsChanges dataExport documents. API summary: Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage.get_collection_group_fieldGet one field for a collection group by fields id. API summary: Gets the metadata and configuration for a Field.get_collection_group_indexGet one index for a collection group by indexes id. API summary: Gets a composite index.get_documentGet one document from a top-level collection: `documents_id` is the collection name and `documents_id1` the document ID. Returns all its fields. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").get_document_backup_scheduleGet one backup schedule for a document by backup schedules id. API summary: Gets information about a backup schedule.get_document_change_streamGet one change stream for a document by change streams id. API summary: Gets information about a change stream.get_document_firestore_projects_databases_documents_getGet one document for a document by documents id1. API summary: Gets a single document.get_document_operationGet one operation for a document by operations id. API summary: Gets the latest state of a long-running operation.get_document_userGet one user for a document by user creds id. API summary: Gets a user creds resource.get_documents_batchVisible to othersGet several documents at once by their full names in `documents` (projects/{project}/databases/{database}/documents/{collection}/{id}). Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").get_location_backupGet one backup for a location by backups id. API summary: Gets information about a backup.get_project_addressGet one address for a project by locations id. API summary: Gets information about a location.get_project_databaseGet one database for a project by databases id. API summary: Gets information about a database.list_databasesList the Firestore databases in a Firebase project. Required: `projects_id` (your Firebase project ID). Use this to find the database ID; most projects use "(default)".list_document_backup_schedulesList backup schedules for a document.list_document_change_streamsList change streams for a document. API summary: Lists all change streams in a database.list_document_usersList users for a document. API summary: List all user creds in the database.list_subcollection_documentsList documents in a subcollection under a document: `documents_id` = parent collection, `documents_id1` = parent document ID, `collection_id` = subcollection name. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").list_subcollectionsChanges dataList the subcollection names under one document (`documents_id` = collection, `documents_id1` = document ID). Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").query_subcollectionChanges dataRun a structured query (filters, ordering, limit in `structured_query`) over the subcollections of one document: `documents_id` = parent collection, `documents_id1` = parent document ID. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").restore_userChanges dataEnable a user (user creds id). API summary: Enables a user creds.search_collection_group_fieldsSearch fields for a collection group by filter. Use this to find existing fields before creating a new field. Results are paginated. API summary: Lists the field configuration and metadata for this database.search_collection_group_indicesSearch indices for a collection group by filter. Use this to find existing indices before creating a new index. Results are paginated. API summary: Lists composite indexes.search_document_operationsSearch operations for a document by return partial success or filter. Use this to find existing operations before creating a new operation. Results are paginated. API summary: Lists operations that match the specified filter in the request.search_location_backupsSearch backups for a location by filter. Use this to find existing backups before creating a new backup. API summary: Lists all the backups.search_project_addressesSearch addresses for a project by filter or extra location types. Use this to find existing addresses before creating a new address. Results are paginated. API summary: Lists information about the supported locations for this service.set_documentChanges dataCreate or update the document at collection `documents_id` / ID `documents_id1` with `fields` in Firestore value format, e.g. {"name": {"stringValue": "Ann"}}. Without `mask_field_paths` the whole document is replaced; list field names there to change only those. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").update_collection_group_fieldChanges dataUpdate an existing field identified by fields id. Only the fields you pass are changed. API summary: Updates a field configuration.update_document_backup_scheduleChanges dataUpdate an existing backup schedule identified by backup schedules id. Only the fields you pass are changed. API summary: Updates a backup schedule.update_document_firestore_projects_databases_documents_create_doChanges dataUpdate an existing document identified by collection id. API summary: Creates a new document.update_project_databaseChanges dataUpdate an existing database identified by databases id. Only the fields you pass are changed. API summary: Updates a database.upload_document_documentsChanges dataImport a document (databases id). API summary: Imports documents into Google Cloud Firestore.write_documentsChanges dataApply several writes atomically in `writes` (create/update with `update`, or delete by full document name with `delete`). Use it to create new documents in any collection. Deletes are permanent. Needs your Firebase project ID in `projects_id` and `databases_id` (usually "(default)").
Set up in three steps
- 1
Pick the app
Create a free HeyMyApps account and choose Firebase / Firestore from the app list.
- 2
Paste your key
Paste the Client ID and Client secret from your own Google OAuth client, then sign in with Google once. Your Firebase project is also a Google Cloud project: open it in the Google Cloud console, enable the Cloud Firestore API under APIs & Services > Library and set up the OAuth consent screen with yourself as a test user. Under Credentials, create an OAuth client ID of type Web application with the redirect URI https://heymyapps.com/oauth/callback.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in Firebase?
The AI can list the Firestore databases in your project, list documents in collections and subcollections, get one document or several at once, and run structured queries over a document's subcollections. It can create and update documents, change only selected fields, apply several writes atomically and delete documents. It works with Cloud Firestore, not the Realtime Database.
Does the AI see my Firebase credentials?
No. Your Firebase credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on, so you can start read-only. Setting, writing and deleting documents change your live data, and deletes cannot be undone. These tools can require your approval before they run. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
Firebase connects with Google OAuth, and this connection needs the HeyMyApps Pro plan. HeyMyApps also has a free plan with no credit card, but it does not include this connection. Paid plans bill per completed task. You also need your own Firebase project.
Why do I create my own Google OAuth client?
Firestore access goes through an OAuth client in your own Google Cloud project, so the access belongs to you. You enable the Cloud Firestore API, create a Web application OAuth client with the redirect URI https://heymyapps.com/oauth/callback, paste its Client ID and Client secret into HeyMyApps and sign in once with a Google account that has access to the Firebase project. The AI then works with that account's access.
Related integrations
Let your AI work in Firebase / Firestore today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Firebase / Firestore freeHeyMyApps is not affiliated with Firebase / Firestore. Product names are trademarks of their owners.






