Google SERP Scraper Skill

See who ranks on Google for any list of searches. This skill gets the live results page for each search in your searchers' market and language, and keeps each search once with its results, snippets and page features under it. It only gets results; it never opens the pages. It delivers one clean file.

By , SEO and AI SEO Specialist, Porter Metrics

Install skill

Setup

Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.

  1. 1
    Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.
    MCP SERVER URL
    https://mcp.portermetrics.com/mcp
  2. 2
  3. 3
    Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
  4. 4
    Ask: Use the Google SERP Scraper skill to pull Google's results for [searches].

Prompt

Once the skill and Porter Metrics are connected, paste this and replace the company name.

PROMPT
Use the Google SERP Scraper skill to pull Google's results for [searches].

Example outputs

Porter templates built on search results data like the file this skill returns.

The cleaned results file the skill hands over: each search once, with its results and features under it, and the market and language with where each came from. Shown with sample data for a fictional brand, Acme CRM.

ACME-CRM-SERP-RESULTS.JSONSample data
{
  "run": {
    "market": {
      "location_name": "Colombia",
      "source": "said by the user"
    },
    "language": {
      "code": "es",
      "source": "language of the searches"
    },
    "device": "desktop",
    "depth": 10,
    "run_date": "2026-12-05"
  },
  "searches": [
    {
      "query": "crm para pymes",
      "status": "ok",
      "attempts": 1,
      "results": [
        {
          "position": 3,
          "type": "organic",
          "url": "",
          "google_redirect_url": "https://google.com/goto?url=...",
          "domain": "northwind.example",
          "title": "Los 9 mejores CRM para pymes en 2026",
          "snippet": "Probamos nueve CRM con equipos de 2 a 20 personas. Esto cuesta cada uno.",
          "date": ""
        },
        {
          "position": 4,
          "type": "organic",
          "url": "https://globex.example/crm/pymes",
          "google_redirect_url": "",
          "domain": "globex.example",
          "title": "CRM para pymes | Globex",
          "snippet": "Gestiona contactos, negocios y seguimientos en un solo lugar.",
          "date": ""
        },
        {
          "position": 5,
          "type": "organic",
          "url": "https://acme.example/crm-pymes",
          "google_redirect_url": "",
          "domain": "acme.example",
          "title": "Acme CRM: un CRM simple para equipos pequeños",
          "snippet": "Arma tu pipeline en 10 minutos e importa contactos desde cualquier hoja de cálculo.",
          "date": ""
        }
      ],
      "features": {
        "ai_overview": {
          "text": "",
          "sources": []
        },
        "people_also_ask": [
          "¿Cuál es el CRM más fácil de usar?",
          "¿Hay un CRM gratis para pymes?"
        ],
        "featured_snippet": "",
        "related_searches": [
          "crm gratis para pymes",
          "software crm para startups"
        ],
        "other": [
          "video"
        ]
      }
    }
  ]
}
The full skillEverything below is the skill file itself: its summary, its Index and every step. Copy it, download it or read it here.

