Skip to main content
MCP server CX Codex

firebase-mcp — Claude Code MCP server: what it does, how to install

Connects Firebase services to AI development tools via MCP. Helps query databases, inspect user accounts, and view runtime logs directly inside the editor.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add firebase-mcp -- npx -y firebase-tools
Open on GitHub

What firebase-mcp does

This server provides development assistants with direct access to your Firebase projects using standard I/O. It queries documents in Cloud Firestore and Realtime Database. It also updates user records in Firebase Authentication. Setup stays minimal.

The tool executes commands using credentials from your local Firebase CLI configuration. If your CLI environment is not authenticated, tool calls fail immediately. You will need Node.js with npm on your machine.

What it helps with

  • query and update documents in Cloud Firestore
  • inspect security rules across Firestore and Storage
  • retrieve runtime logs from Cloud Functions
  • search and manage user profiles in Firebase Authentication

Example prompts for the agent

  • Fetch the user account details for [email protected] from Firebase Auth
  • Read recent Cloud Functions logs to debug the latest errors
  • List all active backends configured in App Hosting

How to install firebase-mcp

Platform CLI

claude mcp add firebase-mcp -- npx -y firebase-tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about firebase-mcp

How to install firebase-mcp in Claude Code?

Run claude mcp add firebase-mcp -- npx -y firebase-tools. This launches the server via npx and attaches it over standard I/O.

What credentials does firebase-mcp use?

It relies on credentials already configured for the Firebase CLI on your system. Run your normal CLI login command before starting queries.

Which Firebase features can the assistant control?

The server supports Firestore and Realtime Database. It also handles Authentication and Crashlytics diagnostics.

Similar MCP servers

Everything for Cloud: AWS, Azure, GCP →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor