Fix Sanity SEO from Claude
Claude SEO on your real Search Console data, with fixes you approve in the same chat.

Each local area page used to take us half a day to create and optimize.
With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.
It's transformed how we deliver scalable SEO solutions.
Will Hawkins
Marketing Director, Digi-Business UK
Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.
14-Day Free Trial. $1 today, credited to your first payment.

Gemini reads your real Google Search Console data through SEOmatic, finds what is holding your Sanity documents back, stages the fix, and tells you whether it worked. By default nothing goes live on Sanity until you approve it.

October 2026
A custom app in the Gemini web app, or one command in Gemini CLI for Workspace and API-key users.
Free to connect and to read your Search Console. Staged fixes are part of paid plans, with a 14-day trial. See pricing.
Gemini cannot reach your Sanity admin on its own. With SEOmatic connected, it answers from your real Search Console data, names the documents that are losing clicks, and stages the fix. You approve it in the conversation or in SEOmatic, and SEOmatic writes it to Sanity through the Sanity Content Lake API.
You: Why does /guides/toilet-keeps-running get impressions but so few clicks?
Gemini: From Sep 13 to Oct 10 (28 days), /guides/toilet-keeps-running had 3,480 impressions and 31 clicks at position 8.6 for "toilet keeps running". That is a low click rate for page one, so the title is the first thing to test: it reads "Running Toilet". I staged a new title, "Toilet Keeps Running? 4 Fixes in Order of Likelihood", to be written to the SEO title field of that document. Approve it here or in SEOmatic and it goes live on Sanity.
An example on a demo site; your numbers come from your own Search Console.
Go to manage.sanity.io, open your project, and under API, then Tokens add a token with Editor permissions or higher. In SEOmatic, go to Connections and select Sanity. Paste the token along with your Project ID and dataset, then pick the document type to work in. The full walkthrough, with every screen, is on the Sanity integration page.
At gemini.google.com, open Settings, then Connected Apps, choose Add a custom app and paste this URL, then sign in to SEOmatic. Using Gemini CLI on a Workspace account or with a Gemini API key? Run gemini extensions install https://github.com/Minh42/seomatic-mcp in your shell instead.
https://app.seomatic.ai/api/mcpOther ways to connect are on the Gemini page.
Paste any of these into Gemini. It answers from your data and stages the fix; you approve it before it reaches Sanity.
More that work well in Gemini:
After you approve, SEOmatic writes the change through the Sanity Content Lake API and checks that it is live. Then it measures the result against the page's own baseline and your site's trend: 14 days after a title change, 28 after a content refresh, 90 after a new page. Each change is marked verified, ineffective or regressed, and a low-risk change that loses traffic is rolled back on its own. Ask Gemini "Did my Sanity title changes work?" and it answers from those verdicts.
New documents written from research, plus rewrites of the title, slug and meta on ones already published.
Agents resolve where your meta and body actually live in the same query that finds the document, so nothing is guessed.
Sanity accepts any key you send, and a guessed name would create a field nothing renders. Canonical and noindex are only ever written to a field your document already has.
Sanity's schema lives in your Studio, not in the API, so a write to a guessed field name succeeds and quietly creates an orphan nothing renders. Agents resolve the document's real shape before they write.
Every field, limit and safeguard is on the Sanity integration page.
Sanity
A Sanity project and dataset, plus an API token with Editor permissions or higher, created under API > Tokens in manage.sanity.io. You will also need your Project ID and dataset name, usually production.
Gemini
Gemini web app: a personal Google account, age 18 or over, in the US, in English, with Keep Activity on. Gemini CLI: a Google Workspace account or a Gemini API key. Google retired Gemini CLI for personal (free, Pro and Ultra) accounts on June 18, 2026; those accounts use Antigravity. Plus a free SEOmatic account.
Gemini works the same way on WordPress, Webflow, Shopify, Ghost, Blogger, Wix, Squarespace, Framer, Drupal, BigCommerce, HubSpot CMS, Contentful, Strapi, Next.js, Lovable, GitHub, Craft CMS.
Can Gemini fix SEO on my Sanity site?
Yes, through SEOmatic. Gemini reads your Search Console data, finds the documents losing clicks and stages the fix, which SEOmatic writes to Sanity once you approve. The three setup steps are on this page.
What can Gemini change on Sanity?
SEOmatic works on your documents through the Sanity Content Lake API: titles, descriptions and content first, and more where Sanity allows it. Every field and limit is listed on the Sanity integration page.
How do I know if a Sanity fix worked?
SEOmatic measures every change it ships against the page's own baseline and your site's trend, 14 days after a title change, 28 after a content refresh and 90 after a new page, and marks it verified, ineffective or regressed. Gemini can read those verdicts for you.
What do I need on the Gemini side?
Gemini web app: a personal Google account, age 18 or over, in the US, in English, with Keep Activity on. Gemini CLI: a Google Workspace account or a Gemini API key. Google retired Gemini CLI for personal (free, Pro and Ultra) accounts on June 18, 2026; those accounts use Antigravity. Plus a free SEOmatic account.
Will Gemini publish to Sanity without asking?
No. By default every change SEOmatic proposes waits for your approval before it touches your site, and your assistant is told never to approve on its own. Approved changes are stored with the page's previous state, so any edit to an existing page can be rolled back. If you later want low-risk fixes to go ahead on their own, you can turn that on in your autonomy settings; changes to your URLs or indexing, and new content, still wait for you.
Is it free?
Connecting is free with no card. Search Console reports, page checks and 30-page site audits are free, as often as you like; live market data uses free questions, 5 a month plus a one-time 10 when you connect Search Console. Staging and publishing fixes is part of paid plans, which start with a 14-day free trial.
The same SEOmatic server and approval rules, from the agent you prefer.
Claude SEO on your real Search Console data, with fixes you approve in the same chat.
One command connects your Search Console to the terminal, so Claude Code fixes SEO in the code.
Hand Claude Cowork the SEO grunt work: it pulls your real numbers, writes the report into your files, and stages fixes you approve.
ChatGPT SEO on your real Search Console data, with fixes you approve in the same chat.
Two commands give Codex your Search Console data, so it fixes SEO where the bug lives: in your code.
An always-on SEO teammate: routines that read your Search Console and speak up when something changes.