MCPcopy Index your code
hub / github.com/nhost/nhost

github.com/nhost/nhost @1.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.3.1 ↗ · + Follow
18,655 symbols 62,376 edges 4,551 files 5,949 documented · 32% 196 cross-repo links updated today@nhost/stripe-graphql-js@1.3.1 · 2026-06-29★ 9,22681 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
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:

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/nhost#cli - 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:

nhost login
nhost init
nhost up

Read the full CLI Quickstart guide.

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:

import { createClient } from '@nhost/nhost-js'

const nhost = createClient({
  subdomain: 'your-project',
  region: 'eu-central-1'
})

await nhost.auth.signInEmailPassword({
  email: 'user@example.com',
  password: '<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

Nhost Clients

Applications

Community ❤️

First and foremost: Star and watch this repository to stay up-to-date.

Also, follow Nhost on GitHub Discussions, our Blog, and on X. You can chat with the team and other members on Discord and follow our tutorials and other video material at YouTube.

Nhost is Open Source

This repository, and most of our other open source projects, are licensed under the MIT license.

ROSS Index - Fastest Growing Open-Source Startups | Runa Capital

How to contribute

Here are some ways of contributing to making Nhost better:

  • Try out Nhost, and think of ways to make the service better. Let us know here on GitHub.
  • Join our Discord and connect with other members to share and learn from.
  • Send a pull request to any of our open source repositories on Github. Check out our contribution guide for more details about how to contribute. We're looking forward to your contribution!

Contributors

<img width="720" src="https://contrib.rocks/image?repo=nhost/nhost" alt="A table of avatars from the project's contributors" />

Extension points exported contracts — how you extend this code

Node (Interface)
Node is the sealed AST root. Use a type switch to discriminate. [23 implementers]
internal/lib/jsontmpl/ast/ast.go
Connector (Interface)
Connector is the data source interface. Implementations introspect their data source, generate role-based schemas, and e [9 …
services/constellation/connector/connector.go
Type (Interface)
(no doc) [6 implementers]
tools/codegen/processor/types.go
SessionStorageBackend (Interface)
(no doc) [11 implementers]
packages/nhost-js/src/session/storageBackend.ts
TwilioVerificationServiceDB (Interface)
(no doc) [6 implementers]
services/auth/go/notifications/sms/twilio_verification.go
Antivirus (Interface)
(no doc) [4 implementers]
services/storage/controller/controller.go
LogGatherer (Interface)
LogGatherer is the interface for gathering logs from Docker containers. This is a simplified version of bragi's LogGathe [1 …
cli/cmd/configserver/logsapi/resolver.go
AuthContextType (Interface)
* Authentication context interface providing access to user session state and Nhost client. * Used throughout the React
examples/guides/react-apollo/src/lib/nhost/AuthProvider.tsx

Core symbols most depended-on inside this repo

WriteString
called by 1114
services/storage/middleware/securityheaders/securityheaders.go
click
called by 788
dashboard/src/tests/testUtils.tsx
Run
called by 592
services/constellation/controller/controller.go
render
called by 508
dashboard/src/tests/testUtils.tsx
EXPECT
called by 500
services/auth/go/controller/mock/controller.go
Text
called by 484
services/auth/go/sql/data.go
Get
called by 419
services/auth/go/middleware/ratelimit/sliding_window.go
cn
called by 404
dashboard/src/lib/utils.ts

Shape

Function 8,424
Method 5,464
Struct 2,297
Interface 1,531
Enum 552
TypeAlias 305
FuncType 50
Class 32

Languages

Go68%
TypeScript32%

Modules by API surface

cli/nhostclient/graphql/models_gen.go1,114 symbols
internal/lib/nhostclient/auth/auth.gen.go962 symbols
services/auth/go/api/server.gen.go687 symbols
dashboard/src/utils/__generated__/graphql.ts537 symbols
cli/mcp/nhost/graphql/graphql.gen.go234 symbols
services/auth/go/controller/mock/controller.go204 symbols
services/storage/api/server.gen.go203 symbols
packages/nhost-js/src/auth/client.ts202 symbols
services/storage/metadata/models_gen.go192 symbols
cli/cmd/configserver/logsapi/generated/generated.go176 symbols
services/storage/client/client.gen.go173 symbols
internal/lib/nhostclient/storage/storage.gen.go173 symbols

Dependencies from manifests, versioned

cuelang.org/gov0.11.2 · 1×
dario.cat/mergov1.0.2 · 1×
github.com/MicahParks/jwksetv0.11.0 · 1×
github.com/MicahParks/keyfunc/v3v3.7.0 · 1×
github.com/ProtonMail/go-cryptov1.4.1 · 1×
github.com/Yamashou/gqlgencv0.33.0 · 1×
github.com/apapsch/go-jsonmerge/v2v2.0.0 · 1×
github.com/aws/aws-sdk-go-v2v1.41.1 · 1×

Datastores touched

localDatabase · 1 repos
dbDatabase · 1 repos
mydbDatabase · 1 repos
postgresDatabase · 1 repos

For agents

$ claude mcp add nhost \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact