Next.js website builder

The multi-tenant website builder that lives inside your Next.js app.

Drop ChaiBuilder into your Next.js codebase as an npm package. Pages are stored as JSON in your own PostgreSQL or SQLite database and rendered at runtime with Next.js SSG + ISR, so your customers publish changes live with no build or deploy queue. One deployment serves every customer site on your platform.

White-label, multi-tenant, self-hosted inside your product. One yearly license for every customer site.

Only building a single Next.js site? Start with the free open-source core.

your-app/chai/register.ts

Your Next.js code

registerChaiBlock(ListingGrid, {

type: "ListingGrid",

label: "Listing grid",

});

 

export async function listingsProvider({ siteId }) {

return db.listing.findMany({ where: { siteId } });

}

Your builder, your brand

Rendered on the canvas

ChaiBuilder visual builder canvas rendering custom React blocks

Running in production inside SaaS products today

This website runs on ChaiBuilder

Open-source core on GitHub

React

Next.js

Tailwind CSS

PostgreSQL or SQLite

Model Context Protocol (MCP)

Payload CMS (optional)

Built for Next.js platforms running hundreds of customer sites

Hand-coded Next.js templates work for one site. When you run hundreds of customer sites, static builds and developer-only edits become an operational bottleneck.

01

Runtime JSON with SSG and ISR, no rebuild queue

Pages are not compiled at build time. Each customer page builds on its first visit, caches automatically, and revalidates in milliseconds when the customer clicks Publish.

02

Server-side data providers bound to your database

Write clean Next.js server functions that query your PostgreSQL or SQLite records (listings, inventory, locations, menus) and inject them into page bindings before render.

Explore integrations

03

Granular cache-tag revalidation

When a record changes in your core SaaS database, fire its cache tag through /api/revalidate so only the customer pages displaying that record regenerate.

04

Custom React components as visual blocks

Register your own React components with typed props so non-technical customers can drag, drop, and configure them inside your design system.

See all features

Low-code, not no-code

Your developers set it up once. Your customers run their sites.

Closed no-code builders hit a wall the moment a customer site needs your platform's live data or custom widgets. ChaiBuilder runs as code inside your app, so your engineers keep full control while your customers get effortless visual editing.

01

For your developers

A plugin in your Next.js stack

Integrate once. Register custom React blocks, bind pages to server-side data providers, pass your existing auth session, override routing, and expose custom MCP tools. No closed black box.

02

For your onboarding and account team

Fast setup and review

Spin up new customer sites pre-populated from your database, adjust design tokens, review drafts created by AI agents, and roll back any page in one click.

03

For your customers

Guardrailed self-service

Customers log in inside your product, update their own copy and promotions visually or by chatting with AI, preview changes, and publish live without opening a ticket to your team.

One module inside your product. Zero engineering tickets for day-to-day site edits.

Your AI agent

MCP connected

Translate the pricing page into German and show me a preview.

get_block_translations

update_block_translations

The German translation is saved as a draft. Nothing is live until a person reviews and publishes it.

Preview: Pricing (German)

/pricing

AI is editing (read-only)

Built-in MCP server

Your customers' AI can do the busywork. A person still approves it.

Anyone with an account and permission on a customer site can connect Claude, Cursor, VS Code, or any MCP client to /api/mcp. The agent updates pages, translates content, and fixes SEO with that user's exact permissions, and every change lands as a draft until a person reviews and publishes it.

Visual builder for people

Customers and onboarding staff build and publish pages visually inside your product, with an AI chat assistant beside them.

33 built-in MCP tools for agents

Find pages, edit blocks, translate content, audit SEO, manage redirects, and compare revisions, plus custom MCP tools your developers register for your platform's data.

Drafts first, zero collisions

Agent edits save to drafts with a preview link and never overwrite a page someone currently has open in the visual builder.

Runs on your site and their AI keys

The MCP server runs inside your own deployment and database, and agents run on the AI subscriptions you or your customers already pay for, with zero ChaiBuilder AI credit fees.

Built to sit inside your stack, not beside it

Hosted white-label builders keep your customers' websites on their cloud and tax you per site as you grow. ChaiBuilder runs inside your own application, so your customer data, your servers, and your margins stay with you.

Own your database

Bring your own PostgreSQL or SQLite database. All customer pages, registered users, revisions, and actions live inside your database alongside your core product records. ChaiBuilder has no access to any of it.

Own your infrastructure

ChaiBuilder is delivered as code you deploy on your own stack. There is no vendor-hosted runtime in the request path, and a lapsed license never takes a live customer site down.

One license, zero feature tiers

