Grav

Flat-file PHP CMS using Markdown and YAML, with a REST API, an MCP server and a SvelteKit admin.

Grav CMS review
Grav logo
PriceFree download, paid premium plugins and themes
Free planYes
Open sourceYes
PlatformsSelf-hosted, Web, API
Best forDevelopers building blogs, company sites and documentation without a database
CheckedDecember 2026

What Grav does and who it is for

Grav is a self-hosted CMS that skips the database entirely. Pages are folders of Markdown files with YAML settings, so a whole site can be copied, versioned in Git or moved with rsync. It suits personal blogs, company sites and large documentation hubs. The rule of thumb is simple: if your content fits into folders, it fits into Grav.

Version 2 adds a first-party REST API, an MCP server for AI agents and a new admin panel. The admin talks to Grav through that same API, so anything you can click, your scripts and CI pipelines can also do. You can run it as a normal website or as a headless backend for other frontends and mobile apps.

Key features

  • No database: content lives as plain Markdown files, easy to back up and export
  • REST API with authentication that follows Grav’s permission model and can be extended by plugins
  • Built-in MCP server, so AI agents work through the same API and permissions as human admins
  • Admin 2.0 built on SvelteKit 5, with a per-user dashboard, CodeMirror editor, Uppy media uploads and real-time collaborative editing through the sync plugin
  • Multi-language content support built in
  • SimpleSearch for full-text search, with YetiSearch Pro as a paid upgrade
  • Image pipeline for resizing, cropping and responsive images
  • Modern stack: PHP 8.3+, Symfony 7, Twig 3

Pricing

The core CMS is a free download: unzip it on your server and you are running. Revenue comes from Grav Premium, a set of plugins and themes from the core team sold with a single license, unlimited updates and lifetime support. Examples include the Helios documentation theme and bundles that add Editor Pro, Revisions Pro and YetiSearch Pro. At the time of writing the bundles mention savings of $35 and $50, but individual prices are not listed on the home page. The team behind Grav, Trilby Media, also sells custom development, support contracts and managed hosting.

Pros and cons

Pros

  • No database to manage, and content is never locked into a proprietary format
  • Fast page rendering thanks to caching and the lean file-based setup
  • API-first design makes headless sites and automation straightforward
  • Works well for technical docs that sit alongside code in Git

Cons

  • Requires PHP 8.3 or newer, which some cheap shared hosts still lack
  • Sites coming from 1.x have to go through a migration to version 2
  • Some production features, like the better search, are paid add-ons
  • Folder-based content gets awkward for very large, highly relational data

Who should try it

Grav is a good pick for developers and small teams who like Markdown and Git, want a quick site without a database, or need a documentation platform they can automate. If you want a huge plugin marketplace, a full online store or a forum, a database-backed system such as WordPress, Drupal or a dedicated shop or forum script will serve you better.

More scripts