Google SERP Scraper Skill

See who ranks on Google for any list of searches. This skill reads the live results page for each search in the country and device you pick, and keeps every organic result with its position, page, title and snippet, plus the features on the page. 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, with each search's organic results and the features on its page. Shown with sample data for a fictional brand, Acme CRM.

ACME-CRM-SERP-RESULTS.JSONSample data
{
  "country": "United States",
  "language": "English",
  "device": "desktop",
  "run_date": "2026-12-03",
  "searches": [
    {
      "query": "crm for small business",
      "results": [
        {
          "position": 1,
          "url": "https://northwind.example/blog/best-small-business-crm",
          "domain": "northwind.example",
          "title": "The 9 Best CRMs for Small Business in 2026",
          "snippet": "We tested nine CRMs with teams of 2 to 20 people. Here is what each one costs and who it fits.",
          "type": "organic"
        },
        {
          "position": 2,
          "url": "https://globex.example/crm/small-business",
          "domain": "globex.example",
          "title": "Small Business CRM | Globex",
          "snippet": "Track leads, deals and follow-ups in one place. Free for up to 3 users.",
          "type": "organic"
        },
        {
          "position": 3,
          "url": "https://acme.example/crm-small-business",
          "domain": "acme.example",
          "title": "Acme CRM: A Simple CRM for Small Teams",
          "snippet": "Set up your pipeline in 10 minutes and import contacts from any spreadsheet.",
          "type": "organic"
        }
      ],
      "features": {
        "people_also_ask": ["What is the easiest CRM to use?", "Is there a free CRM for small business?"],
        "featured_snippet": "",
        "ai_overview": {
          "text": "",
          "sources": []
        },
        "related_searches": ["free crm for small business", "crm software for startups"]
      }
    }
  ]
}
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 organic results for each search, as a searcher in one country and device sees them.
  • trigger: Ask who ranks on Google for a search, or for the results and features of a list of keywords. To compare the ranking pages and write an outline, use SERP Analysis.
  • parameters: One or more searches. Optional: country, language, device and how many results.
  • output: A results JSON file and the raw result in a run folder, plus the count in the chat.
  • reference: Every step runs through the Porter Metrics MCP (https://mcp.portermetrics.com/mcp).

Index

Item Part Use it when
Connect Porter Metrics Start Starting any run
Shared rules Start Applying the scope, cost and run folder rules to every step
Ask for the input Setup Listing the searches and the place to search from
Run the scraper Scrape Reading Google’s organic results for each search
Clean the output Scrape Turning the raw result into one row per item
Hand over Finish Giving the user the file and the summary
Tools Reference Finding the Porter Metrics action for each job

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 Ask for the input 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 the source shows. Scores, winners and advice stay out; they belong to the skills in Part of these skills on this page.
Start small The first run uses the default limit. Tell the user the count before raising it, because every result is billed.
Dropped call A dropped call may already be billed. Run it again with a smaller input, never the same heavy call twice.
Empty field A field the source 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.

Ask for the input

Index ↑

Ask only for the searches; take the defaults for the rest.

Input Required Default
Searches Yes none
Country No United States
Language No English
Device No Desktop
Results No The first 10

Run the scraper

Index ↑

Read the live results page for each search.

Rule What to do
Call Run seo.serp_organic_live_advanced with keyword, language_code, location_name, device and depth.
Same place Every search of the run uses the same country, language and device, so the results compare.
AI overview A plain results call returns an empty AI overview. When the user wants it, run seo.serp_google_ai_overview for that search.
Features Keep people also ask, featured snippet, videos and local pack as they appear, in their own list.

Clean the output

Index ↑

Keep one row per result per search with these fields, in this order.

Field What it holds
query The search
position Its organic position
url The page
domain The site
title The title Google shows
snippet The text under the title
type organic, featured snippet, video or another type
Output (JSON)
{"country": "", "language": "", "device": "", "run_date": "", "searches": [{"query": "", "results": [{"position": 0, "url": "", "domain": "", "title": "", "snippet": "", "type": ""}], "features": {"people_also_ask": [], "featured_snippet": "", "ai_overview": {"text": "", "sources": []}, "related_searches": []}}]}
Rule What to do
Files Give the user the path of the cleaned file and the raw folder.
Summary Say in the chat how many items came back, the date range they cover and any field that came back empty for every item.
Next step When the user wants analysis, name the full skill that reads this file (Part of these skills on this page).

Porter Metrics MCP actions run through execute_action.

Use Tool Parameters
Connection check whoami none
Organic results seo.serp_organic_live_advanced keyword · language_code · location_name · device · depth
AI overview seo.serp_google_ai_overview keyword · language_code · location_name · 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.

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