Disclaimer: This site may include affiliate links at no cost to you.
Table of Contents
Claude is good at SEO work when it can read your data, and bad at it when it can't. Without data it gives you the same advice as everyone else. With Search Console data it can tell you which page lost what, when, and whether the page or the demand changed.
This is how I use Claude Code on this site: the setup, the script that reads Search Console, four jobs that work, and one experiment that looked like a success until a core update came.
What people mean by "Claude SEO"
The search has two meanings.
- The plugin. claude-seo is a free, MIT-licensed plugin for Claude Code by Agrici Daniel. It audits a site for technical issues, content, structured data and AI search. The latest version when I wrote this was 2.6.2. I haven't used it, so I can't tell you how good its audits are.
- The practice. Using Claude, usually Claude Code, for your own SEO work.
This guide is about the second one. I went with a few small scripts of my own, because the questions I had were about my data and not about a checklist.
The setup
Claude Code works in a folder on my computer. It can read the files, run the scripts and write new ones. These are the parts that matter:
| Part | What it gives Claude | Size |
|---|---|---|
gsc.py |
Search Console data through the API | 287 lines |
kw.py |
Search volumes from Google Ads Keyword Planner | 143 lines |
content_plan.py |
One row per URL with a suggested decision | 491 lines |
UPDATES.md |
A log of every content change and its date | one row per change |
CLAUDE.md |
The rules Claude reads at the start of each session | one page |
Claude Code wrote the scripts. I didn't start with all of them. Each one exists because I needed an answer that the previous ones couldn't give.
I use the Max plan, which costs me €90 a month.
Connect Claude Code to Search Console
You can start with CSV exports from Search Console. The API is worth setting up when you do this more than once.
- Create a project in Google Cloud and enable the Google Search Console API.
- Create a service account and download its JSON key.
- In Search Console, open Settings → Users and permissions → Add user. Paste the email address of the service account and choose Restricted. That's enough for reading.
- Keep the key file outside the project folder, or at least out of Git. Give Claude the path, never the contents.
- Install the two Python packages:
pip install google-auth requests.
This script prints clicks, impressions and position for every page and query. I ran it on my own site before I put it here, and it returned 10,044 rows for October.
import csv, os, sys
from urllib.parse import quote
from google.oauth2 import service_account
from google.auth.transport.requests import AuthorizedSession
SITE = "sc-domain:example.com" # or "https://example.com/"
START, END = sys.argv[1], sys.argv[2]
credentials = service_account.Credentials.from_service_account_file(
os.environ["GSC_KEY_FILE"],
scopes=["https://www.googleapis.com/auth/webmasters.readonly"],
)
http = AuthorizedSession(credentials)
url = ("https://www.googleapis.com/webmasters/v3/sites/"
+ quote(SITE, safe="") + "/searchAnalytics/query")
out = csv.writer(sys.stdout, lineterminator="\n")
out.writerow(["page", "query", "clicks", "impressions", "position"])
start_row = 0
while True:
response = http.post(url, json={
"startDate": START, "endDate": END,
"dimensions": ["page", "query"],
"dataState": "final",
"rowLimit": 25000, "startRow": start_row,
})
response.raise_for_status()
rows = response.json().get("rows", [])
for row in rows:
out.writerow(row["keys"] + [row["clicks"], row["impressions"],
round(row["position"], 1)])
if len(rows) < 25000:
break
start_row += 25000
Save it as gsc_export.py and run it with two dates:
GSC_KEY_FILE=/path/to/key.json python gsc_export.py 2026-10-01 2026-10-31 > october.csv
In PowerShell, set $env:GSC_KEY_FILE first and then run the rest of the line.
Two limits to know before you trust the numbers:
- Query data is incomplete. Google hides rare queries. In my October export the query rows added up to 92 clicks, but the site had 220. So use page totals for traffic, and queries only to understand what a page is about.
- There are row limits. A response has at most 25,000 rows, and the API exposes at most 50,000 rows per day and search type.
You can also connect Search Console with an MCP server, so that Claude asks for the data directly. I use a script because I can see exactly what was asked and run the same query again next month.
The rules I give Claude
CLAUDE.md is read at the start of every session. The SEO part of mine comes down to this:
- Never invent experiences, tests, ratings or prices. Mark the gaps with TODO.
- Judge pages by clicks and impressions, not by average position.
- Compare periods of the same length, and say if the data isn't final.
- Check the search volume before suggesting a new article.
- Log every content change: date, page, what changed.
- Don't judge a change before 2–3 weeks of data.
- Show the change before saving it. I approve it.
- Never print keys or the contents of .env files.
These are instructions and not a lock. Claude follows them well, but if something must never happen, take away the permission or use a hook.
Job 1: Find out why a page lost traffic
"Update the content" is the standard answer to lost traffic, and it's often wrong. I let Claude compare two periods of the same length, page by page, and sort the losses into types. These three are from my own site, summer against autumn 2026:
| What the data showed | Position | Impressions | Reading |
|---|---|---|---|
| A course review | 7.5 → 7.7 | 3,341 → 1,384 | Fewer people searched. Rewriting won't help. |
| A business ideas article | 16.4 → 34.1 | 2,144 → 158 | A real ranking drop. |
| A pricing guide | 3.1 for its main query | 18,498 | 2 clicks. The page is probably a source in an AI Overview. |
The third one surprised me. Google showed my page for a price query 18,498 times in a month, and my prices were from 2024. It brought two clicks, but wrong prices in front of that many people was one of the first things I fixed.
Try this prompt:
Compare september.csv and october.csv, per day because the months have different lengths. For each page that lost clicks or impressions, say if the position changed or only the demand. Don't suggest edits yet. List what the data can't tell.
Job 2: Decide what to delete
This is the most useful thing Claude has done for my site, and I rarely see it in guides about Claude and SEO.
My site had 302 published URLs. Claude went through 16 months of data and gave each one a row: clicks, impressions, backlinks, a suggested decision and the reason. The first version of the rules was simple:
- 20 clicks or more in 180 days: keep
- 5 to 19: refresh
- many impressions and almost no clicks: rewrite or merge
- nothing, and no backlinks: drop
Then I wrote my own decision in the next column, and mine always won. I kept 89 URLs. They brought about 72% of the clicks. The rest redirect to a close match or answer 410. I wrote about that part in how I moved this site from WordPress to Astro.
Claude was good at the counting, at finding which page a redirect should point to from shared queries, and at noticing old addresses that Google still knew. It can't know which topics you want to be known for.
Job 3: Check the demand before you write
An AI chat once suggested three "low competition" keywords to me in Finnish. They sounded right. I checked them in Keyword Planner, and all three had zero searches a month.
Now the volume check comes before the outline. For this article, Keyword Planner gave these numbers for the US:
| Keyword | Monthly average | Latest month |
|---|---|---|
| claude seo | 720 | 1,300 |
| google search console api | 720 | 720 |
| claude seo skill | 590 | 590 |
| google search console mcp | 590 | 880 |
| claude for seo | 70 | 170 |
| claude keyword research | 10 | 10 |
Treat these as a way to compare keywords with each other. They don't tell you how much traffic you'll get.
Job 4: Update facts, and log every change
Claude reads the article, checks the claims against official sources, and proposes exact replacements. I see the differences before anything is saved. It works best for things that have a right answer: prices, plan names, limits, dates.
The log matters as much as the edit. Each change gets a row with the date and a description. Without it, you'll look at a curve three weeks later and guess.
The experiment that didn't hold
In October 2026 I updated ten articles this way. Seven were rewritten completely, and three got new facts and prices. Here are their mobile impressions per day. I left desktop out because its numbers were distorted in this period. The figures are rounded, and the totals come from the exact ones.
| Article | Change | 10 Sep – 9 Oct | 12 Oct – 8 Nov | 14–21 Nov |
|---|---|---|---|---|
| Affiliate marketing guide (Finnish) | Rewritten | 65 | 118 | 28 |
| Lovable review | Facts | 6 | 88 | 23 |
| Google Workspace pricing | Rewritten | 21 | 32 | 18 |
| HubSpot pricing | Facts | 93 | 29 | 21 |
| NordVPN review (Finnish) | Facts | 6 | 13 | 2 |
| Semrush free trial | Rewritten | 14 | 10 | 0 |
| How to make $1,000 a day | Rewritten | 5 | 7 | 1 |
| Helium 10 review | Rewritten | 2 | 3 | 1 |
| Low-cost business ideas | Rewritten | 1 | 1 | 4 |
| How to use Claude AI | Rewritten | 0 | 0 | 0 |
| The ten together | 212 | 302 | 97 | |
| The other 68 articles I kept | 238 | 308 | 333 |
On November 8, I could have written a success story: impressions up 42% after Claude's updates. But the articles that nobody had touched were up 29% in the same period. Most of the rise wasn't mine.
Then the November 2026 core update started, and the numbers turned around. The ten updated articles fell to a third. The untouched ones rose a little. By topic, my 19 SEO articles went up from 112 to 154 a day, and 26 AI articles went down from 118 to 46.
I don't know why, and I'd be careful with anyone who says they do. It's ten pages, two of them make up most of the total, and the update was still rolling out when I measured. But I can say what it doesn't show. It doesn't show that rewriting with AI brings traffic.
What I changed because of it:
- I don't rewrite in batches anymore. One kind of change at a time, and then I wait.
- Every test has a control group. The untouched pages cost nothing to include, and they kept me from publishing a wrong conclusion.
- New articles start from something only I have. A test, a number, a mistake. Claude can structure that. It can't replace it.
Google's own advice points the same way: generating many pages without adding value for users may violate its spam policies.
My view of the November update
The November 2026 core update was bad for my site. It finished on November 24, after I had collected the numbers above. Google advises you to wait until an update is complete and you have at least a week of data after it, so the last column isn't the final result.
On X, I've seen a lot of criticism that the update hit sites at random. The trade press was calmer. Search Engine Roundtable called the discussion more muted than after most core updates, although people did report lost traffic.
What happened next was unusual. An hour after the November update was complete, Google announced another core update for December without a start date. The closest case I know is from June 2021, when Google said on the day of one core update that a second one would follow in July. I can think of three explanations:
- Something went wrong in November, and December fixes it. This was my first thought. I have no evidence for it.
- New rules in the UK. This one is documented. The UK competition authority requires Google to give sufficient notice of material ranking changes, and Google says that it gives advance notice because of those requirements.
- Something bigger is coming. Google also published a lot of new documentation about ranking at the same time. It could be preparation for a larger change, but the same UK rules ask Google to explain how it ranks results.
The second explanation needs the least guessing. None of them tells me why my ten pages fell.
What I don't use Claude for
- Promising rankings. It can explain what changed. It can't know what Google will do.
- Writing from nothing. Without your own material, you get an average of what's already there.
- Publishing. It prepares and checks. I push.
- Judging by average position. When a page disappears from weak queries, its average position improves while its traffic falls.
Where to start
If you only do one thing, do this: export the last 16 months from Search Console, give the files to Claude, and ask which pages haven't earned their place. You don't need the API or any code for it.
Then do it in this order:
- Find the reasons for the losses (job 1).
- Decide what stays (job 2).
- Start the change log, before your first edit.
- Update facts on the pages that stay (job 4).
- Check demand, and write something new (job 3).
Frequently asked questions
Can Claude do SEO?
It can do a lot of the work: read data, find patterns, check facts, compare pages and prepare edits. It can't decide what your site should be about, and it can't promise rankings.
Do I need Claude Code, or is the Claude app enough?
The app is enough for a one-time analysis of exported files. Claude Code is better when you repeat the work, because it can run scripts, keep a log and follow the rules in your project folder.
Does Claude know search volumes?
Not by itself. If you ask without a data source, any number it gives is a guess. Connect Keyword Planner or another keyword tool.
Is it safe to give Claude access to Search Console?
Use a service account with Restricted permission and a read-only scope. Then the worst case is that it reads your search data. Keep the key file out of Git and out of the chat.