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.

Add the MCP server, then ask: “share this with anyshare”.

claude mcp add --scope user anyshare -- npx -y @anyshare/cli mcp

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@anyshare

What 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

  1. Step 1:

    Add anyshare

    Run claude mcp add --scope user anyshare -- npx -y @anyshare/cli mcp once. --scope user makes it available in every project; check it with claude mcp list.

  2. 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.

  3. 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 .env files, .dev.vars, .npmrc, SSH keys, *.pem files and folders like .ssh and .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 ./dist directly. It prints only the URL, so Claude can read it back and hand it to you.

  • Shared with your team

    claude mcp add --scope project writes 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?
A line with the URL, for example 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?
The plugin installs the skill and the MCP server together and is the most complete. The MCP server on its own gives Claude a reliable tool. The skill on its own still works anywhere Claude has a shell, because it falls back to the CLI and then to curl.
Can Claude share a whole website, not just one file?
Yes. Ask it to build and share the output folder (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?
Anyone with the URL, and they don’t need a Claude account. Pages aren’t indexed by search engines and each link lives on its own subdomain of a separate domain, but a link isn’t a password, so keep confidential material out of it.
How is this different from Claude Code’s artifacts?
Artifacts publish to claude.ai and suit audiences that already use Claude. anyshare hosts any file type, from PDFs and videos to whole build folders, opens for anyone without a login, and behaves the same from Codex or Cursor. Use whichever fits the people you’re sharing with.
Can I pick the address?
Ask for it: “share this as q3-report” gives 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.