A single yearly Pro license unlocks the entire product: multi-tenancy, your brand in the builder, and the MCP server included. No feature flags, no per-site fees, no per-seat pricing, and no AI credits.

Ownership is not a plan tier or an add-on here. It is the architecture.

Open core

Inspectable open-source core. Production multi-tenancy in Pro.

You never have to bet your platform on a closed black box. Read and run the core visual builder on GitHub today, and license chaipro when you run websites for your customers.

Open-source core

chaicore, BSD-3-Clause

The visual canvas, block system, SQLite page storage, and Next.js runtime page renderer, plus the standalone <ChaiBuilderEditor /> React component. Free to inspect, self-host, and use when building a site or two.

View chaicore on GitHub

Pro

chaipro, yearly platform license

The chaicore foundation plus the production extensions SaaS platforms pay for: multi-tenancy, PostgreSQL support, white-label branding in the builder, RBAC roles and permissions, revisions and restore, multilingual management, URL redirects, media manager, full AI assistant, and the built-in MCP server.

See Pro pricing

Pricing

One license. Every customer site on your platform.

SaaS platforms license chaipro with one predictable yearly fee for the whole platform, however many customer sites it runs. Only building a site or two? The open-source core is free.

Pro

Unlimited customer sites

chaipro for SaaS platforms

One yearly license

unlimited sites

Built into your SaaS product so every customer gets a website under your brand, plus Build Services to get you live.

Multi-tenancy and your brand inside the builder

Server-side data binding to your database (PostgreSQL or SQLite)

Roles, revisions, multilingual, AI assistant, and the MCP server included

Build Services: pilot integration, custom blocks, migration, and rollout

Book a demo

White-label, built into your product, self-hosted on your infrastructure.

Open Source

chaicore for individual sites

Free

BSD-3-Clause license

The chaicore visual builder for your Next.js app. For individual developers, small teams, and bespoke single-site projects.

Core visual builder, SQLite page storage, and runtime rendering

Build a site or two for yourself or a client

Self-host it anywhere Next.js runs

Start with open source

Every Pro deployment includes 100% of the feature set and the built-in MCP server. One yearly license for your whole platform: no per-site fees, no per-seat pricing, no AI credits, and no feature tiers.

Want your engineers to try it hands-on first? Evaluate chaipro with a 30-day trial from the get-started page. No credit card, no email.

Frequently asked questions

Anything else, bring it to a 30-minute demo call.

How is ChaiBuilder licensed and priced?

SaaS platforms license chaipro with one flat yearly fee for the entire platform, covering unlimited customer sites, quoted to your scale on the demo call. Build Services for initial integration, custom blocks, and site migration are scoped and billed separately. There are no per-site fees, no per-seat charges, no AI credit fees, and no feature tiers. If you only need a site or two, the open-source core (chaicore) is free under the BSD-3-Clause license.

What is the difference between the open-source core and Pro?

The open-source core (chaicore) is a single-site Next.js visual builder with SQLite page storage and runtime rendering. The commercial chaipro package adds everything a multi-site SaaS platform needs in production: multi-tenancy, PostgreSQL support, white-label branding in the builder, RBAC roles and permissions, revisions and restore, multilingual management, URL redirects, media management, the full in-builder AI assistant, and the built-in MCP server.

Our core product is not built on Next.js. Can we still use ChaiBuilder?

Yes. If your main SaaS runs on Rails, Laravel, Django, Go, or .NET, ChaiBuilder runs as a companion Next.js website service in your cloud (serving customer custom domains and the embedded editor) while its server-side data providers read live records from your existing backend API or primary database.

Can AI agents like Claude or Cursor update customer websites safely?

Yes. Every Pro license includes the built-in MCP server at /api/mcp. Users with the mcp:use permission connect Claude, Cursor, or VS Code using their personal API key. The agent operates strictly within that user's permissions, saves changes as drafts for human review before publishing, and respects real-time page locking so it never overwrites a page someone has open.

How does Bring-Your-Own-AI work?

The in-builder AI chat assistant connects directly to your own Vercel AI Gateway, OpenRouter, or custom AI provider credentials configured in your deployment, and MCP agents run on the AI subscriptions your team or customers already use. ChaiBuilder never sits in the middle or charges AI token credits.

Can our engineering team evaluate Pro before signing a contract?

Yes. We validate production fit together through a scoped pilot on your own data, and your developers can also deploy the 30-day full-feature trial from the get-started page with no credit card and no email required.

See it running inside a product like yours.

A 30-minute walkthrough. We look at your product, your data model, and how many customer sites you run, and show you ChaiBuilder running multi-tenant under your brand.

Only building a site or two? Start with the free open-source core.

© ChaiBuilder. All rights reserved.