Start here

Next.js Docs Starter

Launch a clean documentation site with MDX, local search, optional AI help, and a Vercel-ready Next.js app.

Open source docs template

Use this starter to publish project documentation without a docs-specific SaaS. Write MDX, customize one typed config file, run the Next.js app locally, and deploy on Vercel's free tier.

This template gives you a small, practical documentation site that works like a normal Next.js app. It includes navigation, MDX pages, theme switching, local search, generated Markdown pages, llms.txt, and optional AI tools.

What is included

  • A Next.js App Router site that renders root-level .mdx pages.
  • A typed site.config.ts file for metadata, navigation, theme, header links, AI actions, and MCP settings.
  • Local search across page titles, descriptions, headings, and body text.
  • Markdown versions of every page for readers and AI tools.
  • Optional AI chat and external AI context actions.
  • A minimal MCP endpoint for searching and reading docs.
  • Vercel-friendly defaults that work on the free Hobby plan for personal projects.

How the starter is organized

Quick start

bash
npm install
npm run dev

Open http://localhost:3000 to view the docs.

Next step: Getting started