Sitebase

Sitebase for Claude Code

Don't let Claude Code hand-roll your forms backend.

Claude Code ships your site from the terminal; Sitebase runs the features that need a real backend. Forms that don't drop submissions, email capture with double opt-in, cookieless analytics — one prompt to install, zero backend code to maintain.

Join the waiting list

Sitebase is in private beta. Once you're in: create a feature, then paste one prompt into Claude Code. Nothing to host, no backend code in your repo.

The prompt

This is the demo variant with placeholder keys — once you have access, every feature in your dashboard shows this prompt pre-filled with its real keys.

Add Sitebase to this site. 1. Load the analytics tracker on every page by adding this to the shared layout's <head>: <script async crossorigin="anonymous" src="https://sitebase.dev/embed.js" data-sitebase-site="YOUR_SITE_KEY"></script> 2. Place my newsletter signup where the footer CTA is: <script async crossorigin="anonymous" src="https://sitebase.dev/embed.js" data-sitebase-widget="YOUR_WIDGET_KEY"></script> Keep all attributes exactly as-is. I'll replace the YOUR_*_KEY placeholders with the real keys from my Sitebase dashboard (sitebase.dev).
Step 1

Create the feature

Pick a waiting list, newsletter signup, contact form, or testimonials in the Sitebase dashboard and customize the copy.

Step 2

Paste the prompt

Your agent pastes one script snippet into the codebase — layout for the tracker, page or component for each feature. That's the whole integration.

Step 3

Watch the data come in

Submissions, signups, and pageviews land in your dashboard. Approve testimonials, export data, get notified.

How it works with Claude Code

  1. Create the feature in your Sitebase dashboard and copy the agent install prompt next to the snippet.
  2. Paste the prompt into Claude Code — it wires the tracker and the feature embed into your codebase.
  3. Ship. Every submission, signup, and pageview lands in your Sitebase dashboard.

Agent-readable reference at /llms.txt — snippet formats, embed URL parameters, and every feature's capabilities in one file your agent can fetch.

MCP server

Sitebase is a remote MCP server too: connect it and your agent can create features, fetch embed snippets, read submission and subscriber stats, pull analytics summaries, and check uptime — without leaving Claude Code. Create an API key in your dashboard profile, then add this config:

{ "mcpServers": { "sitebase": { "url": "https://sitebase.dev/mcp", "headers": { "Authorization": "Bearer sbk_YOUR_API_KEY" } } } }

Prefer plain HTTP? The same key works against the REST management API — reference at /llms-full.txt.

Also works with

…and any website where you can paste a script tag or an iframe.