mcpbeat Sign in

Google Maps API Skill

This skill helps users automatically scrape business data from Google Maps using the BrowserAct Google Maps API. Agent should proactively trigger this skill for needs like finding restaurants in a specific city, extracting contact info of dental clinics, researching local competitors, collecting addresses of coffee shops, generating lead lists for specific industries, monitoring business ratings and reviews, getting opening hours of local services, finding specialized stores (e.g., Turkish-style restaurants), analyzing business categories in a region, extracting website links from local businesses, gathering phone numbers for sales outreach, mapping out service providers in a specific country.

2k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
5133
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/browser-act/skills --skill google-maps-api-skill

What comes with it

4 173 bytes besides the instruction
scripts/google_maps_api.py

The instruction itself

10 sections, as written by the author

Google Maps Automation Scraper Skill

📖 Introduction

This skill leverages BrowserAct's Google Maps API template to provide a one-stop business data collection service. It extracts structured details directly from Google Maps, including business names, categories, contact info, ratings, and more. Simply provide the search keywords and location bias to get clean, actionable data.

✨ Features

  • No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  • No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  • No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  • Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  • Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

🔑 API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it.

Agent must inform the user:

> "Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

🛠️ Input Parameters

Configure the following parameters based on user requirements:

  • keywords (Search Keywords)
  • Type: string
  • Description: The query you would search for on Google Maps.
  • Example: coffee shop, dental clinic, Turkish-style restaurant
  • language (UI Language)
  • Type: string
  • Description: Defines the UI language and returned text language (e.g., en, zh-CN).
  • Default: en
  • country (Country Bias)
  • Type: string
  • Description: Specifies the country or region bias (e.g., us, gb, ca).
  • Default: us

🚀 Usage

Execute the following script to get results in one command:

# Example call
python -u ./scripts/google_maps_api.py "keywords" "language" "country"

⏳ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running).

Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

📊 Data Output

Upon success, the script parses and prints the following fields from the API:

  • Title Name: Official business name
  • Category_primary: Main business category
  • Address: Full street address
  • Phone number: Contact phone number
  • Website link: Official URL
  • Rating: Average star rating
  • reviews_count: Total number of reviews
  • business_status: Operational status (e.g., operational)

⚠️ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  • Check Output Content:
  • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
  • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  • Retry Limit:
  • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  • Lead Generation: Find "SaaS companies" in "us" for sales outreach.
  • Competitor Research: Extract data on "coffee shops" in a specific neighborhood.
  • Market Analysis: Identify the density of "dental clinics" in a region.
  • Contact Info Retrieval: Get phone numbers and websites for "real estate agencies".
  • Local Service Discovery: Find "Turkish-style restaurants" with high ratings.
  • Business Status Monitoring: Check if specific stores are "operational".
  • Directory Building: Gather addresses and categories for a local business directory.
  • Rating Benchmarking: Compare ratings of various "luxury hotels".
  • Global Scouting: Research "tech startups" in different countries like "gb" or "au".

10. Automated Data Sync: Periodically pull local business data into a CRM.

Other skills for the same job

different authors, same section of the catalogue
Apify Ultimate Scraper
by apify
vendor ×1

Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, LinkedIn, X/Twitter, Google Maps, Google Search, Google Trends, Reddit, Airbnb, Yelp, and 15+ more platforms. Use for lead generation, brand monitoring, competitor analysis, influencer discovery, trend research, content analytics, audience analysis, review analysis, SEO intelligence, recruitment, or any data extraction task.

20k tokens
Sitemap Audit
by nowork-studio

> XML sitemap audit — find and fix the sitemap problems that quietly waste crawl budget and slow indexing. Discovers the sitemap (robots.txt, /sitemap.xml, sitemap index), validates structure and size limits, and cross-checks the URLs URLs that shouldn't be in a sitemap, plus indexable pages that are missing from it. Reviews lastmod accuracy, sitemap-index organization, and robots.txt reference. Use this skill whenever the user asks about sitemaps, sitemap errors in Search Console, "sitemap couldn't fetch / has errors", crawl budget, pages "sitemap.xml", "XML sitemap", "sitemap errors", "sitemap audit", "couldn't fetch sitemap", "crawl budget", "pages not indexed sitemap", "sitemap index", "lastmod", "robots.txt sitemap", or any sitemap/crawl-coverage question. For a full-site SEO audit use /seo-analysis; for broken links use /broken-link-checker.

1k tokens
Pricing Tracker
by firecrawl
vendor

| Extract and normalize pricing tiers from any SaaS, API, cloud, or LLM vendor's pricing page. Use this skill whenever the user says "pricing for X", "how much does X cost", "pricing tiers", "cost comparison", provides a URL ending in `/pricing` or `/plans`, or asks to monitor pricing over time. Pairs well with `exportSkill` to turn a run into a cron-friendly workflow. Scrape-driven; no interact needed for typical pricing pages.

1k tokens
Blog Feed Monitor
by gooseworks-ai

> Scrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites. Use when you need to monitor competitor blogs, track industry content, or aggregate blog posts by keyword.

4k tokens scripts
Competitor Content Tracker
by gooseworks-ai

> Monitor competitor content across blogs, LinkedIn, and Twitter/X on a recurring basis. Surfaces new posts, trending topics, and content gaps you can own. Chains blog-feed-monitor, linkedin-profile-post-scraper, and twitter-mention-tracker. Use when you want a weekly digest of what competitors are publishing and which topics are generating engagement.

2k tokens
Competitor Post Engagers
by gooseworks-ai

> Find leads by scraping engagers from a competitor's top LinkedIn posts. Given one or more company page URLs, scrapes recent posts, ranks by engagement, selects the top N, extracts all reactors and commenters, ICP-classifies, and exports CSV. Use when someone wants to "find leads engaging with competitor content" or "scrape people who interact with [company]'s LinkedIn posts".

11k tokens scripts
Kol Content Monitor
by gooseworks-ai

> Track what key opinion leaders (KOLs) in your space are posting on LinkedIn and Twitter/X. Surfaces trending narratives, high-engagement topics, and early signals of emerging conversations before they peak. Chains linkedin-profile-post-scraper and twitter-mention-tracker. Use when a marketing team wants to ride trends rather than create them from scratch, or when a founder wants to know which topics are resonating with their audience.

2k tokens
Meta Ad Scraper
by gooseworks-ai

Scrape competitor ads from Meta's Ad Library (Facebook, Instagram, Messenger, Threads, WhatsApp). Search by company name, Facebook Page URL, or keyword. Returns ad creatives, spend estimates, reach, impressions, and campaign details. Use for competitive ad research, messaging analysis, and creative inspiration.

3k tokens scripts

How to use it

Copy the folder

Take browser-act/google-maps-api-skill from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.