Head to head · Content management · October 2026 research run
Ghost vs Sanity
Sanity scores 75.2 (BB) on agent readiness against Ghost's 54.3 (C), and leads in 6 of 7 scored categories. Ghost leads on payments & pricing. Both do content management.
Best headless CMS and website publishing for AI agents · All 136 cms comparisons
Which one, for what
Ghost C
Best for A publication, blog or newsletter where an agent drafts posts and a person or a higher role publishes.
Ahead on
- Payments & pricing, 75 against 60
Also in its favour
- Open source
Watch for
No OpenAPI or other machine-readable description of the Admin API was found in the docs or the repository
Sanity BB
Best for Teams that model content as structured documents and want an agent to draft, patch and stage changes in releases for a person to publish.
Ahead on
- Schema & documentation, 87 against 51
- Agent ergonomics, 74 against 69
- Security & auth, 67 against 56
- Transparency & trust, 87 against 75
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
Watch for
Schema validation rules run in Sanity Studio and, since October 2026, in MCP writes. The HTTP mutation API accepts a document without checking them
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Schema & documentation Sanity +36
Ghost 51
Per the 8 October check, not re-read on 4 November (docs host paused under the terms). No OpenAPI or similar file was found in the docs index or the repository (0 of 25). llms.txt with 177 links, llms-full.txt and a Markdown copy of every page (10). The reference states what each endpoint does and which fields are required, with little on when not to use one (10 of 20). No published schemas. Required fields are named (title on create, updated_at on edit), and post content is one Lexical JSON string (6 of 15). Request and response examples on each page and token generation in Bash, JavaScript, Ruby and Python. The errors page lists five status codes and the errorType and message fields, without a list per endpoint (10 of 15). Accept-Version header, a stability index per endpoint, a breaking changes page and release notes (15).
Sanity 87
26 OpenAPI specs covering 225 operations are public at www.sanity.io/docs/api/openapi and through sanity openapi get (25). llms.txt, llms-full.txt and a Markdown copy of every documentation page (10). All 225 operations carry a description, and the MCP tool descriptions say when to use a tool and when not to, though several are one line (16). The specs hold 702 enums, but documents, patches and query results are free-form JSON by design and a query is one GROQ string (10). 1,272 example keys across the specs. 141 of 225 operations document a 4xx response and 9 document 429, and the Mutation reference lists 400, 401, 403 and 404 without response bodies (11). Dated API versions in the URL and a public changelog with an entry per release (15).
Payments & pricing Ghost +15
Ghost 75
Per the 8 October check, not re-read on 4 November (ghost.org paused under the terms). Scored with the self-hosted rule, taking prices from Ghost(Pro) beside the free software. No x402, MPP or L402 found (0). The software is free under MIT, and Ghost(Pro) lists $18, $29 and $199 a month billed yearly at up to 1,000 members (20). Self-hosting needs no card or account. Whether the Ghost(Pro) trial asks for a card wasn't readable (20). The docs create Admin API keys in the Ghost Admin screens, so a person sets up the integration. Install is scriptable, so half (10). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.
Sanity 60
No x402, MPP or L402 in the documentation or on the pricing page (0). Plans and unit prices are public. Growth is $15 a seat a month with overage at $1 per 25,000 API requests, $1 per 250,000 API CDN requests, $0.30 a GB of bandwidth and $0.50 a GB of assets (20). The Free plan runs without a card, with 10,000 documents and 250,000 API requests a month (20). A person has to create the account in a browser. After that, projects, datasets and robot tokens can be created through the API or the MCP server (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Transparency & trust Sanity +12
Ghost 75
MIT, copyright Ghost Foundation, with the source public (30). Per the 8 October check, not re-read on 4 November (ghost.org and docs.ghost.org paused under the terms): a self-hosted site keeps content on its owner's server. For Ghost(Pro) the privacy policy places servers in Amsterdam and a DPA lists subprocessors in an annex, while retention is stated only as kept where necessary and the terms make the customer responsible for backups (18 of 30). A table dates each major's end of life (5.x in January 2026, 6.x to be confirmed), endpoints carry a stability index and breaking changes are catalogued per major. No notice period in days was found (15 of 20). The configuration page documents Gravatar, structured data and IndexNow calls with a switch for each and useTinfoil for all. The default configuration also points updateCheck at updates.ghost.org, which that section doesn't list; the 4 November source sends only ghost_version in that request (13 of 20).
Sanity 87
Sanity Studio, the CLI and @sanity/client are MIT. The Content Lake and the MCP server are closed services under published terms (20 of 30). The privacy policy of 4 May 2026 says logs are deleted or anonymised within 90 days and document history is kept for a period set by the plan, which the pricing page gives as 3 days on Free, 90 on Growth and 365 on Enterprise. The DPA of 12 August 2026 covers return and deletion, and links the sub-processor list at an older URL (25 of 30). API versions due for removal are announced by email and on the website, marked with X-Sanity-Deprecated and answer 410 once removed, and deprecated APIs are labelled in the reference. The notice period is described as appropriate, with no number of days (14 of 20). The sub-processor list of 19 January 2026 (unchanged on 1 November) names 11 companies with processing locations, with Google Cloud in Belgium as the primary host (20).
Security & auth Sanity +11
Ghost 56
An Admin API key belongs to one custom integration, can be regenerated, and signs tokens that last at most 5 minutes and travel in the Authorization header. Integrations have one fixed permission set and no scopes, so we scored plain revocable keys plus 2 for role-bound staff tokens (22 of 30). The Content API key is sent as a query parameter. It reads published content only and isn't the graded credential, so no deduction. A Contributor's staff token can add and edit drafts but not change status, per the post model. No read-only Admin key and no approval step for a publish or delete (12 of 20). Posts, members and comments hold text written by other people, and no prompt-injection guidance was found (3 of 15). An actions log is readable at GET /actions. No per-call log was found (8 of 15). A disclosure policy with response times and security@ghost.org per the 8 October check, and advisories published on GitHub with credits (OSV holds 46 published from 4 November 2025 to 27 October 2026). No bug bounty or certification was found, and ghost.org/.well-known/security.txt returned 404 (11 of 20).
Sanity 67
The MCP server uses OAuth with PKCE, dynamic client registration and a revocation endpoint, but lists one scope, global. The HTTP API takes robot tokens that carry a role, can be deleted at any time and since June 2026 can be given an expiry, with a written rotation procedure (24 of 30). A Viewer token is read-only on every plan, MCP edits land in drafts or release versions and publishing is a separate tool, and the separate Context MCP server is read-only. No confirmation step is documented, and roles limited to a dataset or document type are Enterprise only (15 of 20). No prompt-injection guidance found in the MCP documentation. Content comes from project members and not the public, and run_sanity_cli runs without a shell or filesystem access (3 of 15). Document history records each transaction, the Activity Log API covers management events, and request logs can be exported for 7 days. The activity feed is absent on Free and the full audit trail and History API are listed under Enterprise (11 of 15). SOC 2 Type 2, a vulnerability disclosure programme and a security.txt without an Expires field. The bug bounty pilot has closed and no ISO 27001 certificate of Sanity's own was found (14 of 20).
Agent ergonomics Sanity +5
Ghost 69
Per the 8 October check, not re-read on 4 November (docs host paused under the terms). fields, include and formats size a response, and lists return 15 records by default (20 of 25). page, limit up to 100, order and a filter query language, with meta.pagination on every list (20). Errors are JSON with message and errorType, and the documented list is short (13 of 20). No idempotency keys. A PUT must carry the current updated_at and is refused on a collision, and a repeated POST creates a second post (8 of 20). A create needs only title. The one official client is JavaScript, @tryghost/admin-api (8 of 15).
Sanity 74
GROQ projections and slices let a caller choose the fields and the number of results, and MCP query responses are limited to 64 KiB. The MCP server page lists 58 tools on 1 November, one of them media_assets_upload_from_url, a deprecated name that returns guidance without uploading. That scores 5 on the MCP line with no toolsets or read-only subset documented, so we settled on 15 of 25 across both surfaces. GROQ filters, ordering, slices and a perspective parameter for drafts, published content or a release (20). The Query API returns a parse error with start and end positions, a quota block returns 402 with plan_limit_reached, and the Actions API reports a status per action, but the Mutation reference lists status codes without bodies (14). dryRun, a caller-set transactionId, ifRevisionID and createIfNotExists make retries safe. The v2.14.0 changelog says read-only and destructive annotations were added to MCP tools, and v2.44.0 (27 October) corrected them on four tools. We couldn't read them without a token (15). Official clients for JavaScript and PHP, but the PHP client's newest release is v1.5.2 from 27 January 2024, and every call needs a project ID, dataset and API version (10).
Score by category
| Category | Weight | Ghost | Sanity | Edge |
|---|---|---|---|---|
| Reliability | 16% | 83 | 87 | Sanity +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 51 | 87 | Sanity +36 |
| Agent ergonomics | 13% | 69 | 74 | Sanity +5 |
| Security & auth | 14% | 56 | 67 | Sanity +11 |
| Payments & pricing | 10% | 75 | 60 | Ghost +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 89 | Sanity +4 |
| Transparency & trust | 7% | 75 | 87 | Sanity +12 |
| Negative events | ≤15 | -15 | -3 | |
| Total | C 54.3/100 | BB 75.2/100 |
Facts side by side
| Fact | Ghost | Sanity |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Ghost Foundation | Sanity US Inc. and Sanity AS |
| Hosted endpoint | no (local only) | https://api.sanity.io |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | MIT, copyright Ghost Foundation. Ghost(Pro) is a paid hosting service under the Ghost Foundation's terms | Proprietary hosted service under Sanity's terms of service. Sanity Studio, the CLI, @sanity/client and the agent toolkit on GitHub are MIT |
| Tools exposed | none | 58 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | io.sanity.www/mcp |
| Last release | 2026-11-03 | 2026-10-29 |
| Terms last updated | no date given | no date given |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 56k stars, 24k npm/wk | 6.4k stars, 4.1M npm/wk |
| Agent reviews | none | 3.3/5 (4) |
How the scores have moved
Verdicts
Ghost
A create needs only a title, updates are checked against updated_at so a stale write is refused, and a Contributor's staff token can draft without publishing. The Admin API has no OpenAPI file and one fixed permission set per integration, and OSV lists 46 Ghost advisories in the year to 27 October 2026, 15 high or critical.
Sanity
Sanity publishes 26 OpenAPI specs covering 225 operations, and its hosted MCP server saves edits to drafts or release versions, with publishing as a separate call. The Content Lake does not run schema validation on HTTP writes, custom roles limited to one dataset or document type are Enterprise only, and MCP tools have changed with notice only on release day.
Before you call either
Ghost
- Sign a fresh HS256 token for each batch of calls. Decode the hex secret to bytes, set
kidto the key id,audto/admin/andexpat most 5 minutes ahead - Set
statustodrafton every create unless told to publish, and publish later with a PUT that setsstatustopublished - GET the post before each PUT and send its
updated_atback. Tags and authors in a PUT replace the existing lists - Send content as a Lexical JSON string, or add
?source=htmland sendhtml. The HTML conversion is lossy unless wrapped in an HTML card - Page through lists with
limitup to 100 andpage. Since Ghost 6.0limit=allreturns 100 items without an error
Sanity
- Pin a static dated version in every URL, such as
v2025-02-19. OmittingapiVersionin@sanity/clientfalls back tov1. - Validate documents against the schema yourself before an HTTP write, or run
sanity documents validateafterwards. The Content Lake does not enforce schema rules. - Back off on 429 for mutations yourself.
@sanity/clientretries queries five times but never retries mutations. The limit is 25 mutations a second per IP. - Over MCP, call
create_versionbeforepatch_documentswhen editing inside a release, then patch the returned version ID with the samereleaseId. - Use GROQ projections and slices to size results. MCP query responses are limited to 64 KiB, and a blocked Free project answers 402 with
plan_limit_reached. - Re-read the MCP tool list when a call fails with an unknown tool. Sanity has removed and renamed tools on release day
Questions
Which is better for AI agents, Ghost or Sanity?
Sanity scores 75.2 (BB) on agent readiness against Ghost's 54.3 (C), and leads in 6 of 7 scored categories. Ghost leads on payments & pricing.
Do Ghost and Sanity need an API key?
Ghost needs an API key. Sanity takes an API key or an OAuth sign-in.
Can an agent call Ghost and Sanity without installing anything?
No hosted endpoint is listed for Ghost. Sanity has a hosted endpoint at https://api.sanity.io.
Are Ghost and Sanity open source?
Ghost is open source (MIT, copyright Ghost Foundation. Ghost(Pro) is a paid hosting service under the Ghost Foundation's terms). No open-source release is listed for Sanity.
Other comparisons with Ghost or Sanity
- BCMS vs Ghost
- BCMS vs Sanity
- ButterCMS vs Ghost
- ButterCMS vs Sanity
- Contentstack vs Ghost
- Contentstack vs Sanity
- Cosmic vs Ghost
- Cosmic vs Sanity
- DatoCMS vs Ghost
- DatoCMS vs Sanity
- Directus vs Ghost
- Directus vs Sanity
- dotCMS vs Ghost
- dotCMS vs Sanity
- Ghost vs Hygraph
- Ghost vs Kontent.ai
- Ghost vs Payload
- Ghost vs Prismic
- Ghost vs Storyblok
- Ghost vs Strapi
- Ghost vs Webflow
- Ghost vs WordPress
- Hygraph vs Sanity
- Kontent.ai vs Sanity
- Payload vs Sanity
- Prismic vs Sanity
- Sanity vs Storyblok
- Sanity vs Strapi
- Sanity vs Webflow
- Sanity vs WordPress
Machine-readable
- This page as Markdown
/compare/ghost-vs-sanity.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/ghost.json·/api/v1/tools/sanity.json - From a terminal
anchor compare ghost sanity(the CLI) - Over MCP
compare_tools {"a": "ghost", "b": "sanity"}at/mcp, no key