host-html is a tool that enables AI agents to publish HTML files as online hosted links. It offers two integration methods, Skills and an MCP server, and is designed to simplify the publishing process for HTML content without requiring a deployment pipeline or server management.
Key capabilities:
- Publish HTML: Through the publish_html tool, input HTML content and output an accessible link.
- Update pages: Through the update_page tool, update the same link with new HTML content while keeping the URL unchanged.
- Skill commands: /host-html automatically finds HTML, publishes it, and returns a live URL; /host-pdf captures each slide at retina quality and assembles them into a PDF.
- Compatibility: Supports Claude Code, Cursor, Codex, Copilot, and more than 40 other agents.
How to use:
- Installation: For Claude Code, it can be installed through the official marketplace listing (coming soon); for now, it can be installed directly from the repository using two commands; for Claude Desktop, Cursor, Codex, etc., the MCP server can be used (npm package host-html-mcp); for other AI agents, skill installation can be used (npx skills add ...).
- Get an API key: Publishing requires a free host-html account. Log in at host-html.com (free), confirm your email, go to Account → API keys → Create key, copy the generated key (starting with hh_…, shown only once), and set it as an environment variable: export HOSTHTML_API_KEY=hh_your_key_here. The skill reads this environment variable automatically.
- Publish: Use the skill command or call the API directly. The API requires the personal API key to be passed as a bearer token via the Authorization header (no apikey header is needed).
Use cases:
- Quickly publish AI-generated HTML content (such as reports, presentations, and web prototypes) as shareable links.
- Scenarios where the content of the same page needs to be updated frequently while keeping the link unchanged.
- Convert slides into PDF documents.
Limitations andNotes:
- Since v2.0.0, anonymous publishing has been removed; a free account and API key are required. Older versions that rely on the built-in shared key will stop publishing.
- Custom slugs require a Pro/Team plan; publishing itself is free.
- Under the free plan, pages have an expiration (the expires_at field returns an ISO timestamp); under paid plans, pages never expire (expires_at is null). The authoritative expiration time should be read from the response rather than assuming a fixed duration.
- Pages can be password-protected (when has_password is true, it means the page is locked and served from private storage).
- The official Claude Code marketplace listing is still under development; for now, install directly from the repository.
- Updating the skill: For Claude Code, you can use commands to refresh the marketplace directory and install version updates; you can also enable automatic updates for phanosh/host-html in the Marketplaces tab of /plugin. For standalone skill installations, rerun the same command to upgrade.
Information not yet provided: specific installation command text, npm package version, API endpoint URL, request/response examples, pricing details, supported HTML file size limits, etc.