Nhost
OfficialYou can use this server to inspect, query, and manage an Nhost project and search its documentation.
Retrieve GraphQL/API schemas for a project by role.
Execute GraphQL queries and mutations, with optional variables and user ID override.
Manage Hasura metadata, migrations, permissions, remote schemas, roles, and database operations via Nhost management endpoints.
List, search, and read Nhost documentation pages.
Connect AI assistants to Nhost project workflows through the MCP server.
Allows reading the GraphQL schema and executing allowed queries and mutations against the Nhost GraphQL API.

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
Related MCP server: Vibgrate AI Context
Option 1: Nhost Hosted Platform
Sign in to Nhost.
Create Nhost app.
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/nhostorcurl -sSL https://raw.githubusercontent.com/nhost/nhost/main/cli/get.sh | bashNix:
nix profile install github:nhost/nhost#clinpm / pnpm / Yarn / Bun:
npm install -D @nhost/cli,pnpm add -D @nhost/cli,yarn add -D @nhost/cli, orbun add -d @nhost/cli
Start building:
nhost login
nhost init
nhost upRead 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.
claude mcp add nhost nhost mcp startSee 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:
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
Connect AI assistants to your projects with the Nhost MCP server
Nhost Clients
Applications
Community ❤️
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.
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
Available Tools
6 toolsget-schemaCRead-onlyIdempotent
Get GraphQL schema for an Nhost project running in the Nhost Cloud.
Inputs: role (required), subdomain (required), queries, summary, +1 more.
graphql-queryADestructive
Execute a GraphQL query against a Nhost project. This tool is useful to query and mutate data. If you run into issues executing queries, retrieve the schema again in case the schema has changed. If you get an error indicating the query or mutation is not allowed the user may have disabled them in the server, don't retry and tell the user they need to enable them when starting nhost's mcp
Inputs: role (required), query (required), subdomain (required), userId, +1 more.
listARead-onlyIdempotent
List all Nhost documentation pages. Use this tool to discover available documentation pages and their topics. Optionally group pages by section for a structured overview.
Inputs: grouped, summary.
manage-graphqlADestructiveIdempotent
Query GraphQL's management endpoints on an Nhost project running. This tool is useful to
manage hasura metadata, migrations, permissions, remote schemas, database migrations,
etc. It also allows to interact with the underlying database directly.
* Before using this tool always describe in natural languate what you are about to do.
## Metadata changes
* When changing metadata ALWAYS use the /apis/migrate endpoint
* Always perform a bulk request to avoid
having to perform multiple requests
* The admin user always has full permissions to everything by default, no need to configure
anything
## Schema changes
* Before performing any schema changes describe the changes in natural language
* Before performing any database schema changes, always check the current state of the database
* When performing database schema changes, always follow existing patterns in the database schema
* When making database schema changes, always do it via the /apis/migrate endpoint
* Always provide a down migration
* Always track new tables
* Always track new foreign keys as relationships
* Never modify the database schema directly via SQL commands, always use the /apis/migrate endpoint
## Roles
* Roles need to be added to the table auth.roles, if requested to add a new role for an
application always do it via a migration
## Data changes
* Before adding/changing/modifying data confirm with the user if the change should be done
using a migration via the /apis/migrate endpoint
Inputs: body (required), path (required), subdomain (required).
read_pageARead-onlyIdempotent
Read the full content of an Nhost documentation page. Use this after searching to get the complete documentation for a specific page.
Inputs: path (required).
searchARead-onlyIdempotent
Search Nhost's official documentation. Use this tool to look for information about Nhost's features, APIs, guides, etc. Returns relevant documentation pages with highlighted snippets.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Three GraphQL-related tools (get-schema, graphql-query, manage-graphql) could be confused at first glance, but descriptions clarify distinct roles: schema retrieval, data querying, and management endpoint access. The docs trio (list/search/read_page) overlaps slightly since list and search both help discover pages, though read_page is clearly distinct.
Names mix conventions: get-schema, graphql-query, manage-graphql use kebab-case verb-noun, read_page uses snake_case, and list/search are bare verbs with no noun. Still readable and inferable, but not a predictable single pattern.
Six tools is well-scoped for a GraphQL backend with documentation: schema, query, management, and doc discovery/retrieval each earn their place. No redundant or filler tools.
Covers the core domain well—schema introspection, data query/mutation, metadata and migration management, plus full docs access (list/search/read). Minor gaps around project-level or auth configuration operations, but agents can work around them.
Maintenance
Related MCP Connectors
MCP server for interacting with the Supabase platform
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.MIT

Vibgrate AI Contextofficial
AlicenseNot gradedqualityBmaintenanceLocal-first MCP server that gives AI assistants codebase intelligence—code graph, drift analysis, vulnerability attribution, and version-correct library docs—all from the user's machine.775 npm6Apache 2.0- AlicenseAqualityDmaintenanceA lightweight MCP server that enables AI assistants to execute local development tools and retrieve system status with low latency over stdio or HTTP.13MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes GraphQL operations as typed tools for AI models, with schema exploration, validation, execution, hot reload, OAuth, prompts, MCP Apps widgets, and OpenTelemetry support.MIT