PageHub vs Claude Code + Cloudflare Pages: an honest comparison
Claude Code plus Cloudflare Pages gives a developer a codebase they own and a fast free host. PageHub lets the same agent build a site a non-coder can edit, with forms, drafts, and the domain handled, and still exports to code if you want to leave.
If you're weighing a code-first workflow — a coding agent writing to a repo you deploy to a static host — against a visual platform, here's PageHub vs Claude Code and Cloudflare Pages on who can edit the site, what's built in, and lock-in. It doubles as a Claude Code alternative and a Cloudflare Pages alternative for anyone who isn't a developer.
TL;DR
- Pick Claude Code + Cloudflare Pages if you're a developer who wants to own the repo, run server code, and control every line.
- Pick PageHub if a non-developer has to edit the site later, or you want forms, a CMS, and Stripe checkout without wiring them yourself.
- PageHub handles the domain, SSL, drafts, and history for you; the code-first workflow uses git and your own build.
- PageHub still exports the site's files as a ZIP, with the published pages as static HTML, so choosing it isn't a lock-in trade.
What each one is
Claude Code is Anthropic's coding agent that runs in your terminal and edits the files in your repository. Cloudflare Pages hosts the built output on its global network, with a custom domain and SSL. Together they're a code-first workflow: the agent writes the site's code, you review the diff in git, and deploy by pushing or running Wrangler. Changing the site means changing the code.
PageHub is a website builder your AI agent drives over MCP, from creating the site to publishing it on your domain. Every site opens in a visual editor, so you or your client can keep editing without AI or code, and it has forms, a CMS, and Stripe checkout built in.
PageHub and Claude Code + Cloudflare Pages side by side
As of October 2026. Prices are in USD. Claude Code + Cloudflare Pages prices are its yearly-billing rates.
| Feature | PageHub | Claude Code + Cloudflare Pages |
|---|---|---|
| AI and agent workflow | ||
| AI site building | Your own agent (Claude, ChatGPT, Cursor, VS Code, any MCP client) builds the site. There's also an AI assistant in the editor. | Claude Code (or any coding agent) writes the site's code — HTML, CSS, and JavaScript — in your repo. |
| Connecting your own AI agent | Hosted server at pagehub.dev/api/mcp. Sign in through your browser, or use an API key. Nothing to install. Works on every plan, including free. | Claude Code runs in your terminal against your repo. There's no hosted site-builder it signs into; it edits files, and you deploy the build. |
| What has to stay open while it works | Only your AI app. No editor tab, plugin, or local install has to stay running. | A terminal with the repo on your machine. The agent edits local files; you run the build and deploy. |
| What your agent can change | Layout, spacing, and responsive styles, the theme, preset animations, pages, collections, forms, redirects, and the domain | Anything you can code. Full control of markup, styles, scripts, and build config. |
| How the agent checks its work | Screenshots the draft in a real browser at any width, including phone, and runs SEO and accessibility audits (screenshot_site, audit_seo, audit_accessibility) | Whatever you set up — a local dev server, your own tests, or Lighthouse CI in your pipeline. |
| AI credits when you use your own agent | None. PageHub's MCP tools don't run an AI model on our side, so your own agent uses no PageHub AI credits. Your plan's normal limits still apply. | You pay Anthropic for Claude Code usage through your plan. Cloudflare and the repo add no AI charge. |
| Agent can start a new site and put it live | Yes. The agent can create a site, attach your domain, and publish it (create_site, set_domain, publish_site). | Yes. The agent scaffolds a project; you create a Cloudflare Pages project, connect the repo, or run wrangler pages deploy. |
| Branching and review | No branching. Changes from your agent or the editor stay in a draft until someone publishes, and site history restores older versions. | Git branches and pull requests — a developer's review flow. There's no non-technical preview-and-comment. |
| Sites, content, and selling | ||
| Clients editing their site | Review comments from Pro. Editors: 1 per site on Free, unlimited on Pro and up. | None. Editing the site means editing code, so a non-developer can't change it without a developer. |
| CMS limits | Free: 2 collections of 100 rows. Pro: 40 collections of 20,000 rows per site. Business: 100 collections of 100,000 rows. | None built in. Add a headless CMS, git-based content, or Cloudflare D1/KV yourself. |
| Pages per site | Free 20, Pro 300, Business and Agency 1,000 | Unlimited — it's your codebase. |
| Selling online | Stripe checkout on every plan, with shipping rates, Stripe Tax, stock counts, and an orders page for marking orders shipped and refunding. PageHub doesn't add a transaction fee on Stripe sales (Stripe's own fees still apply). | None built in. Wire up Stripe with Pages Functions or Workers yourself. |
| Code export | A ZIP of the site's files, with the published pages as static HTML, on every plan including free | It's already code. You own the repo from the start. |
| Price | ||
| Free plan | 1 published site on your own domain, with SSL and a small "Made with PageHub" link you can place in your footer. None on Pro | Cloudflare Pages has a free tier: unlimited sites and bandwidth, a custom domain with SSL, and 500 builds a month. You pay for your domain and your coding agent separately. |
| Paid entry price | Pro: $7 a month per site, or $5 billed yearly | Cloudflare Pages is free for static sites; paid plans add more builds and Functions usage. Claude Code is billed through your Anthropic plan. |
| Seats | Included, never billed per seat: 1 collaborator per site on Free, unlimited on Pro and up | Not a concept — it's your repo and your Cloudflare account. |
Competitor details from their own pricing and docs pages, checked October 2026. Sources are listed at the bottom of this page.
Where Claude Code + Cloudflare Pages is better
If one of these is the core of your project, Claude Code + Cloudflare Pages probably wins.
Full control and custom code
You own every line. Run server code, API routes, and a database with Cloudflare Workers or Pages Functions. PageHub serves static sites and won't run your server code.
Source: developers.cloudflare.comYou own the repository
The site lives in git: full history, branches, pull-request review, and your own CI/CD. Nothing depends on a platform account staying active.
Source: developers.cloudflare.comFree hosting at CDN scale
Cloudflare Pages serves static sites free, with unlimited bandwidth and a global edge network. For a high-traffic static site, that's hard to beat on price.
Source: developers.cloudflare.comAny framework, any build
Astro, Next.js, SvelteKit, or plain HTML — whatever you can build and deploy. You're not limited to what a visual editor supports.
Source: developers.cloudflare.comNo lock-in by design
The code is yours from day one, so there's never an export step or a platform to leave.
Where PageHub is better
A visual editor a non-coder can use
Your client edits the live site by clicking and typing, no code and no AI. Cloudflare Pages has no editor — changing the site means changing the files and redeploying.
Forms, a CMS, and checkout built in
PageHub ships forms that email you, collections, and Stripe checkout. On a static host you wire each of those up yourself with Functions, KV, or a third-party service.
Drafts and history instead of git
Every change from your agent or the editor waits in a draft until you publish, and site history restores any earlier version. No branches, build, or deploy step to manage.
Domain and SSL in one step
Attach your domain, add the DNS records PageHub gives you, and SSL is issued automatically. No build settings or deploy config.
The agent builds and publishes over MCP
Your agent creates the site, checks it in a real browser, and publishes it to your domain — with nothing but your AI app open. No local repo or terminal to keep running.
And it still exports to code
If you ever want the repo, download the site's files as a ZIP, with the published pages as static HTML, on every plan. Choosing PageHub isn't a trade against owning the code.
What it costs: two examples
List prices as of October 2026, in USD, before tax. Claude Code + Cloudflare Pages figures are its yearly-billing rates.
1 site on your own domain, with a CMS
PageHub
- Free: $0 on your own domain, with 2 collections of up to 100 rows and 20 pages.
- Pro: $7 a month, or $5 a month billed yearly, with 40 collections of 20,000 rows and 300 pages.
Claude Code + Cloudflare Pages
- Cloudflare Pages: $0 for a static site, with a custom domain and SSL.
- Your domain: whatever your registrar charges, often $10 to $15 a year.
- Claude Code: billed through your Anthropic plan.
10 client sites, each with a CMS and its own domain
PageHub
- 10 Pro sites: 10 × $7 = $70 a month, or 10 × $5 = $50 billed yearly. Clients can leave review comments or be invited as editors, with no per-seat charge.
- Business: $250 a month ($200 billed yearly) for 10 published sites, with unlimited editors per site.
- Agency: $1,250 a month ($1,000 billed yearly) for 50 sites, unlimited editors per site, and white-label. White-label is on Agency only.
Claude Code + Cloudflare Pages
- Cloudflare Pages: still $0 for ten static sites on the free tier.
- Ten domains: ten registrar bills.
- The real cost is a developer's time to build and maintain ten codebases.
Check current plans on PageHub's pricing page and on Claude Code + Cloudflare Pages's before you decide.
AI and agents in Claude Code + Cloudflare Pages today
Both work with AI agents. This is from Claude Code + Cloudflare Pages's own docs and from reports by people who use it.
Claude Code edits your repo
Claude Code runs in your terminal, reads and writes the files in your project, and shows you the diff before you keep it.
Source: docs.claude.comYou deploy the build
Connect the repo to a Cloudflare Pages project so each push deploys, or run wrangler pages deploy from the command line.
Source: developers.cloudflare.comIt's a developer workflow
You own the build, the dependencies, and the deploy config. That's power if you code, and a wall if you don't.
No built-in forms, CMS, or checkout
Those are features you add — a form handler, a headless CMS, a Stripe integration — not things the host provides.
Source: developers.cloudflare.comWorking with your own AI (Claude, ChatGPT, Cursor, or any MCP client)
How it goes when your agent builds on PageHub.
Connect once
Add https://pagehub.dev/api/mcp to Claude, ChatGPT, Cursor, VS Code, or any MCP client and sign in through your browser. If your app can't do browser sign-in, use an API key. It works on every plan, including free.
Nothing else stays open
The agent talks to PageHub directly. You don't keep an editor tab, plugin, or local bridge running while it works.
No PageHub AI credits
Building through your own Claude, ChatGPT, Cursor, or other MCP client uses no PageHub AI credits, because none of our MCP tools run a model on our side. You pay for your AI app as usual, and your plan's normal limits still apply.
It can change the design, not only the content
Layout, spacing, and responsive styles on any element, the theme's colors and fonts, preset animations, pages, collections, forms, redirects, and your domain.
It checks its own work
The agent screenshots the draft in a real browser, at desktop and phone width, and runs SEO and accessibility audits. It can fix what it finds before you look.
You decide when it goes live
Every change lands in a draft. When you say go, the agent attaches your domain, gives you the DNS records to add, and publishes.
Want the full walkthrough? See the website builder for Claude or website builder for ChatGPT guides, or the MCP server docs for every tool.
Which one to pick
Choose Claude Code + Cloudflare Pages if
- You're a developer and want to own the repository
- The site needs server code, API routes, or a database
- You want git history, branches, and your own CI/CD
- It's a static site with high traffic and you want free CDN hosting
- You'll maintain it yourself and don't need a non-coder to edit it
Choose PageHub if
- A non-developer has to edit the site after it's built
- You want forms, a CMS, and Stripe checkout without building them
- You'd rather publish from a draft than manage git and a build
- You want the domain, SSL, and hosting handled in one place
- You want your agent to build and publish with nothing else open
- You still want the option to export the code later
Switching from Claude Code + Cloudflare Pages
PageHub has no Claude Code + Cloudflare Pages importer. Here's what moving over involves.
Bring your code in
Point your agent at your current site's pages, or import the built HTML with import_site, and it becomes an editable PageHub site.
Keep your old links working
Add 301 redirects from old paths to new ones, by hand or through your agent (set_redirects).
Move the domain last
Review the new site as a draft first. Then attach the domain, add the DNS records PageHub gives you at your registrar, and publish.
Bring your content as CSV
If you can get your CMS content out as a CSV file, import it into a PageHub collection from the dashboard or with import_collection_csv.
Questions about PageHub and a code-first workflow
What people ask when they compare PageHub and Claude Code + Cloudflare Pages.
Try PageHub on your own domain
The free plan includes 1 published site on your own domain. No credit card.
Sources
Claude Code + Cloudflare Pages details come from these pages, checked October 2026. PageHub details come from our own plans and product.
Claude and Claude Code are trademarks of Anthropic, PBC. Cloudflare and Cloudflare Pages are trademarks of Cloudflare, Inc. PageHub isn't affiliated with or endorsed by either.