# helpbase

> Open-source, shadcn-native help center generator that drops MDX docs, an MCP server and llms.txt into your repo.

helpbase is an open-source help center toolkit built by Codehagen on Next.js and shadcn/ui. One command scaffolds a docs site into your repo, with MDX content, an MCP server and an llms.txt, so AI clients such as Claude and Cursor can answer from your real docs. You can self-host it or deploy to helpbase.dev.

## What It Is

helpbase is a help-center and documentation framework delivered as code you own rather than a hosted CMS. Running `npx create-helpbase` (or `pnpm dlx`) writes a Next.js help center into your project with a sidebar layout, command-palette search, table of contents, dark mode and Zod-validated MDX frontmatter. Existing Next.js and shadcn/ui apps can instead add it as a shadcn registry block.

## AI-ready docs and generation

Every site exposes an MCP endpoint and a build-time llms.txt (plus llms-full.txt). The MCP server exposes articles as typed tool calls to list, read and search. `helpbase ingest` walks a repository and synthesizes how-to guides that cite specific files and line ranges; citations that do not match the repo are dropped, and runs containing secret-shaped content abort before writing. `helpbase generate` creates MDX articles from a URL, and `helpbase sync` proposes codebase-grounded doc diffs that you review and merge as PRs.

## Workflow and deployment

Edit MDX files in `content/`, preview locally with `pnpm dev`, and use `helpbase deploy --preview` to review changes. `helpbase deploy` publishes to a `{slug}.helpbase.dev` subdomain, or you can deploy the same files to Vercel, Fly or your own server. `helpbase audit` checks frontmatter and categories in CI, and the CLI supports non-interactive use with a token. The project is licensed AGPL-3.0, and the README describes telemetry as opt-in.

## Features
- One-command help center scaffolding
- MDX content pipeline with Zod-validated frontmatter
- Built-in MCP server
- Auto-generated llms.txt and llms-full.txt
- AI article generation from URLs, repos or screenshots
- helpbase ingest for cited how-to guides from a repo
- helpbase sync for codebase-grounded doc diffs
- Command-palette search and table of contents
- Dark and light mode
- Content audit CLI for CI
- shadcn registry blocks for existing Next.js apps
- Preview and hosted deployment to helpbase.dev

## Integrations
shadcn/ui, Next.js, Claude, Cursor, ChatGPT, Vercel, Vercel AI SDK, GitHub Actions, Fly, Supabase

## Platforms
WINDOWS, MACOS, LINUX, WEB, API, CLI

## Pricing
Open Source, Free tier available

## Links
- Website: https://helpbase.dev
- Documentation: https://helpbase.dev/docs
- Repository: https://github.com/Codehagen/helpbase
- EveryDev.ai: https://www.everydev.ai/tools/helpbase
