Luros › AI SEO agent

Connect Search Console to Claude Code

To connect Search Console to Claude Code, give the project an OAuth token for your property and the property's address, as two settings in its environment. An export script then pulls 28 days of queries and pages with clicks, impressions, click-through rate and position, and the search routine works from that file. With no token it says so, writes nothing and ships nothing.

What the routine reads

One export, two windows: the last 28 complete days and the 28 before, as one row for each query and page. Each row carries six fields. Google defines three of them, and the routine adds a rule to each.

FieldWhat Google says it isWhat the routine does with it
ClicksClicks from a Google result to your siteCompares the two windows to find pages losing clicks
ImpressionsHow often someone saw a link to your site on GoogleSets the thresholds: more than 50 for page two, at least 40 for the rest
CTRThe calculation of clicks divided by impressionsFlags page-one queries under 3%
PositionA relative ranking of your link, where 1 is the topmost positionSorts queries into page one, page two and deeper

Google's guide to the query method says you can ask for data in batches of 25,000 rows at a time. The export asks for the query and the page together, so a large site can hit that cap, which is why it prints the row cap and the end date of the window with every export.

Why 28 days

Twenty-eight days is the minimum the routine accepts. A seven-day window has almost no page-two queries with more than 50 impressions, so the second look has nothing to find. The previous 28 days is there so that a page's clicks can be compared like with like.

The two traps in the numbers

The first is the CTR unit. The routine's instructions say its export writes CTR as a percentage from 0 to 100, not a fraction, so a threshold of 3% is ctr < 3 in the file. If you find a 100-fold gap between CTR and clicks divided by impressions, you have found a unit error in your own check. Check the unit your own export writes before you call a value wrong.

The second is the sign on position change. The change is the current position minus the previous one, and a lower position is better, so a negative change is an improvement. It sits beside a position and reads like a regression.

What you provide

Two settings in your project's environment: GOOGLE_SEARCH_CONSOLE_TOKEN, the OAuth bearer token, and GOOGLE_SEARCH_CONSOLE_SITE, the property in its URL form. The property has to be one your Google account can already see in Search Console.

This is not a one-click connection. The setup guide that comes with the kit has you create a Google Cloud project and sign in from the command line with the Search Console scopes, once, after which the token refreshes itself.

Which scope the token carries is your choice when you authorise it. Google's reference for the query method lists two that authorise it, a read-only scope and a full one, and the kit's setup guide asks for both. The routine's documents do not name one, so look at what your own token carries rather than assuming.

When it fails

With no token, the export says so, writes nothing, and does not use an old file as if it were fresh. With no property, it says that. If Google answers with an error, the export reports that it failed and writes nothing. In every case the routine says so at the top of its report and ships nothing.

Where the data goes

The export is a file in your project. The harness you run the routine in, and the model you subscribe to, read it, so it is not kept on your machine alone. Luros runs nothing and sees nothing. The harnesses page lists what each one reads.

Where Luros fits

Luros's search routine reads this export every day it runs, and it needs the token and the property before it does anything. Request an invite if you want it in your own project.

We make Luros, so weigh this section accordingly. Everything above it stands on the sources below.

Luros is £99 a month per module, and the modules are on SkillsVault, where every one of them has a seven-day free trial, with no card. Tell us which one hurts most, and that is where your first week starts.

Request an invite

One email. We will tell you when there is a place for you, and nothing else.

Questions people ask

Does the agent need write access to Search Console?
The export makes one request, to the search analytics query method, and it only reads. Google lists both a read-only and a full scope as authorising that method, and the choice is yours when you authorise the token. Check which one yours carries.
How much history does it need?
The last 28 complete days and the 28 before. A shorter window leaves too few page-two queries to work on.
Which harnesses can run it?
The kit installs into ten harnesses, and the harnesses page sets them out in one table, with the ones that differ in shape.

Related guides

Sources

Tools in this area change quickly. Every fact here comes from the sources above as they stood on the date shown; if one has moved on, the source is right and this page is out of date.