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
.mdxpages. - A typed
site.config.tsfile 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
Install dependencies, start the local server, and learn the project layout.
Write contentAdd MDX pages, frontmatter, callouts, cards, tabs, steps, and code blocks.
Customize the siteUpdate branding, navigation, metadata, theme colors, and header links.
Deploy on VercelConnect your repository and publish the site with Vercel's Next.js defaults.
Quick start
npm install
npm run devOpen http://localhost:3000 to view the docs.
Next step: Getting started