Extract Business Leads with google-maps-scraper
An open-source tool for extracting business data from Google Maps via CLI, Web UI, or AI agents like Claude Code.
The is a free open-source tool that extracts business leads, emails, phone numbers, and ratings from Google Maps. It provides multiple interfaces for data collection, including a command-line interface, a Web UI, and a REST API, making it suitable for lead generation and sales prospecting.
Integrating with AI Coding Agents
The tool can be used as a skill for AI agents such as Claude Code, Cursor, GitHub Copilot, or Codex. Users can describe the desired leads in plain language, and the agent handles search planning, validation, and monitoring of the local scrape.
To install the skill for an agent, use the following command:
npx skills add gosom/google-maps-scraperThe agent workflow requires Node.js and Docker on Linux, macOS, or Windows via WSL. For large-scale crawls, users can provide proxy credentials through a masked local terminal prompt to avoid pasting sensitive data into the agent chat.
Data Extraction and Performance
The scraper extracts over 33 data points per place, including the business name, address, website URL, latitude, longitude, and the number of reviews. It can also extract email addresses directly from the business websites using the -email flag.
The system achieves a performance of approximately 120 places per minute through optimized concurrency. Users can adjust the number of parallel scrape jobs using the -c flag, with options for 4, 8, or 16 concurrent jobs depending on hardware capabilities.
Deployment and Interface Options
For users preferring a browser-based experience, the Web UI can be launched via Docker:
mkdir -p gmapsdata
docker run \
-v "$PWD/gmapsdata:/gmapsdata" \
-p 8080:8080 \
gosom/google-maps-scraper \
-data-folder /gmapsdataDevelopers can automate scraping through a REST API with endpoints for creating, listing, and deleting jobs, or downloading results as CSV. For multi-user environments, a self-hosted SaaS edition is available with a job queue and admin UI. This level of automation is similar to how Google's ARTEMIS tool handles Android automation.
Output Formats and Scaling
Extracted data can be saved as CSV or JSON files. For production environments, the tool supports PostgreSQL and S3 as database providers and can be deployed on Kubernetes clusters.
To prevent request limit blocks during large tasks, the tool includes built-in SOCKS5, HTTP, and HTTPS proxy rotation. Proxies can be passed via the -proxies flag or loaded from a separate credentials file using -proxies-file.
Sources
Related news
- ClaudeOpenCode Update: Claude Integration & DeepSeek V4.1 Flash Limits IncreasedOpenCode now supports Claude with your subscription and boosts DeepSeek V4.1 Flash to $100/month on the $10 Go plan. New GUI, Git panel, and built-in image generator added.·by shared tag
- AnthropicClaude integrates with Google Docs, Sheets, and SlidesAnthropic launches a public beta for Google Workspace, allowing Claude to read and edit files directly in a sidebar or create new documents from the chat interface.·by shared tag
- AnthropicAnthropic rewrites Claude streaming output for web and desktopInterface now updates only changed text segments, cutting CPU load and eliminating UI freezes during long responses.·by shared tag
ClaudeClaude Cowork adds custom skill recording from screen captureAnthropic's desktop app now lets users teach Claude new skills by recording and narrating a task, which the model then converts into an autonomous reusable skill.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.