Start here

Next.js Docs Starter

Launch an AI-native documentation site with MDX, local search, generated API references, optional AI help, and Vercel-ready defaults.

Updated May 11, 2026

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 practical documentation site that works like a normal Next.js app. It includes rich navigation, MDX pages, theme switching, local search, generated API references, Markdown exports, llms.txt, MCP, feedback, 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, rich navigation, API references, theme, header links, AI actions, and MCP settings.
  • A component set for guides, API docs, examples, prompts, file trees, type tables, and changelogs.
  • Local search across page titles, descriptions, headings, and body text.
  • Markdown versions of every page for readers and AI tools.
  • Generated OpenAPI and AsyncAPI pages with an optional Scalar playground.
  • Optional AI chat, voice chat, and external AI context actions.
  • An MCP endpoint with docs tools, resources, and prompts.
  • Page feedback, optional analytics hooks, sitemap, robots, canonical metadata, edit links, and docs validation.
  • 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

Was this page helpful?