New to Claude Skills? Learn how to install them β†’

gosom on GitHub

Google Maps Scraper

Free

Effortlessly extract local business data from Google Maps.

Get this skill

Free Β· Opens the source repo

What Google Maps Scraper does

The Google Maps Scraper skill enables users to extract valuable business information from Google Maps through natural language queries. This tool is particularly useful for lead generation, allowing users to find businesses, reviews, ratings, and contact details based on specific search phrases and locations. By running the scraper locally with Docker, it provides a straightforward way for non-technical users to gather data without needing extensive programming knowledge.

The workflow begins with the user inputting a business type or search phrase along with a location. The skill intelligently infers defaults and prepares the necessary queries for execution. Users can choose to run the scraper with or without a proxy, depending on their needs. The tool offers guidance on proxy setup and ensures that sensitive credentials are handled securely, enhancing the overall user experience.

Once the setup is complete, the scraper runs a validation crawl to ensure everything is functioning correctly before executing the full crawl. Users can monitor the progress in real-time, receiving updates on the container state and results collected. After a successful crawl, the skill presents the results in an organized format, allowing users to analyze, filter, and save the data as needed.

This skill is ideal for marketers, sales professionals, and anyone needing to gather local business leads efficiently. Its user-friendly approach and built-in safety measures make it accessible for those without technical expertise while still being powerful enough for more advanced users.

When to use it

Use this tool when you need to extract business information from Google Maps for lead generation or market research.

When not to use it

Avoid this skill if you require real-time data or if you need to scrape data from non-Google Maps sources.

What you can build with it

Finding Local Dentists

Input a search phrase like 'dentists in Berlin' to gather contact details and reviews from local dental practices.

Market Research for New Businesses

Use the scraper to extract data about competitors in a specific location, helping inform your business strategy.

Collecting Customer Reviews

Run the scraper to gather and analyze customer reviews for businesses in your area, providing insights into customer satisfaction.

How to install Google Maps Scraper

View source

1. Install with the skills CLI

npx skills add gosom/google-maps-scraper/google-maps-scraper --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by gosom

Google Maps Scraper

Turn a natural-language lead request into a validated local Google Maps crawl, monitor it, and help the user work with the results.

Resolve the directory containing this file as SKILL_DIR. Run bundled scripts from that directory; do not assume the current directory is the repository checkout.

Guardrails

  • Use plain language suitable for a nontechnical lead-generation or marketing user.
  • Never ask the user to paste proxy credentials into chat.
  • Never print, read back, summarize, or log proxy credentials.
  • Do not ask for conversational permission before routine in-scope actions such as version checks, query preparation, validation, Docker execution, monitoring, or result inspection. Run them directly. If the agent platform requires approval, batch operations and surface only unavoidable approval prompts.
  • Do not claim a proxy guarantees results or is required for every crawl.
  • Start with conservative depth and concurrency.
  • Preserve partial output when a crawl fails or is interrupted.
  • Do not expose raw logs unless a concise excerpt is necessary for diagnosis and contains no secrets.

Workflow

0. Refresh the workflow

At the beginning of every new skill workflow, run this exactly once without asking for confirmation:

bash "$SKILL_DIR/scripts/ensure-latest.sh"

The helper noninteractively updates only google-maps-scraper when a newer installed-skill version is available. Re-read SKILL.md from SKILL_DIR after it finishes so updated instructions apply immediately. If the check cannot reach the network, state briefly that the installed version will be used and continue.

1. Understand the request

Infer sensible defaults and ask only for missing essentials:

  1. Business type or search phrase
  2. Location
  3. Desired coverage: quick sample, normal search, or comprehensive area coverage

Default to English, CSV, no email extraction, no extra reviews, and shallow depth. Read query planning when translating the request into queries or choosing coverage.

Summarize the inferred configuration briefly before setup. Do not ask for confirmation when the intent and location are already clear.

2. Offer the proxy choice

Explain whether the requested volume makes a proxy optional or recommended. Ask the user to choose one path:

  1. Use an existing proxy
  2. See proxy sponsor recommendations
  3. Continue without a proxy

If the user requests recommendations, run the following selector exactly once for this setup:

node "$SKILL_DIR/scripts/select-proxy-sponsors.mjs"

Display all three returned providers with equal formatting and neutral language. State clearly: These providers sponsor the project, and the links are referral links. Show offer only when the selector returns it. Never invent or modify an offer. Let the user reject all three, use another provider, or continue without a proxy.

Read proxy setup for the display template, safe credential flow, and selection failures.

3. Configure credentials safely

When the user has a proxy URL, run the masked local prompt:

bash "$SKILL_DIR/scripts/configure-proxy.sh"

The user enters credentials directly in the terminal. Do not request the value through chat. The helper returns a file path; use that path with --proxy-file. The scraper receives it through -proxies-file, never through inline -proxies.

If the agent surface cannot relay interactive terminal input, show the same command for the user to run in their own terminal and wait for it to finish. Never fall back to collecting credentials in chat.

Skip this phase when the user chooses no proxy.

4. Prepare queries and validate locally

Write one query per line to a descriptive file under /tmp. For a normal first run, create a separate validation file containing one representative query.

Run the validation crawl with shallow depth and a dedicated output directory. Use the bundled execution helper described in local execution. Include --proxy-file only when configured.

The helper starts Docker in the background. Tell the user that the validation has started, then inspect it with the status helper until it completes. A validation succeeds only when the container exits successfully and produces at least one result.

If validation fails, follow failure recovery before starting the full crawl.

5. Run and monitor the full crawl

Use the same execution helper with the complete query file and selected options. When validation already checked the Docker image during this workflow, add --skip-image-pull to avoid a redundant network request. Without a preceding validation, keep the default image check. Report:

  • That the crawl has started
  • Whether the first image download may add startup time
  • Container state
  • Elapsed time
  • Current result count

Poll periodically without blocking the conversation for more than one minute and without streaming logs. Do not promise an exact completion time.

For grid search, extra reviews, email extraction, and other non-default flags, read advanced coverage.

6. Present and continue working with results

After a successful crawl, read result handling. Count the complete result set and show at most 20 preview rows with the most useful available fields:

  • Business name
  • Category
  • Rating and review count
  • Phone
  • Website
  • Address
  • Emails when requested

Offer to save, analyze, filter, convert, or expand the crawl. Suggest a deeper or grid search only when the user's coverage goal or unexpectedly low result count justifies it.

Show the GitHub star suggestion only after the first successful result presentation in a conversation:

If this workflow was useful, consider starring https://github.com/gosom/google-maps-scraper.

Reference routing

Frequently asked questions about Google Maps Scraper

Similar skills