
Firebase Realtime Database
Connects to Firebase Realtime Database through Admin SDK to query, filter, and manage real-time data directly from AI assistants.
Integrates with Firebase Realtime Database using Admin SDK authentication to enable querying documents by field filters, listing collections, and adding new documents for real-time data management workflows.
What it does
- Query documents with field filters
- List database collections
- Add new documents to database
- Access real-time data synchronization
- Authenticate using Firebase Admin SDK
Best for
About Firebase Realtime Database
Firebase Realtime Database is a community-built MCP server published by ytzlax that provides AI assistants with tools and capabilities via the Model Context Protocol. Use Firebase as database for real-time data management. Integrate with database on Firebase to securely query, list, and It is categorized under databases, cloud infrastructure.
How to install
You can install Firebase Realtime Database in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
Firebase Realtime Database is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Firebase Realtime Database MCP
Overview
The inspiration for this project was taken from firebase-mcp. Unlike firebase-mcp, which uses Firestore functionalities, firebase-realtimeDB-mcp uses Firebase Realtime Database functionalities. Firebase Realtime Database MCP enables AI assistants to work directly with Firebase services.
🚀 Quick Start
Prerequisites
- Firebase project with service account credentials
- Node.js environment
1. Firebase Configuration
- Go to Firebase Console → Project Settings → Service Accounts
- Click "Generate new private key"
- Save the JSON file securely
2. Environment Variables
Required
SERVICE_ACCOUNT_KEY_PATH: Path to your Firebase service account key JSONFIREBASE_DATABASE_URL: Firebase realtime database URL
1. Install Firebase Realtime Database MCP project locally
A. Run git clone https://github.com/ytzlax/firebase-realtimeDB-mcp.git in the terminal.
B. cd to the cloned path, and run npm i.
C. Run npm run build.
2. Install MCP Server
Add the server configuration to your MCP settings file:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Augment:
~/Library/Application Support/Code/User/settings.json - Cursor:
[project root]/.cursor/mcp.json
How to use with Claude Desktop?
Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:
{
"firebase-realtimeDB-mcp": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": {
"SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
"FIREBASE_DATABASE_URL": "your-project-id.firebasestorage.app"
}
}
}
Firebase Tools
| Tool | Description | Required Parameters |
|---|---|---|
get_documents_by_filter | Get documents by filter | collectionName, field,value |
list_collections | List root collections | None |
add_doc | Add Document | json object |
Alternatives
Related Skills
Browse all skillsFirebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. I
Scans Android APKs for Firebase security misconfigurations including open databases, storage buckets, authentication issues, and exposed cloud functions. Use when analyzing APK files for Firebase vulnerabilities, performing mobile app security audits, or testing Firebase endpoint security. For authorized security research only.
Expert database administrator specializing in modern cloud databases, automation, and reliability engineering. Masters AWS/Azure/GCP database services, Infrastructure as Code, high availability, disaster recovery, performance optimization, and compliance. Handles multi-cloud strategies, container databases, and cost optimization. Use PROACTIVELY for database architecture, operations, or reliability engineering.
You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.
Find, connect, and use MCP tools and skills via the Smithery CLI. Use when the user searches for new tools or skills, wants to discover integrations, connect to an MCP, install a skill, or wants to interact with an external service (email, Slack, Discord, GitHub, Jira, Notion, databases, cloud APIs, monitoring, etc.).
Full Confluence Cloud REST API v2 skill (pages, spaces, folders, databases, whiteboards, comments, labels, tasks, properties, etc.) with basic/OAuth auth, pagination, and migration from confluence-cli.