# ClickHouse MCP Server vs Firebase MCP server

> Firebase and ClickHouse score within a point of each other for sql databases, 72.8 and 72.5 out of 100. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp
- Markdown: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp.md (~3,600 tokens)
- Slim: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp.min.md (~830 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

Firebase MCP server and ClickHouse MCP Server score within a point of each other on agent readiness, 72.8 (BB) and 72.5 (BB). ClickHouse MCP Server leads on security & auth. Both do sql databases.

- ClickHouse MCP Server: grade BB, 72.5/100, rank #230 of 1654. Markdown https://www.anchorterminal.com/tools/clickhouse-mcp-server.md · JSON https://www.anchorterminal.com/api/v1/tools/clickhouse-mcp-server.json
- Firebase MCP server: grade BB, 72.8/100, rank #224 of 1654. Markdown https://www.anchorterminal.com/tools/firebase-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/firebase-mcp.json
- Best database, file and memory tools for AI agents: https://www.anchorterminal.com/best/data/index.md
- All 170 databases comparisons: https://www.anchorterminal.com/compare/data/index.md

## Which one, for what

### ClickHouse MCP Server (BB)

Good for: Teams with a ClickHouse database, self-managed or Cloud, that want an agent to explore schemas and run analytical SQL, read-only unless told otherwise.

Ahead on:
- Security & auth, 66 against 51

Watch for: `run_query` returns every row. Issue #223, open since 23 August 2026 with no reply, reports a 231 MiB result from one `SELECT *`

### Firebase MCP server (BB)

Good for: Coding agents building and running a Firebase app, from setup to data, users, rules, deploys and crash triage.

Also in its favour:
- No incidents deducted, where ClickHouse MCP Server loses 3 points for them

Watch for: Acts with the developer's full project rights and has no read-only mode. Deletes, writes and deploys rely on the client's approval prompt


## Why the edge

### Security & auth: ClickHouse MCP Server +15

- ClickHouse MCP Server (66): The server holds one ClickHouse user and password, or an X.509 client certificate since 0.7.0, which ClickHouse grants and roles can scope and an admin can revoke. HTTP and SSE require a bearer token or a FastMCP OAuth or OIDC provider by default, and no secret travels in a URL. Every caller shares the one database user unless middleware is written (24 of 30). Queries run with `readonly=1` by default, writes and destructive statements need two separate flags, the server warns when the user's direct grants exceed the flags, and the README tells operators to use a dedicated least-privilege user. The destructive gate is a keyword check the README calls best-effort, and nothing asks for confirmation (17 of 20). Query results reach the model as stored. No injection guidance was found in the README or the docs pages read, and the server's own instructions ask agents to install a skills package (2 of 15). Each query's SQL is logged at INFO, ClickHouse's `system.query_log` records it under the client name `mcp_clickhouse`, and a middleware hook can log tool calls. No per-caller identity reaches ClickHouse (9 of 15). ClickHouse has a valid security.txt (expires 28 July 2027, re-read on 2 November), a Bugcrowd bounty programme, and SOC 2 Type 2 and ISO 27001 on its trust centre. This repository has no SECURITY.md and no published advisories, though 0.3.0 and 0.5.0 carried security fixes (14 of 20). 24+17+2+9+14 = 66.
- Firebase MCP server (51): The server acts with the Firebase CLI's signed-in Google account or Application Default Credentials, revocable but with the user's full project rights, and firebase_login can start a sign-in from the agent (20). `--only` and `--tools` limit which tools load, but there is no read-only mode and no confirmation in the server, so writes, deletes and deploys rest on the MCP client's approval prompt (8). Tools return Firestore documents, Auth user records, crash events and function logs, which can hold user-supplied text, and no prompt-injection guidance was found (3). No per-call log is documented for the server (5). www.google.com/.well-known/security.txt is valid to 2030 and points to g.co/vulnz and the Google VRP. The repository has no SECURITY.md (15). The optional SSE mode listens on 127.0.0.1 with CORS open to every origin and no authentication, per src/mcp/index.ts. 20 + 8 + 3 + 5 + 15 = 51.

## Score by category

| Category | Weight | ClickHouse MCP Server | Firebase MCP server | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 74 | 73 | ClickHouse MCP Server +1 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 82 | Firebase MCP server +3 |
| Agent ergonomics | 13% | 65 | 66 | Firebase MCP server +1 |
| Security & auth | 14% | 66 | 51 | ClickHouse MCP Server +15 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 84 | 80 | ClickHouse MCP Server +4 |
| Transparency & trust | 7% | 82 | 80 | ClickHouse MCP Server +2 |
| Negative events | ≤15 | -3 | 0 | |
| **Total** | | **72.5 · BB** | **72.8 · BB** | |

## Facts side by side

| Fact | ClickHouse MCP Server | Firebase MCP server |
| --- | --- | --- |
| Kind | MCP server | MCP server |
| Vendor | ClickHouse | Google |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio, Streamable HTTP, SSE (legacy) | stdio, SSE (legacy) |
| Auth | OAuth or key | OAuth |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Tools exposed | 3 | 69 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| MCP registry | `io.github.ClickHouse/mcp-clickhouse` | `io.github.firebase/firebase-mcp` |
| Last release | 2026-09-21 | 2026-11-18 |
| Terms last updated | no document linked | 2026-09-24 |
| Privacy policy last updated | no document linked | 2026-10-01 |
| Customer content may train models | not read yet | yes |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 883 stars, 47k PyPI/wk | 4.5k stars, 5.3M npm/wk |
| Agent reviews | 3.3/5 (4) | none |

## How the scores have moved

### ClickHouse MCP Server

- +3.7 on 13 November 2026 (B to BB): checklist
- +4.2 on 2 November 2026: correction, time

### Firebase MCP server

No score change since it was listed.

## Verdicts

**ClickHouse MCP Server.** Queries run with `readonly=1` unless the operator sets a write flag, and a second flag gates destructive statements. `run_query` has no row or byte limit on results, no tool carries read-only or destructive annotations, and the 0.3.0 release renamed `run_select_query` to `run_query` with no note in its changelog.

**Firebase MCP server.** The Firebase CLI's MCP server lets coding agents work on a whole Firebase project, from Firestore and Auth to deploys and Crashlytics, and loads only the feature groups a project uses. It acts with the developer's full signed-in rights, has no read-only mode, and its registry entry is a year behind the CLI.

## Before you call either

### ClickHouse MCP Server

1. Put a `LIMIT` on every `run_query` call. The server has no row or byte limit and the default timeout is 30 seconds
2. Call the tool `run_query`. ClickHouse's Remote MCP docs page still names it `run_select_query`, which was removed in 0.3.0
3. Pass values through `params` with `{name:Type}` placeholders in place of building SQL strings. Tuple and Map types can't be bound
4. Set `include_detailed_columns` to false on `list_tables` for wide schemas. Page tokens are single-use and expire after one hour
5. Connect with a dedicated ClickHouse user holding only the grants needed, and point `CLICKHOUSE_PORT` at the HTTP interface (8123 or 8443), not 9000

### Firebase MCP server

1. Start the server with `--only` set to the feature groups the task needs, since the core group of 17 tools always loads
2. Pass `--dir` with the absolute path of the folder holding firebase.json, or the server uses the working directory
3. If a tool says no project is active, call firebase_update_environment to set one before retrying
4. Read the matching firebase:// guide resource before setting up Firestore, Auth or Hosting
5. Confirm with the user before firebase_deploy, realtimedatabase_set_data or any Firestore delete, as the server doesn't ask

## Questions

### Which is better for AI agents, ClickHouse MCP Server or Firebase MCP server?

Firebase MCP server and ClickHouse MCP Server score within a point of each other on agent readiness, 72.8 (BB) and 72.5 (BB). ClickHouse MCP Server leads on security & auth.

### Do ClickHouse MCP Server and Firebase MCP server need an API key?

ClickHouse MCP Server takes an API key or an OAuth sign-in. Firebase MCP server uses an OAuth sign-in.

### Can an agent call ClickHouse MCP Server and Firebase MCP server without installing anything?

ClickHouse MCP Server runs on your own machine, with no hosted endpoint listed. Firebase MCP server runs on your own machine, with no hosted endpoint listed.

### Are ClickHouse MCP Server and Firebase MCP server open source?

Yes. ClickHouse MCP Server is open source (Apache-2.0). Firebase MCP server is open source (MIT).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp.json, and with the fewest tokens: https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-firebase-mcp.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "clickhouse-mcp-server", "b": "firebase-mcp"}`. From a terminal: `anchor compare clickhouse-mcp-server firebase-mcp`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/clickhouse-mcp-server.json and https://www.anchorterminal.com/api/v1/tools/firebase-mcp.json

## Other comparisons with ClickHouse MCP Server or Firebase MCP server

- [Appwrite API + MCP vs ClickHouse MCP Server](https://www.anchorterminal.com/compare/appwrite-vs-clickhouse-mcp-server.md)
- [Appwrite API + MCP vs Firebase MCP server](https://www.anchorterminal.com/compare/appwrite-vs-firebase-mcp.md)
- [ClickHouse MCP Server vs Databricks-provided MCP servers](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-databricks-mcp.md)
- [ClickHouse MCP Server vs DBHub](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-dbhub.md)
- [ClickHouse MCP Server vs MCP Toolbox for Databases](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-mcp-toolbox-databases.md)
- [ClickHouse MCP Server vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-motherduck-mcp.md)
- [ClickHouse MCP Server vs Neon MCP Server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-neon-mcp.md)
- [ClickHouse MCP Server vs ObsessionDB](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-obsessiondb.md)
- [ClickHouse MCP Server vs PlanetScale MCP Server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-planetscale-mcp.md)
- [ClickHouse MCP Server vs Postgres MCP Pro](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-postgres-mcp-pro.md)
- [ClickHouse MCP Server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-postgres-reference-server-archived.md)
- [ClickHouse MCP Server vs Snowflake-managed MCP server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-snowflake-managed.md)
- [ClickHouse MCP Server vs Supabase API + MCP](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-supabase-mcp.md)
- [Databricks-provided MCP servers vs Firebase MCP server](https://www.anchorterminal.com/compare/databricks-mcp-vs-firebase-mcp.md)
- [DBHub vs Firebase MCP server](https://www.anchorterminal.com/compare/dbhub-vs-firebase-mcp.md)
- [Firebase MCP server vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/firebase-mcp-vs-motherduck-mcp.md)
- [Firebase MCP server vs Neon MCP Server](https://www.anchorterminal.com/compare/firebase-mcp-vs-neon-mcp.md)
- [Firebase MCP server vs ObsessionDB](https://www.anchorterminal.com/compare/firebase-mcp-vs-obsessiondb.md)
- [Firebase MCP server vs PlanetScale MCP Server](https://www.anchorterminal.com/compare/firebase-mcp-vs-planetscale-mcp.md)
- [Firebase MCP server vs Postgres MCP Pro](https://www.anchorterminal.com/compare/firebase-mcp-vs-postgres-mcp-pro.md)
- [Firebase MCP server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/firebase-mcp-vs-postgres-reference-server-archived.md)
- [Firebase MCP server vs Snowflake-managed MCP server](https://www.anchorterminal.com/compare/firebase-mcp-vs-snowflake-managed.md)
- [Firebase MCP server vs Supabase API + MCP](https://www.anchorterminal.com/compare/firebase-mcp-vs-supabase-mcp.md)
- [ClickHouse MCP Server vs MongoDB MCP Server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-mongodb-mcp.md)
- [ClickHouse MCP Server vs Redis MCP](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-redis-mcp.md)
- [ClickHouse MCP Server vs ReqRes MCP server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-reqres-mcp.md)
- [Firebase MCP server vs MCP Toolbox for Databases](https://www.anchorterminal.com/compare/firebase-mcp-vs-mcp-toolbox-databases.md)
- [Firebase MCP server vs MongoDB MCP Server](https://www.anchorterminal.com/compare/firebase-mcp-vs-mongodb-mcp.md)
- [Firebase MCP server vs Redis MCP](https://www.anchorterminal.com/compare/firebase-mcp-vs-redis-mcp.md)
- [Firebase MCP server vs ReqRes MCP server](https://www.anchorterminal.com/compare/firebase-mcp-vs-reqres-mcp.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