name: google-serp-scraper

  • objective: One file with Google’s results for each search, as searchers in one market and language see them: each search once, with its results and features under it.
  • trigger: Ask who ranks on Google for a search, or for the results and features of a list of searches. This skill only gets results; it never opens the pages.
  • parameters: One or more searches, the market (country, optional city) and the language. Optional: device and depth.
  • output: A results JSON file and the raw result in a run folder, plus the count and the cost in the chat.
  • reference: Every step runs through the Porter Metrics MCP (https://mcp.portermetrics.com/mcp).

Index

Item Part Use it when
What this skill does Start Telling this skill apart from Website Scraper and SERP Analysis
Connect Porter Metrics Start Starting any run
Shared rules Start Applying the cost, limit, retry and run folder rules to every step
Set the market and language Setup Choosing where and in which language Google is searched
Ask for the input Setup Listing the searches and confirming the scope
Run the scraper Scrape Reading Google’s results for each search
Clean the output Scrape Grouping each search’s results and features under it
Hand over Finish Giving the user the file and the summary
Tools Reference Finding the Porter Metrics action for each job

What this skill does

Index ↑

This skill gets Google’s results and stops there.

Skill What it does
Google SERP Scraper (this one) Gets Google’s results for a list of searches: positions, addresses, titles, snippets and features.
Website Scraper Opens pages and extracts their content. It can take this skill’s file as input.
SERP Analysis Coordinates the two: finds the searches, gets the results, reads the ranking pages and compares them.

Connect Porter Metrics

Index ↑

Run this before any other step.

Rule What to do
Check Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works.
Not connected Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again.
Resume Continue with Set the market and language once the check passes.
Porter first Every job in the Tools table runs through the Porter Metrics MCP, so no other tool or key is needed.

Shared rules

Index ↑

These rules apply to every step.

Rule What to do
Public data only Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts.
Extract, never judge Every field holds what Google shows. Scores, winners and advice belong to SERP Analysis.
Every call can cost Each search is a billed read, even though it changes nothing. Before the first call, tell the user how many calls the run makes.
Scope before running Fix the searches, market, language and depth before the first call, using the limits below. Going past a limit needs the user’s yes.
One retry per failed search A failed or empty search gets one more attempt. Still failing, it is listed as failed; never rerun the whole list or a search that worked.
Empty field A field Google does not show stays empty. Never fill it from a guess.
Run folder Save what the action returned, untouched, in google-serp-scraper/[date]/[target]/raw/, and the cleaned file next to it.
Limit Default Past it
Searches per run 10 Ask, naming the extra calls
Depth 10, Google’s first page and the action’s minimum Ask; each extra page is read in the same call but returns more rows to check
Attempts per search 2: the first call and one retry Listed as failed
AI overview calls Only for searches where the user asks for it Ask

Set the market and language

Index ↑

Market and language are two separate settings; neither one sets the other.

Rule What to do
Market The country, and optionally the city, where the searchers are. It goes in location_name.
Language The language the searchers type in. It goes in language_code.
User’s location first When the user’s location is known, because they said it or their Porter profile (profile.get) holds it, and they search for themselves or their own audience, use it as the market.
Never from the topic A place inside the search, such as a destination, a city or a brand’s home country, is what is searched for, not where the search happens.
Ask when unknown When the location is unknown, or the user researches for an audience elsewhere, ask one question: which country the searchers are in and which language they search in.
Language never picks a country A language is spoken in many countries, so it never sets the market.
No universal default Never fall back to one fixed country or language for everyone.
Language left open When the market is set and the language is not, use the language the searches are written in, and say so.
Record the source Save market and language with where each came from: said by the user, from their profile, or answered when asked.
Field Format
location_name Country (Colombia), or city, region, country (Medellin,Antioquia,Colombia)
language_code Two-letter code (es)

Ask for the input

Index ↑

Ask only for what is missing: the searches, and the market or language when Set the market and language cannot settle them.

Input Required Default
Searches Yes none
Market Yes The user’s own location when known; otherwise ask
Language Yes The language the searches are written in
Device No Desktop
Depth No 10

Run the scraper

Index ↑

Read the live results page for each search, all with the same settings.

Rule What to do
Call Run seo.serp_organic_live_advanced with keyword, location_name, language_code, device and depth.
Same settings Every search of the run uses the same market, language, device and depth, so the results compare.
Parallel Send the searches together; each is a separate read.
Missing address Google often returns a result with an empty url and only a google_redirect_url. Keep both; never drop the result.
AI overview When the user wants it, add load_async_ai_overview true to the call; run seo.serp_google_ai_overview only when the overview still comes back empty.
Features Keep AI overview, people also ask, featured snippet, videos, short videos, top sights and local pack as they appear, under their search.

Clean the output

Index ↑

Each search appears once; its results and features sit under it.

Level Field What it holds
Run market, language The values and where each came from
Run device, depth, run_date The settings every search used
Search query The search, written once
Search status ok, empty or failed, with the attempts made
Result position Its position on the page (rank_absolute)
Result type organic, featured snippet, video or another type
Result url The page address, empty when Google gave none
Result google_redirect_url Google’s redirect, kept whenever present
Result domain The site, when Google gives it
Result title The title Google shows
Result snippet The text under the title for this search
Result date The date Google shows, when present
Search features AI overview, people also ask, related searches and the other blocks
Output (JSON)
{"run": {"market": {"location_name": "", "source": ""}, "language": {"code": "", "source": ""}, "device": "", "depth": 0, "run_date": ""}, "searches": [{"query": "", "status": "", "attempts": 0, "results": [{"position": 0, "type": "", "url": "", "google_redirect_url": "", "domain": "", "title": "", "snippet": "", "date": ""}], "features": {"ai_overview": {"text": "", "sources": []}, "people_also_ask": [], "featured_snippet": "", "related_searches": [], "other": []}}]}
Rule What to do
Files Give the user the path of the cleaned file and the raw folder.
Summary Say in the chat the market and language used and where each came from, how many searches ran, results per search, and the calls spent.
Gaps Name every search that failed or came back empty, and how many results have no direct address.
Next step To open the ranking pages, hand this file to Website Scraper; to compare them and write an outline, to SERP Analysis.

Porter Metrics MCP actions run through read_action; each one is read only, needs no connected account and can spend credits.

Use Tool Parameters
Connection check whoami none
User’s saved location profile.get none
Results and features seo.serp_organic_live_advanced keyword · location_name · language_code · device · depth · load_async_ai_overview
AI overview seo.serp_google_ai_overview keyword · location_name · language_code · device

FAQ

Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.

Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.

Where your searchers are. It uses your own location when it knows it, never the place named in the search, and asks when it doesn't know. Language is set on its own: Spanish never means one fixed country.

Google often hides a result's address behind a redirect. The file keeps that redirect, and the Website Scraper follows it to the final page.

Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.

Part of these skills

The skill is free. The Porter connection is free.

Start free