Skip to content
doccupinePublic

About

Generate beautiful, ready-to-use documentation with just one CLI command – fast, simple, and open source. AI-ready.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

1 watching

Forks

Repository files navigation

Doccupine

Doccupine

Documentation made simple. Open source. AI-ready.

Turn a folder of MDX files into a fast, good-looking documentation site,
with AI chat and an MCP server built in. One command, no config to start.

npm version GitHub stars

npx doccupine

Docs · What you get · Commands · Deploy · Website · Changelog

Get started

npx doccupine

Doccupine asks where your MDX files live (default docs) and where to put the generated Next.js app (default nextjs-app), then installs everything and starts a live preview at http://localhost:3000. Edit a file, and the page updates. Requires Node.js 22.12 or later.

Read the full documentation →

What you get

  • Live preview. Pages regenerate on every save.
  • Navigation and sections. The sidebar comes from your frontmatter, and sections split the docs into tabs.
  • Components. Callouts, tabs, steps, cards, code blocks, Mermaid diagrams and more, ready to use in MDX.
  • API reference. Point it at an OpenAPI spec and get a page per endpoint with a live playground.
  • AI chat assistant. Visitors ask questions and get answers from your docs, using OpenAI, Anthropic or Google.
  • MCP server. AI tools like Claude, Cursor and VS Code can search your docs directly.
  • Languages and versions. Translate your docs and keep older releases online.
  • Templates and theming. Pick the modern or classic design, then add light and dark mode, your colors and fonts.
  • Password protection. Gate the whole site behind a shared password.
  • Built for search engines and AI. Sitemap, robots.txt, llms.txt and a Markdown copy of every page are generated for you.
  • Changelogs with RSS. Publish release notes that readers can subscribe to.

Commands

doccupine                 # watch your docs and run the live preview (same as `doccupine watch`)
doccupine build           # generate the site once, for CI or deployment
doccupine config --show   # show the saved configuration
doccupine config --reset  # reset the saved configuration

All options are in the Commands docs.

Deploy

The generated app is a standard Next.js project, so it runs anywhere Next.js does. See Deployment & Hosting.

Prefer not to host it yourself? Doccupine builds, hosts and updates your docs site for you.

Contributing

Bug reports and pull requests are welcome. See CONTRIBUTING.md, and report security issues as described in SECURITY.md.

License

Modified MIT license with a SaaS restriction. See LICENSE.

About

Generate beautiful, ready-to-use documentation with just one CLI command – fast, simple, and open source. AI-ready.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages