htmlbook
The HTML bookshelffor your AI agents

The HTML, MD files
your AI agents generate —
read anywhere, share with a link.

A bookshelf for the HTML & MD files your AI agents generate. One push gets it off your laptop — themed for reading, on your phone, one link from sharing.

claude — ~/acme
>

connect once over MCP — no git, no build, no upload

Off your machine

PRD.html, SPEC.html, TODO.html. Onto a shelf.

Your agent writes them straight into the repo — where they sit as file:// nobody else can open. One push moves them to htmlbook: themed, organized into the project, a real link.

~/acme-app
PRD.htmlfile://
SPEC.htmlfile://
TODO.htmlfile://
NOTES.htmlfile://

Written right into your repo — and they never leave it.

always here

acme-app

project
htmlbook.io/d/q3x8a2public link
Product requirementsPRD
System specspec
Build TODOtodo
Working notesnotes

Don't leave them on your laptop.

Anything you make

Not just dashboards.

PRDs. Study guides. Recipes. Trip plans. Reports. Meeting notes. Whatever your agent writes as HTML — it gets a home, a theme, and a link.

PRD

Onboarding flow v2

Goals, the new sign-up, edge cases, what we’re not doing.

study

Linear algebra — week 3

Eigenvalues, change of basis, with worked examples.

dashboard

Q3 revenue

recipe

Sourdough, finally

72-hour cold proof. Crumb shots included.

trip

Kyoto — 5 days

notes

Standup — this week

Blockers, decisions, who owns what.

lesson

Transformers, explained

report

Incident — 04/20 postmortem

Timeline, root cause, the five fixes.

Your shelf

Every project, shelved for you.

A library that sorts itself by project on every push. Group with folders and tags — every version kept.

WorkspacesAuto-sorted projectsTags & foldersVersion history
htmlbook.io/app
Search documents…

All Documents

12
public
Q3 Revenue Analysis
acme-app · Jun 10
v3
Onboarding Funnel Dashboard
growth-weekly · Jun 9
API Migration Notes
acme-app · Jun 8
Competitor Feature Matrix
research · Jun 7
Weekly Growth Report #24
growth-weekly · Jun 6
v2
Release Notes v2.4
acme-app · Jun 5
One reader, every doc

Not a pastebin —
a reading experience.

Whatever your agent writes, htmlbook re-themes it on the fly. Try it — this is live.

Q3 Revenue Dashboard

acme-app·dashboards/·v7·2h ago

Revenue grew 18% quarter-over-quarter on strong APAC expansion and improved retention.

Revenue
$2.4M
▲ 18%
Customers
312
▲ 9%
Churn
2.1%
▼ 0.4pp
Highlight — APAC is now the largest region by revenue for the first time.
Fix it in place

Spot a typo? Tap, fix, save.

Every doc is editable right in the reader — tap any text and type. Saving creates a new version on the same link, and History keeps every one, so the agent's original is always restorable.

Tap any textNew version each saveSame share linkFull history
ShareEditHistory
ACME-APP · V1 · PUBLIC

Q3 Report

Revenue grew 18% quarter-over-quarter on strong APAC expanison. Churn fell to 2.1% while net revenue retention reached 119%.

The payments revamp shipped mid-quarter and conversion on the new checkout rose 2.3×.

Editing — tap any text0 changesSave
Saved · v2

works on standalone pages with their own CSS & JS too — edits land as precise source patches

Connect

From terminal to shelf. It’s one line.

Add htmlbook to your agent once. Then just ask it to publish — that’s the whole setup.

one-time setup
$claude mcp add --transport http htmlbook https://htmlbook.io/api/mcp

Works in Claude Code, Cursor, Codex & claude.ai. Setup for each →

01Connect
02Ask your agent to publish
03It’s on your shelf
Private by default

Your shelf is private — until you say otherwise.

Worried about putting work documents on someone else's site? Sharing here is an explicit choice: a public link only exists after you flip a doc public — and flipping it back removes it.

Private — only you & invited membersno public link exists
Public — anyone with the linkhtmlbook.io/d/x7Kq2

Flip it back any time — the public copy is removed and the link stops resolving.

Private by default

Every push is visible to you alone until you make it public. Nothing is listed, indexed, or reachable before that.

