Google maps scraper

From akillness/jeo-skills · View interactive version

Google maps scraper is an AI agent skill from the GitHub repository akillness/jeo-skills. Operate gosom/google-maps-scraper, the MIT-licensed Go tool that crawls Google Maps listings into CSV, JSON, PostgreSQL or S3 (name, address, phone, website, rating, reviews, coordinates, optional website emails) through a Docker image, a CLI, a Web UI and REST API, or a self-hosted SaaS edition. Us

How to use this skill

Skill file

google-maps-scraper operator

Operate the named scraper for small, reviewed, lawful local-business data jobs. This skill was audited

against commit 903b96d7aa8863188022c04db220e44f3218c860 (2026-10-21); audited commands, hazards and

the pin are in CODE0. Upstream's README carries a legal

notice: unauthorized scraping may violate terms of service.

When to use this skill

Name collision: upstream's skills-CLI command (gosom/google-maps-scraper) installs a skill folder with the

same name, google-maps-scraper, in the same roots this catalog uses, and that skill updates itself

on every run. Check installed-skill in the preflight and never overwrite one kind with the other

unless the user explicitly approves.

Instructions

1. Freeze the surface

Record one mode: plan, run-cli, run-web, run-api, review-results, or troubleshoot. Ask for the

business type, place, and the purpose of the data; decline purposes that need consent the user lacks.

2. Run the offline gate first

The helper reads host facts, an optional queries file and, with --repo, a checkout. It never starts

Docker, Go, a browser, or the network, and writes nothing:

python3 .agent-skills/google-maps-scraper/scripts/preflight.py --json
python3 .agent-skills/google-maps-scraper/scripts/preflight.py --queries queries.txt --json
python3 .agent-skills/google-maps-scraper/scripts/preflight.py --repo /path/to/google-maps-scraper --expect-commit 903b96d7aa8863188022c04db220e44f3218c860 --json

An installed skill uses python3 "$SKILLS_ROOT/google-maps-scraper/scripts/preflight.py". The

--queries check counts lines and prints a README-rate runtime estimate; it makes no request.

3. Gate every side effect

Require separate explicit approval for each:

  1. Pulling the gosom/google-maps-scraper image (v1.18.1) or running a source build (it downloads Go modules and Playwright browser libraries on first run).
  2. Any crawl: it makes live requests to Google Maps from the user's IP. Start with a 1 to 3 line query file, -depth 1, the default -c, and -exit-on-inactivity 3m.
  3. -email: it also visits each business website. Say so before enabling it.
  4. Proxies: use -proxies-file (mode 600, outside the repo), never inline -proxies, and never ask for credentials in chat. The two flags cannot be combined.
  5. Web UI or REST mode: it listens on :8080 with no authentication in the audited code. Bind to loopback (-addr 127.0.0.1:8080, or -p 127.0.0.1:8080:8080 for Docker).
  6. Exports to PostgreSQL, S3, a custom plugin, or -leadsdb-api-key (a third-party service): each moves scraped personal data and needs its own approval.
  7. Never run upstream's PROVISION script (it pipes a downloaded script into sh) or deploy the SaaS edition as part of this skill.

Set DISABLE_TELEMETRY=1 unless the user opts in: upstream enables anonymous telemetry by default.

4. Follow the matching reference branch

5. Verify narrowly

Run the small validation crawl first, confirm the output has the expected columns and plausible rows, then

scale. A blocked or empty result is a Google-side outcome to report, not something to defeat.

Examples

Small reviewed lead sample

Plan three queries such as dentists in Berlin Germany, run the Docker command with -depth 1 and

-exit-on-inactivity 3m, then review the CSV for duplicates and for emails or phone numbers that need a

lawful basis before use.

"Run it as an API for my team"

Explain that the local server has no authentication and that the multi-user path is the separate SaaS

edition, which this skill does not deploy. Offer loopback-only binding behind the user's own access control.

Best practices

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.