Open source
Self-host an open source AI CMS: ClaudePress on your own server
ClaudePress is a full open source AI CMS under the AGPL-3.0. Here is how to run it on your own machine or server, what you need, and what the license asks of you.

ClaudePress is an open source AI CMS: the same app we run as a hosted service is on GitHub, with every feature, under the GNU AGPL-3.0. If you'd rather keep everything on your own server, pay Anthropic directly for what Claude uses and change the code as you like, you can self-host it for free.
This guide is the long version of the self-hosting help page. It covers what you need, the install, the configuration, previews, GitHub access and the license. If you are still deciding whether an AI CMS fits your agency at all, read what an AI CMS is first.
What you need
A self-hosted CMS is only as simple as its requirements. ClaudePress keeps them short:
- Node.js 23.6 or later. TypeScript runs natively, so there is no build step for the server.
- git, to clone and commit to the sites' repositories.
- Whatever your sites need to build. Previews use each site's own build command, so if a site builds with Python or a static site generator, that has to be installed too.
- A Claude API key from the Anthropic console.
- Optionally, a fal.ai key if you want the assistant to make images and short videos.
There is no database server to install. By default, everything is stored in one SQLite file and a folder of files.
Install in four commands
git clone https://github.com/YvesBenini/claudepress
cd claudepress && npm install
cp config/claudepress.example.json config/claudepress.json
cp .env.example .env
Then open .env and add your keys:
# Claude API key (console.anthropic.com)
ANTHROPIC_API_KEY=sk-ant-...
# Optional: fal.ai key, for images and videos made by the assistant
FAL_KEY=
And start it:
npm start
ClaudePress now runs on http://localhost:4400.
First start: the administrator account
Open the address in your browser. On a fresh install, ClaudePress asks you to create the administrator account. Nini welcomes you, you choose a name, an e-mail and a password, and you land in Administration.

From there, the steps are the same as on the hosted version:
- Add a site: its name, live address and GitHub repository (
owner/name). ClaudePress clones it and builds it once. - Invite people: you get a one-time link to send them, valid 14 days, where they choose their password. On a self-hosted server without e-mail configured, you send that link yourself.
- Give access per site: a role (can publish, or prepares changes for approval), and per site what clients change freely, what you approve first and what stays with you.
The getting started guide and inviting clients show these screens step by step.
The configuration file
config/claudepress.json holds the server settings only. The ones you are most likely to change:
| Setting | What it does |
|---|---|
port, host | Where the server listens (4400 and localhost by default) |
publicUrl | The address used in invitation links |
model | The Claude model used by the assistant and the article writer |
agencyName | Your agency's name, shown in the app |
signup | Lets new administrators create their own account |
firebase | Optional: sign-in with e-mail or Google through Firebase Authentication |
storage | local (SQLite and files) or firestore |
plans | Only for a hosted service with plans. Without it, every account has unlimited sites and AI |
Sites listed under sites are imported once into the database. After that, you manage them from the Administration screen.
Storage: SQLite or Firestore
By default, records go to data/claudepress.db and files (photos, conversations) to data/blobs. Back up the data folder and you have backed up ClaudePress.
If you host on Google Cloud, set "storage": { "type": "firestore", "projectId": "…", "bucket": "…" }. Records then go to Firestore and files to a private Cloud Storage bucket. Only simple lookups are used, so Firestore needs no extra index. Lock the database with rules that deny all client access.
Previews: three ways to build them
Previews are what make an AI CMS trustworthy: the client sees the real page before anything goes live. ClaudePress can make them in three ways, chosen per site.
- On the ClaudePress server. The natural choice when self-hosting. The repository is cloned into
workspaces/<site>/base, and each change gets a copy (copy-on-write on APFS or btrfs, so it's instant), with the change applied and the site's build run. Publishing commits and, if you enable it, pushes. - By the site's own pipeline. Each change becomes a pull request. Your pipeline (Netlify, Vercel and others do this) posts its preview address, and publishing squash-merges the pull request.
- With Google Cloud Build. The change is committed to a
claudepress/<change>branch, Cloud Build runs the site's build and uploads the result to a private bucket. This is what the hosted version uses.
One thing to know: previews run the site's own build scripts. That's fine for sites you built yourself; don't point ClaudePress at a site whose code you don't trust. The article on AI CMS safety explains the other guardrails.
Connecting GitHub
ClaudePress reaches repositories through its own GitHub App. You create it once, from Administration → Sites: GitHub shows you the app already filled in, you confirm, and its keys come back to your server, encrypted. Each account then clicks Connect my GitHub and picks the repositories it allows.
For development, or a simple setup, you can skip the app: ClaudePress then uses CLAUDEPRESS_GITHUB_TOKEN or the GitHub CLI's login.
Running it for real
For a server other people use, a few extra steps:
- Put it behind HTTPS (any reverse proxy will do) and set
publicUrlto that address. - Set
firstAdminson any public server, or the first person to sign in becomes its administrator. - Keep
ANTHROPIC_API_KEYandFAL_KEYin your server's secret store, not in git. - If you host on Firebase App Hosting, the repository's
apphosting.yamlreads every setting from Secret Manager, so it works for any Firebase project.
The AGPL-3.0, in plain words
The code is licensed under the GNU AGPL-3.0 or later. In practice:
- You can use it, change it and run it for your clients, for free, commercially too.
- If you run a modified version as a service for others, you must offer them your changes under the same license. That's the "network" clause that makes the AGPL different from the GPL.
- If you only use it for your own agency, unchanged or changed, nothing else is asked of you.
The license covers the code, not the name. The ClaudePress name, logo and Nini, the mascot, are covered by a short trademark note. You can keep them in the app you run for your clients and say your service is "based on ClaudePress". If you offer a hosted service to the public, or distribute a fork, give it its own name and replace the images in web/brand/. The FAQ has more on licensing and GitHub.
Self-hosted or hosted?
| Self-hosted | Hosted | |
|---|---|---|
| Price | Free, every feature | Free for one site, then per number of sites |
| Claude | Your own key, billed by Anthropic | Your own key, or AI included in credits |
| Previews | On your server, or your pipeline | Built for you, one address per site |
| Updates and backups | Yours | Handled, EU servers |
| Code changes | Change anything (AGPL) | The standard app |
Many agencies try the hosted version on one site, then decide. Both run the same software, so you can move either way. See the open source page for more, or start free on the hosted version if you'd rather not run a server at all.
What it costs to run
Self-hosting is free; you pay Anthropic for what Claude uses. A typical edit reads a lot of the site's content, most of it from the prompt cache, and writes a little. In our tests an edit cost around 60 to 80 credits, where 1 credit is €0.001 of Claude at Anthropic's list price. The article on what an AI edit really costs walks through the numbers.


