Agent skill

Serpapi Tool

by garrettjsmith in garrettjsmith/localseoskills

When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local…

MITAuto-check passedMarketing & SEO

Install Serpapi Tool

skills CLI
$ npx skills add garrettjsmith/localseoskills --skill serpapi-tool -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install garrettjsmith/localseoskills serpapi-tool --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/garrettjsmith/localseoskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/serpapi-tool .claude/skills/serpapi-tool && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
serpapi-tool
GitHub stars
112
Token cost
~1.6k tokens
SKILL.md length
733 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local…

  • Works in 6 steps: Are there ads? → Keyword has commercial… → Is there a local pack? → Google sees… → How many reviews do map pack businesses… → …
  • Wants to check live SERP results for a keyword
  • SKILL.md covers When to Use SerpAPI vs Other…, Core Workflows, Engine Selection Guide and Interpreting Results for Local…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Serpapi Tool is an agent skill from garrettjsmith/localseoskills. When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local search results. Trigger on "what shows up when you search," "check the SERP," "who's in the map pack," "what does the search results page look like," or "search for [keyword]."

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO, covering Local SEO and AI search optimization. It works with SerpApi. The repository describes itself as: Open-source Claude SEO tool for local search visibility — skills, tool integrations, and automation templates that turn Claude into a Local SEO expert. The licence is MIT.

When your agent uses it

  • Wants to check live SERP results for a keyword
  • See whats in the local pack right now
  • Check People Also Ask
  • See AI Overviews

Example prompts

  • “what shows up when you search,”
  • “check the SERP,”
  • “s in the map pack,”
  • “/serpapi-tool”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Are there ads? → Keyword has commercial value
  2. Is there a local pack? → Google sees local intent
  3. How many reviews do map pack businesses have? → Review benchmark
  4. Is there an AI Overview? → Content needs to be AI-optimizable
  5. What are the PAA questions? → Content/FAQ opportunities
  6. Who's ranking organically? → Directories vs. actual businesses

What it can do on your machine

