For Claude Code
Hosting for Claude Code
Claude Code hosting without a hosting account: add anyshare once, say “share this”, and Claude publishes the file or folder and hands you a link anyone can open.
Claude Code
More ways to connectAdd the MCP server, then ask: “share this with anyshare”.
claude mcp add --scope user anyshare -- npx -y @anyshare/cli mcp- No account to publish
- No API key
- Keep links 30 days with a free account
Why Claude Code needs somewhere to publish
Claude Code writes real files: an HTML report about your test run, a Markdown write-up of a refactor, a Mermaid sketch of the architecture, a built dist/ folder. To show any of that to someone who isn’t at your terminal, you need a URL. anyshare gives Claude a tool that turns a path into one.
Claude Code can also publish artifacts to claude.ai on paid plans, which works well for people already in Claude. anyshare covers the rest: any file type rather than just HTML and Markdown, viewers who don’t have a Claude account, organizations where public artifact sharing is switched off, and the same workflow in Codex or Cursor.
With the local MCP server, Claude passes a path and the bytes go straight from disk to anyshare, so a 20 MB screen recording or a whole build folder never passes through the conversation. The update token is saved in ~/.config/anyshare/sites.json, which is why “update the link” still works in a later session.
Setup
Set up Claude Code
Pick one. The plugin is the most complete, the local MCP server is a single shell command, and the remote server needs no Node.js.
Pick one
Installs the anyshare skill and MCP server together. Run inside Claude Code.
/plugin marketplace add anyshare/anyshare
/plugin install anyshare@anyshareAdd the MCP server, then ask: “share this with anyshare”.
claude mcp add --scope user anyshare -- npx -y @anyshare/cli mcpNo Node needed. Local files are uploaded with a command the server hands back.
claude mcp add --transport http --scope user anyshare https://anyshare.ai/mcpTeaches any skills-aware agent when and how to share. Uses the CLI, falls back to curl.
npx skills add anyshare/anyshare --skill anyshareShare a file or a whole folder (dist/, build/, out/). Prints the link; run login once to keep links in your account.
npx @anyshare/cli ./distWhat exists for Claude Code
Everything on this page exists today: a Claude Code plugin (the skill plus the MCP server), a local MCP server, a remote MCP server and the CLI. None of them needs an account or an API key.
Then just ask
- “make a one-page HTML summary of this repo and share it with anyshare”
- “run the build and share dist/ as q3-report”
- “share coverage/lcov-report so I can send it to the team”
- “update the anyshare link with the new version”
When it’s shared
What Claude Code usually shares
HTML reports run as live pages, Markdown docs get a proper reading page, Mermaid files render as diagrams, and a built folder becomes a website at its own subdomain.
- HTML served exactly as written
- Markdown with tables, code and diagrams
- Build folders as real websites
- Every link on its own subdomain
How it works
From prompt to link in three steps
- Step 1:
Add anyshare
Run
claude mcp add --scope user anyshare -- npx -y @anyshare/cli mcponce.--scope usermakes it available in every project; check it withclaude mcp list. - Step 2:
Ask for a link
Say “share this with anyshare”, or be specific: “run the build and share dist/ as q3-report”. With the skill installed, Claude knows to build first and share the output folder, not the source.
- Step 3:
Send it on
Claude replies with a URL like
https://q3-report.anyshare.site. Without an account it lasts 1 hour unless you keep it with the claim link Claude shows (then 30 days); ask Claude to update the link after the next change and the address stays the same.
The details
What you get in Claude Code
Bytes stay out of the context
The local server reads files and folders from disk and uploads them directly. Claude only sees the path and the resulting link, which keeps big uploads fast and your context window clean.
Updates keep the URL
Tokens are saved in
~/.config/anyshare/sites.json(readable only by you), so “update the link” replaces the content behind the address you already sent, even days later.Secrets stay home
The CLI and local server skip
.envfiles,.dev.vars,.npmrc, SSH keys,*.pemfiles and folders like.sshand.aws, and refuse outright if Claude names one directly.Works with no setup, too
Claude Code’s Bash tool can run
npx -y @anyshare/cli ./distdirectly. It prints only the URL, so Claude can read it back and hand it to you.Shared with your team
claude mcp add --scope projectwrites the server to the project’s.mcp.json. Commit it and everyone who opens the repo in Claude Code gets the same share tool.Free, with room for real work
50 MB per upload and up to 1,000 files per link, no account needed. Links expire after 1 hour unless kept in a free account, which gives them 30 days.
FAQ
Questions, answered.
What does Claude reply with after it shares something?
https://sunny-otter-4821.anyshare.site, and, without an account, the claim link with a note that the link expires in 1 hour unless you keep it. With the skill installed, Claude also says what the page shows, so you can paste its reply straight into a chat.Plugin, MCP server or skill: which should I install?
Can Claude share a whole website, not just one file?
dist/, build/ or out/). A folder with an index.html becomes a website, and single-page apps are detected so client-side routes keep working. anyshare never runs your build or any server code.Who can open the links Claude makes?
How is this different from Claude Code’s artifacts?
Can I pick the address?
https://q3-report.anyshare.site if the name is free. Slugs are 3–63 lowercase letters, digits and single hyphens.Give your agent a URL for any file.
One step to connect, no account or API key. It hands you back a link anyone can open, and a claim link to keep it.




