Next.js AI website builder

The AI-ready website builder that runs inside your Next.js app.

Prompt-to-code tools write raw React files that still have to be reviewed, compiled, and deployed for every text change. ChaiBuilder stores pages as structured JSON in your PostgreSQL or SQLite database and renders them at runtime in Next.js. Your customers chat with the page or connect Claude and Cursor via MCP, approve the draft, and publish live with zero rebuilds.

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

yoursaas.com/api/mcp
Cursor agent

Update the homepage hero for this customer and show me a draft.

get_page_outline

read_block_html

edit_block

Saved as a draft. Nothing is live yet. Preview link ready for review.

Canvas previewDraft

Styled with your design tokens

Running in production inside SaaS products today

This website runs on ChaiBuilder

ReactNext.jsTailwind CSSPostgreSQL or SQLiteModel Context Protocol (MCP)Payload CMS (optional)

Better AI models write better pages. Your Next.js runtime stays clean.

When you run websites for hundreds of SaaS customers, letting an LLM edit raw .tsx files per customer creates an unmaintainable tangle of diverged repositories and slow builds.

01

Structured block JSON, never diverged code forks

AI agents and the in-builder chat assistant read and write structured JSON mapped to your registered React blocks and Tailwind CSS tokens. Your Next.js codebase stays clean and shared across every customer site.

02

Live on publish with Next.js SSG + ISR

When a human approves an AI draft and clicks Publish, only that page's cache tag revalidates. The update is live in milliseconds with no CI/CD build or deploy queue.

03

Self-hosted /api/mcp server + BYO-AI keys

Both the 33-tool MCP server and the in-builder AI chat run inside your own Next.js deployment on the AI provider keys you already govern (Vercel AI Gateway, OpenRouter, or custom endpoints) with zero AI credit markups.

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.

MCP sessionConnected

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

get_page_outline /pricing

get_block_translations /pricing

update_block_translations de

Saved as a draft. Nothing is live yet.

Preview: Pricing (German), draft

Want me to publish 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

Connect Claude, Cursor, or VS Code to 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.

Give every customer an AI website editor, on your own API keys.

An in-builder chat panel beside the visual canvas that lets your customers and account managers rewrite copy, generate sections, optimize SEO, and adjust themes in plain language, strictly inside your design tokens and block guardrails.

Explore the in-builder AI assistant

Customer self-service without support tickets

Customers describe what they want changed in plain language, and the assistant updates the current page using your approved React blocks.

Guardrailed by your design system

The assistant styles exclusively with your Tailwind CSS design tokens, so customers never break page layouts or brand compliance.

Your AI provider, zero markup

Works with Vercel AI Gateway and OpenRouter out of the box, or any custom provider in your config. Prompts and billing stay on your own AI account with zero ChaiBuilder credit fees.

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.

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.

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

For SaaS platforms

One yearly licenseunlimited sites

chaipro 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

For individual sites

FreeBSD-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

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 inspect the code 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 (chaicore) and Pro (chaipro)?

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 chaipro 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 /start 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.

lockup-horizontal-light.png

The website builder for agents and humans. Owned by you. The website module for platforms and agencies that run many sites, self-hosted on Next.js.

© ChaiBuilder. All rights reserved.