Skip to content

Write your docs with AI.Publish them on your domain.

Hosted documentation for teams that write with AI. Draft in the Markdown editor or from Claude Code, Codex and Cursor over MCP, review the changes, and publish a version readers can switch between.

Hobby is free for one project. No card needed.

Features

Write with AI
Connect Claude Code, Codex, Cursor or any MCP client with an API key, or use the REST API. Agents draft pages into staging, which readers never see.
Review before you publish
Compare staging with the last published version. Publishing is not in the API, so an owner, admin or editor always makes the call.
Version controlled
Saves are kept as revisions you can compare and restore. Published versions stay online, and readers switch between them.
Your own domain
On paid plans, point a CNAME at NightDocs. We verify it and issue the HTTPS certificate.

Any agent that speaks MCP. Any script that speaks HTTP.

Claude Code, Codex, Cursor and other MCP clients connect with one command. Scripts and CI jobs use the REST API with the same key. Both write to staging. Neither can publish.

Add NightDocs to Claude Code
claude mcp add \
  --transport http nightdocs \
  https://nightdocs.net/api/mcp \
  -H "Authorization: Bearer $NIGHTDOCS_KEY"
Endpoint
POST https://nightdocs.net/api/mcp
Transport
Streamable HTTP
Auth
Authorization: Bearer nd_…
Staging tools11 of 18
  • list_pages
  • get_page
  • search_docs
  • create_page
  • edit_page
  • update_page
  • move_page
  • delete_page
  • list_page_revisions
  • get_page_revision
  • revert_page

The other 7 cover the key, projects, versions and the Markdown guide. None publishes.

Keys act as their owner
A key inherits its owner’s role. Demote someone and their agent loses that access on the next call.
Stale writes are refused
Every edit names the revision it read. If someone saved since, the write is refused with a 409 and their change stays.
Every save is a revision
Editor saves, API writes and restores all record who changed what. Any earlier revision can be restored.

Start with one project for free.

Create an organization, connect your AI tools with an API key and publish your first version.