
Hatamoto
Open-source CMS in one Go binary, a WordPress replacement
At a glance
Hatamoto is an open-source CMS written in Go. One binary runs the site, the admin, the REST API and an MCP server next to Postgres.
- 1Go binary with Postgres
- Apache2.0 open-source license
- Runs the site, admin, API and MCP server as one Go binary, with no PHP or Node
- Runs plugins in a WebAssembly sandbox with limits on memory and time
- Counts AI crawler visits on the server and shows them in the admin
- Pricing
- Open source
- Platforms
- Web, Linux
- Category
- Developer Tools
- Website
- hatamoto.dev
- Last checked

What it does
Hatamoto is an open-source CMS for sites that would otherwise run on WordPress. It is written in Go and stores its content in Postgres. The site, the admin area, the REST API and an MCP server all run as one binary on one port, so there is no PHP, no Node and no build step to manage.
The project positions itself as a batteries-included replacement. Builder, SEO, caching, forms, security, two-factor sign-in and backups ship in the same install, and they update together.
How it runs
- Run the install script on a fresh Linux server, which sets up Postgres, Hatamoto and automatic HTTPS.
- Or start it on your own machine with Docker Compose, which starts Postgres and Hatamoto together.
- Sign in to the admin at a private address and build the site there.
Plugins and updates
Plugins are WebAssembly modules that run inside the process with limits on memory and time. A plugin gets only the permissions you allow. Signed releases are checked after install, and a bad update rolls back.
Agents
Agents can connect to the built-in MCP server with a scoped key. They pass through the same validation, hooks and audit trail as the admin, so an agent cannot skip the rules your team follows.
Source
The code is released under Apache-2.0, so you can use it for client work, fork it or build a product on it.
Who it's for
Developers and agencies who want a self-hosted CMS they can read and change
Typical uses
- Move a WordPress site to a CMS with a single binary and Postgres
- Let an AI agent draft and publish pages through the same rules as your team
- See which AI crawlers read a site, using server-side analytics
Features
- Runs the site, admin, REST API and MCP server in one Go binary
- Runs WebAssembly plugins in a sandbox with memory and time limits
- Counts AI crawler visits on the server and shows them in the admin
- Signs releases and rolls back an update that fails
- Starts with a single install script or a Docker Compose file
Pricing
Open source
The open-source release is free under Apache-2.0. Enterprise is a separate offer for organizations, and it does not move any core feature behind it.
Limitations
- You host it yourself on a Linux server with Postgres 16, or run it with Docker
- Enterprise is a separate offer, so some features are not part of the open-source release
FAQ
Is Hatamoto free to use?
Yes. The code is open source under Apache-2.0, so you can use it, fork it and build products on it.
Can I run Hatamoto with Docker?
Yes. A Docker Compose file starts Postgres and Hatamoto on your machine, and an install script sets up a Linux server.
Can an AI agent manage my site?
Yes. Agents connect to the built-in MCP server with a scoped key and go through the same checks as the admin.
Is it a WordPress replacement?
The project describes it as one, with a guide for moving a WordPress site while keeping its URLs.