Access checked on every request

The database denies all direct access; every read is authorized server-side against the owner. Team access only by explicit invite.

Encrypted in transit & at rest

TLS on every connection; documents live on Cloudflare R2 and Google Cloud, both encrypted at rest.

API keys are never stored in plain text

Keys are kept as SHA-256 hashes, scoped to a single workspace, and can be rotated or revoked at any time.

Your data stays yours

Download the original source any time, and delete for good when you want — Trash, then permanent purge. No lock-in.

Never trained on, never sold

Your documents are never used to train models, never shared, and never sold.

FAQ

Questions, answered.

What is htmlbook?

htmlbook is a hosting library — a bookshelf — for HTML documents created by AI coding agents. Your agent writes an HTML report, dashboard, or spec and pushes it to htmlbook, which stores it, re-themes it for comfortable reading on any device, organizes it by project, and gives it a public share link.

How does my AI agent send documents to htmlbook?

Connect once over the Model Context Protocol (a single line for Claude Code, Cursor, or Codex) or with a REST API key, then ask your agent to publish. Documents arrive by agent push — or by uploading a .md or .html file your agent already wrote straight into the library; there is no web editor — and once a document is on your shelf you can fix its text directly in the reader.

Which AI agents and tools work with htmlbook?

Claude Code, Cursor, and Codex connect with a static API key over MCP or the REST API. claude.ai and Claude Desktop connect over OAuth. Any client that speaks the Model Context Protocol can publish to and read from htmlbook.

What is an hb-doc?

An hb-doc is an HTML document that carries no CSS of its own, so htmlbook's reader can re-theme it — paper, sepia, or dark — and adjust the width and font size. A standalone page that ships its own CSS and JavaScript is kept verbatim instead and rendered safely in a sandbox.

Can I read and share documents anywhere?

Yes. Documents are responsive and theme themselves to your device, so a report your agent wrote on your laptop reads cleanly on your phone. Every document has one short link (htmlbook.io/d/…) with two modes: flip it public and anyone can open it without signing in, or keep it private and the same link works as a secret link only you and your workspace members can open.

Can I edit a document on the website?

Yes — every document. In the reader, tap any text — a heading, paragraph, list item, or table cell — and type the fix in place; saving creates a new version, so the agent's original is always restorable. This works for standalone pages with their own CSS and JavaScript too: edits are applied to the page's stored source as precise text patches, leaving its scripts, styles, and formatting untouched. Only text that a page's script generates at runtime can't be edited, and the editor tells you when you tap it.

Do I need to write any code on the website?

No. Documents come from your agent (MCP/API push) or from uploading a finished .md/.html file; the web app is for reading, fixing text inline, organizing documents into projects and workspaces, and sharing them. Every version of a document is kept automatically.

Can my team share a workspace?

Yes. A workspace owner creates an invite link in Settings; anyone who opens it joins as an editor who can read every document in that workspace and fix text in the reader. Every edit is saved as a new version under the editor's name, and the reader's History panel shows exactly who changed what, when — with the precise before/after text. Keys, sharing, and restore stay with the owner.

Is my data private? Can I keep work documents internal?

Yes. Every document is private by default — visible only to you and workspace members you explicitly invite. Anonymous readers can open a document only after you flip it public, and flipping it back removes the public copy — the link reverts to a members-only secret link. Access is enforced server-side on every request, traffic is encrypted in transit and stored encrypted at rest, API keys are stored only as SHA-256 hashes, and your documents are never used to train models, never shared, and never sold.

Can I delete my documents permanently?

Yes. Deleting a document moves it to Trash, where you can restore it or delete it forever — purging removes it permanently. You can also download a markdown document's original source at any time, so there is no lock-in.

Is htmlbook free?

Yes, you can start for free. Signing up provisions your library and a personal workspace; you generate an API key in Settings (or during the get-started walkthrough), and connecting an agent takes about a minute.
Pricing

Free while it’s early.

Give your agent a shelf. Everything below, no card.

$0/ forever, to start
  • Unlimited documents, themed + organized
  • MCP + API push (Claude Code, Cursor, Codex, claude.ai)
  • Public share links, versioned snapshots
  • Workspaces & projects
Start your shelf — free

Billing & teams — coming later.