Open source Firebase alternative with GraphQL
open sourceMITself-hostablefreeMCP
Nhost is an open source (MIT) backend platform, a Firebase alternative built on PostgreSQL with an instant GraphQL API from Hasura. Each project gets a dedicated Postgres database with pgvector, role-based GraphQL with realtime subscriptions and event triggers, authentication (email and password, magic links, social OAuth, WebAuthn and 2FA, and an OAuth2/OIDC provider), file storage, Node.js serverless functions, custom containers and an AI toolkit. The Nhost CLI runs the whole stack locally and tracks migrations and Hasura metadata, and has a built-in MCP server that lets AI coding assistants read your schema, run allowed queries and manage permissions, migrations and Nhost Cloud projects; a separate Backend MCP server exposes a project's API to agents under each user's permissions. Use Nhost Cloud, from free to Pro, Team and Enterprise plans, or self-host the stack with Docker Compose.
Problems it solves
- an open source Firebase alternative with Postgres and GraphQL
- a backend with auth, storage and a GraphQL API for my app without writing a server
- let my AI coding assistant manage my database schema, permissions and migrations through MCP
- expose my app's GraphQL API to AI agents with each user's own permissions
- a hosted Postgres with pgvector and instant GraphQL for an AI app
- self-host a backend-as-a-service stack with Docker Compose
Features
- dedicated PostgreSQL database with pgvector
- instant role-based GraphQL API (Hasura) with realtime subscriptions and event triggers
- authentication: email and password, magic links, social OAuth, WebAuthn/FIDO2, 2FA, OAuth2/OIDC provider
- file storage
- Node.js serverless functions and custom containers (Run)
- AI toolkit add-on
- CLI for local development with migrations and Hasura metadata
- CLI MCP server for AI coding assistants and a Backend MCP server for agents
- automated backups, point-in-time recovery and managed Grafana on paid plans
- self-hosting with Docker Compose
Limitations
- Free Starter projects pause after a week of inactivity, and an account gets one.1
Ways to run it
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Nhost does.
- Appwrite The open-source cloud for agents & devs
- TrailBase An open, sub-millisecond, single-executable Firebase alternative
- PocketBase Open Source backend in 1 file
- Supabase The Postgres development platform
- Directus The backend for your whole team
- Parse Server Open-source backend for Node.js / Express, the core of the Parse Platform