Nov 5, 2026
Scrape Local Business Leads With the Google Maps Scraper Kit
A 2k-star MIT kit that runs a local headless engine against Google Maps — no API key — and ships a Claude Code skill plus four slash commands so the agent runs the scrape in plain English.
Lead-gen scraping usually means SaaS credits per row, or a fragile script you babysit yourself. Google Maps Scraper Kit, a 2k-star MIT-licensed repository, takes the local route: its own engine — written from scratch in standard-library Python around a headless Chrome — drives Google Maps on your machine, and a Claude Code skill with four slash commands lets the agent run scrapes for you in plain English.
Why This Skill Matters
The kit needs no Google Maps API key, no SaaS credits, and sends no data to a vendor: no telemetry, and results stay on your machine. The engine binds to 127.0.0.1 and refuses cross-site requests. Name a business type and a city, and you get an outreach-ready CSV with eight lead fields — name, phone, email, website, category, address, rating, review count — plus Instagram, Facebook, LinkedIn, TikTok, YouTube, and X links when the business site shows them. Email extraction is on by default: after the Maps job, the script crawls every business website, homepage first, then contact and about pages. It runs natively on macOS, Linux (amd64 and arm64), and Windows, with Docker optional.
The README stamps its headline numbers with a verification date: a fresh install of v2.1.0 on 2026-11-01 scraped 2,068 places across 27 jobs in 21 minutes from one home IP, with zero rate-limit pages.
Installation
Requires Python 3.9 or newer and Chrome (Chromium, Edge, or Brave work too); the basic crawl needs no pip install. Four lines from the quick start:
git clone https://github.com/Mahanaicoach/google-maps-scraper-kit.git
cd google-maps-scraper-kit
python3 scripts/engine.py start
python3 scripts/scrape.py "coffee shops in Austin TX" 30.2672 -97.7431 --depth 2
No browser installed? The first start downloads Chrome for Testing once, about 100 MB, checked against a pinned SHA-256. Port 8080 taken? Set SCRAPER_PORT=8081 in a .env copied from .env.example. Prefer Docker? Replace the third line with docker compose up -d.
For the agent path, either open the folder in Claude Code — the skill and the four slash commands load automatically — or install the skill file into an agent you already use:
npx skills add mahanaicoach/google-maps-scraper-kit
The README notes this installs the skill only, and the slash commands come with the open-the-folder option. The skill works with Codex, Cursor, and any other Agent Skills-compatible tool; the /scrape slash commands are Claude Code only.
Real Workflow: Build a Dentist Lead List for Denver
Ask in plain language — the README's own example is "Scrape gyms in Miami and give me phones, emails and websites." The agent checks the engine is up and starts it if not, runs scripts/scrape.py in the background, and hands you a clean table of the eight lead fields plus the CSV.
The four slash commands map to the whole lifecycle:
| Slash command (Claude Code) | Action |
|---|---|
/scrape <business> in <city, ST> [depth] | Run one scrape, return a clean table and CSV |
/scrape-batch <keywords-file> [--city "City, ST"] | Run many queries as one job |
/scrape-setup | Start the engine and run a health check |
/scrape-jobs [list | delete <id>] | List or delete jobs |
Google stops at roughly 120 listings per search, so the kit ships the fix: --grid 3 splits the city into nine tiles, runs them one at a time, and dedupes on place_id; --deep-scan goes further and splits any tile that hits the cap into four sub-tiles. Enrichment flags sharpen the list: --tech spots ad pixels and platforms and ranks leads by an intent_score from 0 to 100, --verify-emails checks each domain's MX record, and --exclude earlier.csv makes a weekly re-run return only new leads. The measured table backs this up: a 3×3 grid of Manhattan restaurants returned 471 unique places in 5 minutes 21 seconds, and a Phoenix roofing query with --tech --verify-emails --min-rating 4.0 --has-phone surfaced ad pixels on 11 of 59 sites.
Tips
- Each
--depthstep loads about 20 more places:--depth 2is about 40,--depth 5up to about 100. - No coordinates handy? Let the CLI geocode:
--city "Denver, CO", and repeat--cityto run several cities into one file. - The responsible-use section says run one job at a time and start at depth 5; proxies (
--proxy, repeatable, http/https/socks5) are for large or repeated runs. Chrome cannot log in to a SOCKS5 proxy, so authenticated SOCKS5 is refused. --reviews Npulls up to five reviews per place; review counts only appear because the headless Chrome replacesHeadlessChromewithChromein its user agent — Google otherwise serves its limited view.- A web UI at
http://localhost:8080gives beginners a form with pick-list constrained What/Where boxes; the scripts find more emails than the UI's homepage-only option.
When Not to Use This
The README states it plainly: scraping Google Maps is against Google's Terms of Service, and phones and emails are personal data — it points to GDPR, CCPA, CAN-SPAM, and Brazil's LGPD, and the output is "leads to verify, not a dataset to resell." The skill scrapes Google Maps business listings only; it does not scrape social platforms directly. Rate limits are real: heavy use without proxies can temporarily rate-limit your IP, though your Google account is not affected. And emails only appear when a business publishes one — service-area businesses often have no address at all.
See the leaderboard for more skills.