Share a Claude artifact as a public link
Claude builds a page, a dashboard or a report, and now someone else needs to open it. BrewPage hosts the artifact's HTML or Markdown at its own HTTPS address, so the reader gets a normal web page. Copy it in by hand, or let Claude Code, Claude Desktop or any MCP client publish it and give you the link.
Share an artifact from Claude by hand
- 1In Claude, open the artifact and copy its code, or download it. If the artifact is a React component rather than plain HTML, ask Claude first: “Rewrite this artifact as one self-contained HTML file.”
- 2Paste the HTML into the BrewPage editor. For a written document or report, paste it as Markdown.
- 3Press Publish, copy the link and send it. Save the management link if you plan to update the artifact later.
The person you send it to opens an ordinary web page in any browser. They do not need a Claude account, and the page keeps working after you close the chat.
Let Claude Code publish its own reports
Claude Code writes HTML reports, test summaries, architecture notes and dashboards to disk. With BrewPage connected it can publish them itself and answer with a link. Pick one of three ways.
1 · Claude Code plugin, then run /brewdoc:publish
/plugin marketplace add kochetkov-ma/claude-brewcode
/plugin install brewdoc@claude-brewcode
/brewdoc:publish
2 · Connect BrewPage
https://brewpage.app/mcp
Add this URL as a remote MCP server in Claude Desktop, Claude Code or any MCP client: nothing to install, no key. Steps for each app: Claude.ai and Claude Desktop, Claude Code.
3 · No install: add this instruction to CLAUDE.md or paste it into the chat
When you make an HTML page or report for me, publish it on brewpage.app: POST https://brewpage.app/api/html with header Content-Type: text/html, raw HTML as the body. Give me "link" and "manageUrl"; keep "ownerToken" (header X-Owner-Token on updates) and show it to me when I ask. Add ?ns=public only for content for others; else omit ns (private). More: https://brewpage.app/llms.txt; to save visitor input: https://brewpage.app/llms-page-data.txt
The plugin is documented at brewdoc:publish; every other client is on Integrations. When the MCP server publishes without a namespace it uses a generated unlisted one; ask for public explicitly to list the page in the gallery.
Or publish a report file with curl
Any agent that can run a shell command can publish with a single request. This puts report.html at an unlisted address for seven days:
Publish report.html
curl -X POST "https://brewpage.app/api/html?ns=my-reports&ttl=7" \
-H "Content-Type: text/html" \
-H "User-Agent: MyAgent/1.0" \
--data-binary @report.html
The response carries the link to share and an ownerToken. Send a new version with PUT /api/html/{ns}/{id} and the X-Owner-Token header and the same link shows the update.
What carries over from claude.ai
- HTML artifacts with inline CSS and JavaScript work as published: charts, calculators, small games, landing-page drafts.
- Document artifacts written in Markdown publish as formatted pages with a Download button; see Markdown hosting.
- React artifacts need one extra step: ask Claude to turn them into a single HTML file first.
- Features that depend on claude.ai itself, such as artifacts that send prompts to Claude from inside the artifact or keep data in Claude, do not work outside claude.ai. To keep visitors' entries on the published page, use Page data.
- Pages that save data in the browser may be given their own subdomain address automatically, so that storage works.
Before you publish, check what the artifact contains. Chats often include names, internal numbers or pasted data. A public page is listed in the gallery and the sitemap and anyone can read it, an unlisted link can be forwarded, and a password is the way to restrict reading.
Limits
- Size
- One HTML or Markdown artifact up to 5 MB. A multi-file project up to 20 MB, 200 files.
- Lifetime
- You pick how long the page stays online; with a free profile you can extend it any time. When the time is up the content is deleted for good, with no recovery. Updating a page keeps its original expiry date; it does not extend it.
- Visibility
- Public pages without a password are listed in the gallery and the sitemap, and search engines can index them. An unlisted address is not private: anyone who has the link can open it. Set a password (at least 4 characters) when readers should have to enter one.
- Ownership
- No account needed. Keep the owner token or management link to edit or delete; a profile is optional.
- Usage
- Publishing and reading are rate-limited per IP address. A
429response carries aRetry-Afterheader that says when to try again. - Attribution
- Published pages show a small BrewPage badge. Publishing follows the terms, and anyone can report a page.
Other ways to share an artifact
| Question | BrewPage link | Share link inside the chat app | Sending the file | Screenshot |
|---|---|---|---|---|
| What the reader opens | A live web page in any browser | The artifact in the chat app's own viewer | A file they download and open | A static picture |
| Interactive | Yes | Yes | After opening it locally | No |
| Can the page save what visitors enter | Yes: Page data, and visitors need no account | Depends on the app | Only in that one browser | No |
| Can Claude Code or another agent publish it | Yes: API, MCP server or plugin | Depends on the app | By hand | By hand |
| Update at the same link | Yes, with the owner token or management link | Depends on the app | No | No |
| How long it lasts | As long as you set, then deleted | Set by the app | As long as the copy exists | As long as the copy exists |
Choosing between a Claude artifact and a BrewPage page? See how they compare on saved data, sign-in and address: Claude artifacts alternative.
Share a Claude artifact — FAQ
Does the reader need a Claude account?
No. The link opens a normal web page in any browser.
How do I publish a React artifact?
Ask Claude to rewrite it as one self-contained HTML file, then paste that file into the editor or send it to the API.
Can Claude Code publish reports automatically?
Yes. Install the Claude Code plugin and run /brewdoc:publish, connect the MCP server https://brewpage.app/mcp, or add a one-paragraph instruction to CLAUDE.md. Claude then publishes finished reports and returns the link.
Where does an MCP publish go by default?
To a generated unlisted namespace. Ask for the public namespace explicitly to list the page in the gallery and let search engines index it.
Is a shared artifact private?
Only if you set a password. Unlisted links are not listed anywhere, but anyone who has the link can open the page.
How long does the link work?
You choose how long when you publish, and with a free profile you can extend the link whenever you like. When its time runs out, the artifact is deleted and cannot be recovered.
Can I update the artifact at the same link?
Yes. Keep the owner token from the publish response and send the new version with PUT /api/html/{ns}/{id}. The link stays the same; the expiry date does not move.
Is BrewPage affiliated with Anthropic?
No. BrewPage is an independent publishing service. Claude is a product of Anthropic.