nhost /nhost
The Open Source Firebase Alternative with GraphQL.
★ 9,390⑂ 640👁 43⑃ 3,705● 1,302▤ 1,191
+2
Daily
9,390
stars
640
forks
43
watchers
3,705
prs
1,302
issues
1,191
releases
README
!Nhost
Nhost
Quickstart
•
Website
•
Docs
•
Blog
•
X
•
Discord
•
Ask Nhost Guru (third party, unofficial)
Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:
- Open Source
- GraphQL
- SQL
- Great Developer Experience
Nhost consists of open source software:
- Database: PostgreSQL
- Instant GraphQL API: Hasura
- Authentication: Auth
- Storage: Storage
- Serverless Functions: Node.js (JavaScript and TypeScript)
- Nhost CLI for local development
- MCP server built into the CLI, for AI coding assistants
Architecture of Nhost
Visit https://docs.nhost.io for the complete documentation.
Get Started
Option 1: Nhost Hosted Platform
1. Sign in to Nhost.
2. Create Nhost app.
3. Done.
Option 2: Local Development (CLI)
The Nhost CLI is the easiest way to start developing locally. It sets up a local environment that tracks database migrations and Hasura metadata.
Install the CLI:
- macOS / Linux: brew install nhost/tap/nhost or curl -sSL https://raw.githubusercontent.com/nhost/nhost/main/cli/get.sh | bash
- Nix: nix profile install github:nhost/nhostcli
- npm / pnpm / Yarn / Bun: npm install -D @nhost/cli,
pnpm add -D @nhost/cli, yarn add -D @nhost/cli, or
bun add -d @nhost/cli
Start building:
bash
nhost login
nhost init
nhost up
Read the full CLI Quickstart guide.
Connect your AI assistant (MCP):
The CLI ships with a Model Context Protocol (MCP) server. Your assistant can read the GraphQL schema, run the queries and mutations you allow, update Nhost Cloud project configuration, search the Nhost docs, and in local development manage metadata, permissions, and migrations. Works with Claude Code, Codex, Gemini CLI, Cursor, and other MCP clients.
bash
claude mcp add nhost nhost mcp start
See the MCP Server docs for other clients and access settings.
Option 3: Self-hosting
Since Nhost is 100% open source, you can self-host the whole Nhost stack. Check out the example docker-compose file to self-host Nhost.
Sign In and Make a GraphQL Request
Install the @nhost/nhost-js package and start building your app:
ts
import { createClient } from '@nhost/nhost-js'
const nhost = createClient({
subdomain: 'your-project',
region: 'eu-central-1'
})
await nhost.auth.signInEmailPassword({
email: '[email protected]',
password: ''
})
await nhost.graphql.request({
query:
query GetUsers {
users {
id
displayName
email
}
}
})
Frontend Agnostic
Nhost is frontend agnostic, which means Nhost works with all frontend frameworks.
Resources
- Start developing locally with the Nhost CLI
- Connect AI assistants to your projects with the Nhost MCP server
Nhost Clients
- JavaScript/TypeScript
- Dart and Flutter
Applications
- Dashboard
- Docs
Community ❤️Top issues
#2813Add error response and http response status from auto embeddings to mutation query24 comments · 2024-08-01#1232Allow renaming root fields for users and storage11 comments · 2022-11-28#2299Gitlab CI/CD support 9 comments · 2023-10-05#3594Generic openid connect configuration8 comments · 2024-03-06#1331skip deployment when there are no changes after a merge in a monorepo8 comments · 2022-12-05#4980auth: Microsoft SSO does not issue session when emailVerificationRequired=true7 comments · 2026-09-10#3517Allow admin role to create pre-signed URLs with arbitrary expirations7 comments · 2023-03-30#2263ensure full coverage of settings in the dashaboard7 comments · 2023-09-25
Discussions
#5297Using pnpm monorepo workspaces within functions?2 comments · 2026-10-27#5133Which API to use for a navigation guard?1 comments · 2026-10-06#4833Constellation inherited roles1 comments · 2026-08-16#4795Wondering what you think about PG Durable1 comments · 2026-08-10#4731constellation row limits?1 comments · 2026-07-25#4083Tutorial uses APIs that don't exist in published SDK - Am I missing something?1 comments · 2026-03-28#3698nhost mcp setup1 comments · 2025-11-14#3395Nhost for students1 comments · 2025-07-20
Latest release
[email protected] [email protected] 2026-11-13[[email protected]] - 2026-11-13 🚀 Features - (constellation) Coalesce concurrent query parsing (5309) - (constellation) Added support for computed fields (5273) 🐛 Bug Fixes - (constellation) Wait for in-flight requests before closing old connectors on reload (5344) - (constellation) Keep default-only inserts for generated columns (5377) Chore - (deps) Bump go and govulncheck (5162)