Read from SKILL.md and the folder at commit 405ce20. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Serpapi Tool loads about 1.6k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 733 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from garrettjsmith/localseoskills at commit 405ce20, republished under its MIT licence (© garrettjsmith). 733 words, ~1,608 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-tool/SKILL.md (or your agent's skills folder).
name
serpapi-tool
description
When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local search results. Trigger on "what shows up when you search," "check the SERP," "who's in the map pack," "what does the search results page look like," or "search for [keyword]."
metadata.version
1.0.0
metadata.author
Garrett Smith

SerpAPI Tool

Note: LocalSEOData (localseodata-tool) now covers live SERP data via organic_serp, local_pack, maps, and local_finder endpoints. Use LocalSEOData as default. SerpAPI remains useful if LocalSEOData is not connected, or for non-Google engines (Bing, Yahoo).

You have direct access to SerpAPI via MCP. This gives you live, real-time search results from Google, Bing, and other engines at any location.

When to Use SerpAPI vs Other Tools

You NeedUse SerpAPIUse Instead
Live SERP snapshot right now✅—
What's in the local pack for a query✅Local Falcon for geographic grid coverage
People Also Ask questions✅—
AI Overview content✅Local Falcon GAIO scan for geographic coverage
Quick rank check at one location✅Local Falcon for systematic multi-point
SERP features present (ads, knowledge panel, etc.)✅—
Rankings across a geographic grid❌ Too slow point by pointLocal Falcon
Keyword volume/difficulty❌Semrush, Ahrefs, DataForSEO
Historical ranking trends❌ Snapshot onlyLocal Falcon trends

Core Workflows

Check Live SERP for a Local Keyword

When: User wants to see what Google shows right now for a search.

json
{
  "params": {
    "q": "emergency plumber",
    "engine": "google",
    "location": "Buffalo, New York, United States"
  },
  "mode": "compact"
}

What to extract from results:

  • local_results — the map pack (positions, business names, ratings, reviews)
  • organic_results — organic listings below the map
  • ads — paid ads present (indicates commercial value)
  • related_questions — People Also Ask (content opportunity)
  • ai_overview — AI Overview content if present
  • knowledge_graph — knowledge panel for branded searches
Check Google Maps Results Specifically

When: User wants to see local business listings specifically.

json
{
  "params": {
    "q": "dentist",
    "engine": "google_maps",
    "location": "Orchard Park, New York"
  }
}

Use google_maps engine when you want more than the top 3 map pack — this returns the full local finder results.

Check Local Results from a Specific Location

When: User wants to see results as if searching FROM a specific place.

json
{
  "params": {
    "q": "chiropractor near me",
    "engine": "google_local",
    "location": "Amherst, New York"
  }
}

Important: Location parameter simulates searching FROM that location. "Near me" queries will show results near that location.

Quick Competitive SERP Analysis

When: User wants to understand the competitive landscape for a keyword.

Run the search, then analyze:

  1. Are there ads? → Keyword has commercial value
  2. Is there a local pack? → Google sees local intent
  3. How many reviews do map pack businesses have? → Review benchmark
  4. Is there an AI Overview? → Content needs to be AI-optimizable
  5. What are the PAA questions? → Content/FAQ opportunities
  6. Who's ranking organically? → Directories vs. actual businesses
Verify SERP Features for Keyword Research

When: Building keyword strategy and need to know which keywords trigger which features.

Run searches for each target keyword and note:

  • Local pack present → prioritize GBP optimization for this keyword
  • Ads present → keyword has conversion value, consider PPC
  • AI Overview present → optimize content for AI citation
  • Featured snippet → structured content opportunity
  • PAA questions → FAQ content opportunities
  • No local pack → keyword may not have local intent, reconsider targeting
Show full SKILL.md (298 more words)Show less

Engine Selection Guide

EngineWhen to Use
googleDefault — full SERP with all features including local pack
google_mapsWant full local/maps results beyond top 3
google_localLocal finder results specifically
google_lightQuick check, less data, faster response
google_newsCheck if keyword has news coverage
google_imagesCheck image results for a query
bingCheck Bing results (relevant for Copilot/AI search)

Interpreting Results for Local SEO

Local Pack Analysis
  • Position 1-3: These businesses dominate — note their review counts, ratings, categories
  • No local pack: Google doesn't see local intent for this query — reconsider keyword strategy
  • Ads above local pack: Competitive keyword — organic alone may not be enough
People Also Ask (PAA)
  • Each PAA question is a content opportunity
  • If your target keyword generates PAAs like "How much does [service] cost in [city]?" — create content answering that
  • PAA questions often become FAQ schema candidates
AI Overview
  • If present: Google is summarizing content for this query
  • Note which sources are cited — those sites have the content structure Google prefers
  • Your content needs to be factual, well-structured, and directly answering the query

What to Do Next

What You FoundNext ActionSkill
Local pack shows competitors with more reviewsBuild review strategyreview-management
No local pack for target keywordThis isn't a local keyword — adjust strategylocal-keyword-research
AI Overview present, user not citedOptimize content for AI visibilityai-local-search
PAA questions foundCreate FAQ content targeting those questionslocal-landing-pages
Ads present, user not running adsConsider PPC for this keywordlocal-ppc-ads
Want geographic ranking data, not just this one pointRun a proper geogrid scanlocal-falcon-tool
User in map pack but wrong positionDiagnose with geogrid analysisgeogrid-analysis

Default next step: SerpAPI gives you a snapshot. For ongoing tracking, set up Local Falcon scans. Use SerpAPI for exploration and spot-checks, Local Falcon for measurement.

© garrettjsmith, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/serpapi-tool of garrettjsmith/localseoskills.

Open the folder on GitHubat commit 405ce20

Compare with similar skills

Serpapi Tool next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Serpapi Tool compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Tool this skillgarrettjsmith/localseoskills112—~1.6kAutomated safety check: PassMIT
SEO and GEO Auditdageno-agents/seo-geo-audit176—~2kAutomated safety check: PassMIT
Universal SEO AnalysisAgriciDaniel/claude-seo18k—~4.9kAutomated safety check: PassMIT
Global SEO Growthminhnv0807/ai-business-skills608—~5kAutomated safety check: PassMIT
SEO MapsAgriciDaniel/codex-seo7872 repos~3kAutomated safety check: PassMIT
SEONexus-JPF/note-companion869—~2.2kAutomated safety check: PassMIT

Similar skills

  • SEO and GEO Audit

    dageno-agents/seo-geo-audit

    Runs one prioritized audit that combines technical SEO, content quality, trust signals, entity clarity and AI search readiness for a page, site or domain.

    176 GitHub stars~2k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Universal SEO Analysis

    AgriciDaniel/claude-seo

    Hub for site-wide SEO work: audits, technical checks, schema, content quality, local, hreflang and AI-search readiness, run through slash commands.

    18k GitHub stars~4.9k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Global SEO Growth

    minhnv0807/ai-business-skills

    Covers six SEO layers for a website: crawl and index audit, local SEO, search-intent content, AI search visibility, schema markup and backlink or directory distribution.

    608 GitHub stars~5k tokensUpdated 25 days ago
    Marketing & SEOAuto-check passed
  • SEO Maps

    AgriciDaniel/codex-seo

    Maps intelligence for local SEO — geo-grid rank tracking, GBP profile auditing via API, review intelligence across Google/Tripadvisor/Trustpilot, cross-platform NAP verification…

    787 GitHub starsUsed in 2 repos~3k tokens
    Marketing & SEOAuto-check passed
  • SEO

    Nexus-JPF/note-companion

    Use and read this skill immediately if the user request is in any way related to SEO or a site's organic search or AI search presence.

    869 GitHub stars~2.2k tokensUpdated 4 days ago
    Marketing & SEOAuto-check passed
  • 32 SEO Growth

    minhnv0807/ai-business-skills

    Khi nguoi dung muon tang traffic tu SEO, AI SEO, GEO/AEO, Google, ChatGPT, Perplexity, schema, structured data, llms.txt, programmatic SEO, local SEO, directory submissions, Product Hunt…

    608 GitHub stars~5k tokensUpdated 25 days ago
    Marketing & SEOAuto-check passed

More from garrettjsmith/localseoskills

All 38 skills in this repo
  • Gbp API Automation

    garrettjsmith/localseoskills

    When the user wants to programmatically manage Google Business Profiles at scale via API, automate GBP updates, build GBP management tools, or integrate GBP data into their systems.

    112 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Gbp Posts

    garrettjsmith/localseoskills

    When the user wants to create, schedule, or optimize Google Business Profile posts.

    112 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Local Content Briefs

    garrettjsmith/localseoskills

    Generate complete semantic content briefs for local SEO content — location pages, service pages, blog posts, FAQ content, and pillar pages.

    112 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Brief

    garrettjsmith/localseoskills

    Manages persistent work state (briefs) for local SEO engagements.

    112 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: warnings
  • Local Content Strategy

    garrettjsmith/localseoskills

    Build a complete local content strategy from keyword research output.

    112 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Local Falcon Tool

    garrettjsmith/localseoskills

    When the user wants to run a geogrid scan, check existing scan reports, track ranking trends over time, monitor GBP changes via Falcon Guard, or analyze reviews.

    112 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Serpapi Tool

What does Serpapi Tool do?

When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local…. Serpapi Tool is an agent skill from garrettjsmith/localseoskills. When the user wants to check live SERP results for a keyword, see what's in the local pack right now, check People Also Ask, see AI Overviews, verify SERP features, or do a quick spot-check of local search results.

When should I use Serpapi Tool?

Serpapi Tool fits situations like: wants to check live SERP results for a keyword; see whats in the local pack right now; check People Also Ask; see AI Overviews.

How do I install Serpapi Tool in Claude Code?

Run `npx skills add garrettjsmith/localseoskills --skill serpapi-tool -a claude-code`. Or copy the skill folder (skills/serpapi-tool in garrettjsmith/localseoskills) into .claude/skills/serpapi-tool in your project. Claude Code loads it when a task matches its description.

How do I install Serpapi Tool in Codex?

Run `npx skills add garrettjsmith/localseoskills --skill serpapi-tool -a codex`. Or copy the skill folder (skills/serpapi-tool in garrettjsmith/localseoskills) into .agents/skills/serpapi-tool in your project. Codex loads it when a task matches its description.

Can I use Serpapi Tool in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add garrettjsmith/localseoskills --skill serpapi-tool -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/serpapi-tool, .gemini/skills/serpapi-tool, .github/skills/serpapi-tool and .opencode/skills/serpapi-tool in your project.

What does Serpapi Tool need to run?

SKILL.md names no scripts, command-line tools or credentials: Serpapi Tool is instructions for the agent only.

Does Serpapi Tool access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Serpapi Tool safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Serpapi Tool use?

Serpapi Tool is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Serpapi Tool use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Serpapi Tool?

Skills that share tags, products or a category with Serpapi Tool: SEO and GEO Audit (dageno-agents/seo-geo-audit, 176 stars), Universal SEO Analysis (AgriciDaniel/claude-seo, 18k stars), Global SEO Growth (minhnv0807/ai-business-skills, 608 stars) and SEO Maps (AgriciDaniel/codex-seo, 787 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Tool?

garrettjsmith (a GitHub user) maintains it in garrettjsmith/localseoskills, which has 112 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on August 15, 2026.

Source: garrettjsmith/localseoskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.