Skip to content
    • MCP directoryEvery server, linked to the publisher.
    • GitHub registryCurated MCP servers and skills on GitHub.
    • Agent skillsSKILL.md packs for Claude and Codex.
    • CategoriesBrowse by what the server does.
    • NewServers added in the last day.
    • TrendingClimbing on GitHub this week.
    • LeaderboardsMost starred and most installed.
    • ToolsSearch by the tool name an agent calls.
    • Config checkerFree browser tool to validate MCP install JSON.
    • MCP AppsServers that render UI in the chat.
    PlugMCP directorySubmit a server
    • HostYour own endpoint with keys and logs.
    • VoiceServers tuned for phone agents.
    • BrowserTools from the tab you have open.
    • DocsConnect, publish, and install.
    • Learn MCPPlain guides to MCP, MCP Apps and building a server.
    • StatusGateway and directory health.
    PlugMCP productSee pricing
    • BlogInstall guides and notes.
    • What is MCPThe protocol in plain words.
    • What is WebMCPTools that live in a web page.
    • Best for CursorServers that work well in Cursor.
    • Best for ClaudeServers that work well in Claude.
    • Compare directoriesPlugMCP next to the others.
    • ClubPeople building with MCP.
    • Work with usWe build servers for teams.
    • AboutWho runs PlugMCP.
  • Pricing
Sign inSign up

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

Product

  • Browse
  • Install
  • Host your own
  • MCP for MCPs
  • Pricing
  • Voice mode
  • Browser

Directory

  • MCP directory
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server

Developers

  • Docs
  • Blog
  • GitHub registry
  • Club
  • Work with us
  • Learn MCP
  • What is MCP
  • What is WebMCP
  • Status

Company

  • About
  • Contact
  • Support
  • Terms
  • Privacy
  • Refunds
  • DPA
StatusPrivacyTermsRefunds© 2026 PlugMCP
Skip to content
    • MCP directoryEvery server, linked to the publisher.
    • GitHub registryCurated MCP servers and skills on GitHub.
    • Agent skillsSKILL.md packs for Claude and Codex.
    • CategoriesBrowse by what the server does.
    • NewServers added in the last day.
    • TrendingClimbing on GitHub this week.
    • LeaderboardsMost starred and most installed.
    • ToolsSearch by the tool name an agent calls.
    • Config checkerFree browser tool to validate MCP install JSON.
    • MCP AppsServers that render UI in the chat.
    PlugMCP directorySubmit a server
    • HostYour own endpoint with keys and logs.
    • VoiceServers tuned for phone agents.
    • BrowserTools from the tab you have open.
    • DocsConnect, publish, and install.
    • Learn MCPPlain guides to MCP, MCP Apps and building a server.
    • StatusGateway and directory health.
    PlugMCP productSee pricing
    • BlogInstall guides and notes.
    • What is MCPThe protocol in plain words.
    • What is WebMCPTools that live in a web page.
    • Best for CursorServers that work well in Cursor.
    • Best for ClaudeServers that work well in Claude.
    • Compare directoriesPlugMCP next to the others.
    • ClubPeople building with MCP.
    • Work with usWe build servers for teams.
    • AboutWho runs PlugMCP.
  • Pricing
Sign inSign up

Power your agent

Add this server

The publisher's own URL. Not a PlugMCP endpoint.

Add to CursorAdd in ClaudeAdd to VS CodeRun on PlugMCP

Host a copy with our keys and logs.

Server URL
https://learn.chatgpt.com/docs/extend/mcp?surface=cli

The Claude button above opens Claude with the name and URL filled in. You still confirm it there.

shClaude Code
1claude mcp add --transport http gosom-google-maps-scraper https://learn.chatgpt.com/docs/extend/mcp?surface=cli

Run in a terminal.

jsonClaude Desktop
1{2  "mcpServers": {3    "gosom-google-maps-scraper": {4      "command": "npx",5      "args": [6        "-y",7        "mcp-remote",8        "https://learn.chatgpt.com/docs/extend/mcp?surface=cli"9      ]10    }11  }12}

claude_desktop_config.json

Remote · HTTPPublisher installStep-by-step: add this in Claude

Check the JSON shape in your browser with the MCP configuration checker. Prefills only this listing's public metadata — it does not test the connection.

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host this URL on PlugMCP

Keep the publisher's tools behind your own key, logs, and install URL.

Launch

Server facts

Remote
Transport
http
License
MIT
Last checked

From the publisher

Documentation

Key features

  1. 01. Open-source Google Maps scraper for business listings
  2. 02. Export phone numbers, websites, ratings, and reviews to CSV or JSONL
  3. 03. Run it locally with the CLI, web UI, or REST API, or connect your AI agent through the built-in MCP server

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

Product

  • Browse
  • Install
  • Host your own
  • MCP for MCPs
  • Pricing
  • Voice mode
  • Browser

Directory

  • MCP directory
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server

Developers

  • Docs
  • Blog
  • GitHub registry
  • Club
  • Work with us
  • Learn MCP
  • What is MCP
  • What is WebMCP
  • Status

Company

  • About
  • Contact
  • Support
  • Terms
  • Privacy
  • Refunds
  • DPA
StatusPrivacyTermsRefunds© 2026 PlugMCP
2026-11-29
Stars
8.5k
Tools
—
Uptime
—
  • 04. # Google Maps Scraper
  • 05. <p align="center">
  • Google Maps Scraper

    GoDoc Turn Google Maps searches into business data you can use.

    Get names, phone numbers, websites, ratings, hours, and locations in CSV or JSON. Add website email extraction and reviews when you need more detail.

    Run locally with the CLI, Web UI, REST API, or directly from an AI agent. Free and open source under the MIT license. No Google Maps API key required.

    Agent-ready with a local MCP server and an agent skill. Ask Codex or Claude Code to find businesses by city, show a few listed contacts in chat, and save the full list as a CSV. The client starts the scraper itself, so you can leave the Web UI closed. Set up MCP · Get the skill

    Featured Sponsor

    Quick Start

    Use an AI Agent

    In Codex or Claude Code, connect Google Maps Scraper once with the setup prompt. Then paste this into chat.

    Find up to 10 cafés within 2 km of central Athens, Greece. Show me three with their addresses and ratings, and give me the full CSV.
    

    The agent shows up to three cafés in chat and links a local CSV with every result from the search. You can use MCP on its own. The optional agent skill also supports CLI and Docker. More prompts to copy · Install the skill

    Command Line

    With Docker installed, paste these commands into a terminal on macOS, Linux, or Windows with WSL. Change cafes in Athens, Greece to your own search.

    mkdir -p gmaps-output
    printf '%s\n' 'cafes in Athens, Greece' > gmaps-queries.txt
    
    docker run --rm \
      -v gmaps-playwright-cache:/opt \
      -v "$PWD/gmaps-queries.txt:/queries.txt:ro" \
      -v "$PWD/gmaps-output:/out" \
      gosom/google-maps-scraper \
      -input /queries.txt \
      -results /out/results.csv \
      -depth 1 \
      -exit-on-inactivity 3m
    

    Open gmaps-output/results.csv in your spreadsheet app. The first run downloads the image and browser files. The command exits after three minutes without activity.

    Add -email to collect emails from business websites. For JSON Lines output (one business per line), replace -results /out/results.csv with -json -results /out/results.jsonl. The file will be saved as gmaps-output/results.jsonl.

    Email extraction checks the listed website page first. If it finds no usable email, it follows up to three same-site contact/about links from that page, prioritizing contact pages and stopping at the first page with usable emails. Each email page has a 10-second fetch timeout and a 2 MiB response limit. Failed pages do not discard the business result.

    Email pages use HTTP fetching without executing website scripts or loading subresources. Requests are restricted to public IP addresses, and contact-page redirects must stay on the same site. Configured HTTP/HTTPS and SOCKS5 proxies are supported; HTTP/HTTPS proxies must allow CONNECT tunnels to website ports (usually 80 and 443). Sites that require JavaScript to expose their email may return no email.

    No Docker? Download a release binary and follow the binary instructions. No Go installation is needed.

    Web UI

    With Docker installed:

    mkdir -p gmapsdata
    
    docker run --rm \
      -v gmaps-playwright-cache:/opt \
      -v "$PWD/gmapsdata:/gmapsdata" \
      -p 8080:8080 \
      gosom/google-maps-scraper \
      -data-folder /gmapsdata
    

    Open http://localhost:8080, create a job, and download its results. Your jobs are saved in gmapsdata.

    Use with an MCP Client

    The server runs locally over stdio. City names resolve locally and the default search covers a grid around the city center. Results stay on your machine as CSV and JSONL. The agent can show three rows, share the whole file, or reconnect to a running job.

    Install with one prompt

    Paste this into Codex or Claude Code. If you are trying an unreleased branch, open the client in that checkout first. For manual setup, use the Codex CLI or Claude Code commands below.

    Set up Google Maps Scraper for this client. Use the current checkout if available,
    or clone https://github.com/gosom/google-maps-scraper.
    Follow the manual setup steps in the README and install the skill from the same checkout.
    Verify the connection. If I need a new session, tell me how to open it.
    Give me the Athens café prompt to paste when setup is complete.
    

    1. Get an MCP-enabled binary

    On macOS, Linux, or WSL, build from a checkout that contains this MCP section. Run these commands from the repository root with Go installed.

    gmaps_bin="$HOME/.local/bin/google-maps-scraper-mcp"
    mkdir -p "$(dirname "$gmaps_bin")"
    go build -o "$gmaps_bin" .
    "$gmaps_bin" -mcp -help
    

    If you already have a release binary, set gmaps_bin to its absolute path and run the same help check. A compatible binary prints Usage of -mcp: and lists -data-folder. If your release predates MCP, build from the checkout.

    For detailed mode, install the browser runtime once. Fast mode and website email lookup work without this step.

    PLAYWRIGHT_INSTALL_ONLY=1 "$gmaps_bin"
    

    2. Register the server

    Run the block for your client in the same terminal. Both clients launch the binary over stdio.

    Codex CLI
    codex mcp add google-maps-scraper -- "$gmaps_bin" -mcp
    codex mcp list
    codex
    
    Claude Code
    claude mcp add --transport stdio --scope user google-maps-scraper -- "$gmaps_bin" -mcp
    claude mcp list
    claude
    

    Claude Code's user scope makes the server available across your local projects. Codex MCP documentation · Claude Code MCP documentation

    3. Verify with a search

    In the new session, enter /mcp and look for google-maps-scraper. Then paste this into chat.

    Find up to 10 cafés within 2 km of central Athens, Greece. Show me three with their addresses and ratings, and give me the full CSV.
    

    Look for a start_scrape call. The agent should report how many cafés it found and link the finished CSV. A search can return fewer than 10. If the job stops early, the agent should tell you and label any saved results as partial.

    More prompts to copy

    See more of the same results

    Show me the next three cafés from that Athens search, with their addresses and ratings.
    

    Get the file in a new chat

    Find my most recent café search in Athens, Greece, and give me its CSV when it’s finished.
    

    Start a search with website emails

    Find up to 10 cafés in Athens, Greece. Check their websites for public email addresses and give me the CSV.
    

    Start a search in the background

    Start a background search for up to 30 cafés in Athens, Greece. Give me the job ID so I can check back later.
    

    Stop the running search

    Stop my running Athens café search and give me the results collected so far.
    

    The default search uses fast mode, including for email lookups. Ask for review text to open individual listings in detailed mode.

    Other stdio clients

    For clients that accept an mcpServers JSON object, use the absolute path to the same binary.

    {
      "mcpServers": {
        "google-maps-scraper": {
          "command": "/path/to/google-maps-scraper",
          "args": ["-mcp"]
        }
      }
    }
    

    Coverage and results

    The city grid covers an approximate area and spreads the result limit across its cells. Ask for a nearby search or specify a radius for a centered search. Provide bounds to grid a specific area. The bundled city index uses GeoNames data under CC BY 4.0 and includes supplemental Cyprus locality names. GeoNames · License · Cyprus locality names · Latsia coordinates

    What the user wantsHow the MCP client can get it
    A few businesses in chatCall start_scrape with response: "preview". It waits up to 20 seconds and returns up to three rows, the job status, and available export paths. Use fields to select columns.
    Only the fileUse response: "export". Counts and paths fit in one response when the job finishes within 20 seconds.
    Results as they arriveUse response: "live" for the first rows. Pass next_offset as offset to get_scrape_results with wait_for: "rows" for the next page.
    A background jobOmit response to get the job ID immediately. You can close the client, reconnect, and find the job with list_scrapes.

    When the user asks for the finished file, pass the same job_id to get_scrape_results while the status is queued or running. Each call waits up to 20 seconds by default. Report result_count and link csv_path when the job completes. For a failed, interrupted, or cancelled job, label any available file as partial. Use view: "export" for paths only, view: "full" for full records within the page size limit, or wait_for: "none" for an immediate snapshot.

    To change where jobs and exports are saved, add "-data-folder", "/path/to/jobs" to the client's arguments.

    Choose a Mode

    The table describes CLI modes. The MCP server selects fast mode by default and can add a separate website email lookup to a fast search.

    What you needUseHow it works
    Business details, with optional reviews and emailsDefault modeOpens individual Google Maps listings. Add -email to visit business websites or -extra-reviews for more reviews.
    Business lists without opening a browserFast modeFetches search results over HTTP. Requires -geo; -depth controls result batches.

    Both modes extract names, categories, addresses, phone numbers, websites, hours, ratings, review totals, coordinates, place IDs, listing links, and CIDs when available.

    Fast mode includes descriptions, amenities, and booking or ordering links when available. It includes ratings and review totals, but not individual reviews, star-by-star breakdowns, owner details, or emails. See Fast Mode for an example.

    Available fields and results depend on what Google returns. A search is not a complete directory of every business in an area.

    Google Maps Scraper demo

    Sponsored By

    These sponsors help support development and maintenance of Google Maps Scraper.

    View all sponsors and offers · Become a sponsor

    Documentation

    Open a topic below, or use the recipes for common workflows.

    Download a Binary

    1. Open the latest release and expand Assets.
    2. Download the file for your computer from the table below. Choose the executable, not “Source code”.
    3. Put it in a folder for your scraping work. Rename it to google-maps-scraper on macOS/Linux or google-maps-scraper.exe on Windows.
    Your computerFilename ends with
    macOS — Apple Silicon (M1 or newer)darwin-arm64
    macOS — Inteldarwin-amd64
    Linux — Intel/AMD 64-bitlinux-amd64
    Linux — ARM64linux-arm64
    Windows — Intel/AMD 64-bitwindows-amd64.exe

    Open a terminal in that folder. The commands below install the browser runtime and run a small search.

    macOS / Linux:

    chmod +x google-maps-scraper
    PLAYWRIGHT_INSTALL_ONLY=1 ./google-maps-scraper
    printf '%s\n' 'cafes in Athens, Greece' > queries.txt
    ./google-maps-scraper -input queries.txt -results results.csv -depth 1 -exit-on-inactivity 3m
    

    Windows PowerShell:

    $env:PLAYWRIGHT_INSTALL_ONLY = "1"
    .\google-maps-scraper.exe
    Remove-Item Env:PLAYWRIGHT_INSTALL_ONLY
    'cafes in Athens, Greece' | Set-Content -Encoding ascii queries.txt
    .\google-maps-scraper.exe -input queries.txt -results results.csv -depth 1 -exit-on-inactivity 3m
    

    Open results.csv in your spreadsheet app. To use the Web UI instead, run the executable without arguments and open http://localhost:8080.

    Linux may need additional browser system libraries. The AI agent helpers require WSL on Windows; the commands above run the standalone Windows binary.

    Automatic Binary Installation (macOS/Linux)

    Prefer to let the installer choose the right binary and verify its checksum?

    Run these commands in a terminal. You need Bash and curl, plus sha256sum or shasum.

    setup_dir=$(mktemp -d)
    curl -fsSL https://raw.githubusercontent.com/gosom/google-maps-scraper/main/install.sh -o "$setup_dir/install.sh"
    bash "$setup_dir/install.sh"
    

    The installer downloads a compatible release, checks its SHA-256 checksum, and installs the browser runtime. It prints the executable path. Use that path in place of ./google-maps-scraper in the examples below.

    To choose a version or install folder, add --version vX.Y.Z or --install-dir DIR to the last command. Releases without matching binaries and checksums are not supported. Linux may need additional browser system libraries. See the installation guide for details.

    Using Docker

    The published Docker image uses Playwright:

    docker pull gosom/google-maps-scraper
    

    Build from Source

    Requirements: Go 1.27.4+

    git clone https://github.com/gosom/google-maps-scraper.git
    cd google-maps-scraper
    go mod download
    
    go build
    ./google-maps-scraper -input example-queries.txt -results results.csv -exit-on-inactivity 3m
    

    First run downloads required browser libraries for Playwright.

    When running the web server, a full REST API is available:

    EndpointMethodDescription
    /api/v1/jobsPOSTCreate a new scraping job
    /api/v1/jobsGETList all jobs
    /api/v1/jobs/{id}GETGet job details
    /api/v1/jobs/{id}DELETEDelete a job
    /api/v1/jobs/{id}/downloadGETDownload results as CSV

    Full OpenAPI 3.0.3 documentation available at http://localhost:8080/api/docs

    Need a multi-user platform with API keys, admin UI, job queue, workers, and cloud provisioning? Use the optional self-hosted SaaS edition:

    curl -fsSL https://raw.githubusercontent.com/gosom/google-maps-scraper/main/PROVISION | sh
    

    See SaaS documentation for deployment and operations details. There is also a 5-minute deployment walkthrough and a YouTube video walkthrough.

    More examples are available in Recipes. If you need proxies for larger jobs, see Proxy Sponsors.

    The AI Agent Skill turns a natural-language lead request into a guided local scraping workflow. It is designed for nontechnical users as well as developers and keeps you in control of the search scope, proxy choice, and output.

    If you have not installed it yet:

    npx skills add gosom/google-maps-scraper
    

    Paste this into chat.

    Find up to 10 cafés in Athens, Greece. Check their websites for public email addresses and give me the CSV.
    

    With MCP connected, the agent runs the search directly. For a native CLI or Docker run, the skill walks through these steps.

    1. Check setup and the latest skill; check the image when using Docker.
    2. Infer sensible search defaults and ask only for missing essentials.
    3. Let you use your own proxy, continue without one, or review one randomly selected proxy sponsor.
    4. Collect proxy credentials through a masked local terminal prompt instead of chat.
    5. Run a small validation scrape before the full job.
    6. Start and monitor the native or Docker crawl in the background.
    7. Present the results with options to save, filter, analyze, or export.

    Proxy sponsor recommendations are clearly disclosed. One provider is selected per request: Webshare has a 50% chance, and the other active sponsors share the remaining 50% equally. If Webshare is inactive, active sponsors have equal chances; a sole active sponsor is always selected. Any discount or offer is displayed only when it is configured in the skill's active sponsor registry. You can always use another provider or no proxy.

    The agent helpers require Node.js 20+ and either a native binary or Docker on macOS/Linux, or Windows through WSL. The standalone native installer does not require Node.js. See the skill definition for details.

    The table lists CSV column names. Fields may be empty when Google does not provide the data or the selected mode does not collect it.

    With -json, output is JSON Lines: one business object per line, not a JSON array. JSON uses web_site instead of website and description instead of descriptions. It also includes categories and keeps the legacy longtitude key alongside longitude. Lists and objects remain structured JSON values; CSV stores them as text.

    #CSV columnDescription
    1input_idInternal identifier for the input query
    2linkDirect URL to the Google Maps listing
    3titleBusiness name
    4categoryBusiness type (e.g., Restaurant, Hotel)
    5addressStreet address
    6open_hoursOperating hours
    7popular_timesVisitor traffic patterns
    8websiteOfficial business website
    9phoneContact phone number
    10plus_codeLocation shortcode
    11review_countTotal number of reviews
    12review_ratingAverage star rating
    13reviews_per_ratingBreakdown by star rating
    14latitudeGPS latitude
    15longitudeGPS longitude
    16cidGoogle Maps CID identifier
    17statusBusiness status (open/closed/temporary)
    18descriptionsBusiness description
    19reviews_linkDirect link to reviews
    20thumbnailThumbnail image URL
    21timezoneBusiness timezone
    22price_rangePrice level ($, $$, $$$)

    With -extra-reviews, the scraper observes the anonymous browser's own review responses and uses visible review cards as a fallback. It does not sign in. Google may expose only a small sample; increasing scroll depth or retrying cannot guarantee the full reported review count.

    review_collection.status is complete when the collected count reaches the reported total, limited when Google explicitly serves a limited view, and partial for other stopping conditions. The object includes method (browser, dom, or none), collected, expected, and a reason when incomplete. The JSON field is omitted unless extra reviews were requested; the CSV column is appended after emails.

    Resuming an older CSV preserves its existing columns. Start a new output file to include review_collection if the older file does not have that column.

    Use one search query per line, such as cafes in Athens, Greece.

    Custom Input IDs: Add your own ID after #!#:

    Matsuhisa Athens #!#MyCustomID
    

    Direct Google Maps URLs: Input lines can be regular search queries or direct Google Maps URLs. Supported URL formats include:

    https://www.google.com/maps/search/pizza
    https://www.google.com/maps/place/Empire+State+Building/@40.7484405,-73.9856632
    https://maps.google.com/maps?z=16&q=Empire+State+Building
    maps.app.goo.gl/abc123
    

    URLs on google.com subdomains must include a scheme (http:// or https://) and a /maps path. Short maps.app.goo.gl links are also supported without a scheme.

    Usage: google-maps-scraper [options]
    
    Core Options:
      -input string       Path to input file with queries (one per line)
      -results string     Output file path (default: stdout)
      -json              Output JSON Lines (one business per line) instead of CSV
      -resume            Resume a CLI file scrape by appending missing places
      -depth int         Max scrolls or fast-mode batches (default: 10)
      -c int             Concurrency level (default: half of CPU cores)
    
    Email & Reviews:
      -email             Extract emails from business websites
      -extra-reviews     Collect anonymously available extra reviews and report status
    
    Location Settings:
      -lang string       Language code, e.g., 'de' for German (default: "en")
      -geo string        Coordinates for search, e.g., '37.7749,-122.4194'
      -zoom int          Zoom level 0-21; fast mode requires 1-21 (default: 15)
      -radius float      Keep results within this distance in meters; fast mode only (default: 10000)
      -grid-bbox string  Bounding box for grid scraping, format: "minLat,minLon,maxLat,maxLon"
      -grid-cell float   Grid cell size in km (default: 1.0, used with -grid-bbox)
      -grid-strict       Keep only places whose coordinates are inside -grid-bbox
    
    Web Server:
      -web               Run web server mode
      -addr string       Server address (default: ":8080")
      -data-folder       Data folder for web runner (default: "webdata")
    
    Database:
      -dsn string        PostgreSQL connection string
      -produce           Produce seed jobs only (requires -dsn)
    
    Proxy:
      -proxies string    Comma-separated proxy list
                         Format: protocol://user:pass@host:port
      -proxies-file      Path to a file containing one proxy URL per line
    
    Advanced:
      -exit-on-inactivity duration    Exit after inactivity (e.g., '5m')
      -fast-mode                      Fetch search results without opening a browser
      -debug                          Show browser window
      -writer string                  Custom writer plugin (format: 'dir:pluginName')
      -browser-pool-size int          Number of browser processes to launch (default: 0, derived from -c and -pages-per-browser)
      -pages-per-browser int          Max concurrent pages per browser process (default: 1)
    
    Notes:
      -grid-bbox requires a valid zoom level (1-21)
      -fast-mode cannot be used together with -grid-bbox
    

    Run ./google-maps-scraper -h for the complete list.

    Use -resume to continue a CLI file scrape after a crash or manual stop:

    ./google-maps-scraper \
      -resume \
      -input queries.txt \
      -results results.csv \
      -depth 10
    

    Resume mode reads the existing CSV or JSONL results file, appends new results, and skips places that were already written. It also writes completed input queries to <results>.resume.json; future resume runs use that sidecar file to skip fully completed queries.

    -resume is only supported with regular file output. It requires -results to be a file path and does not support stdout, -writer, or -fast-mode. Resume runs should use the same input and scrape options as the original run.

    For larger scraping jobs, proxies help avoid rate limiting. Here's how to configure them:

    ./google-maps-scraper \
      -input queries.txt \
      -results results.csv \
      -proxies 'socks5://user:pass@host:port,http://host2:port2' \
      -depth 1 -c 2
    

    Supported protocols: socks5, socks5h, http, https

    Current proxy sponsors are listed in Proxy Sponsors. Using those links helps fund project maintenance.

    Email extraction is disabled by default. When enabled, the scraper visits each business website to find email addresses.

    ./google-maps-scraper -input queries.txt -results results.csv -email
    

    Note: Email extraction increases processing time significantly.

    Fast mode gets business data without opening a browser. After installing the native binary, run this example to search for cafés within 2 km of central Athens. Installation

    printf '%s\n' 'cafes in Athens, Greece' > queries.txt
    
    ./google-maps-scraper \
      -input queries.txt \
      -results results.csv \
      -fast-mode \
      -depth 3 \
      -zoom 15 \
      -radius 2000 \
      -geo '37.98376,23.72784'
    
    • -geo sets the search center as latitude,longitude. It is required.
    • -radius keeps results within the given distance in meters. It applies only to fast mode.
    • -depth 3 requests up to three batches of about 20 results each. The default is 10 batches. Google may return fewer results.
    • -zoom must be between 1 and 21. The default is 15.

    Fast mode includes ratings and review totals, but not individual reviews, star-by-star breakdowns, owner details, or emails. It does not visit business websites.

    When available, it also includes descriptions, amenities, booking and ordering links, and opening-status text. A status such as “Closed · Opens 9 AM” describes opening hours; it does not mean the business has closed permanently.

    Repeated businesses are removed within each query. Pagination stops when a batch is short, empty, or contains no new businesses. Each batch is sorted by distance; the full output is not globally sorted by distance.

    Grid mode splits a bounding box into cells and runs one search per cell. This is useful when a single search does not return enough places.

    queries.txt example:

    cafes in Peristeri, Greece
    

    Command example:

    ./google-maps-scraper \
      -input queries.txt \
      -results peristeri-cafes.csv \
      -grid-bbox "38.0077,23.6719,38.0257,23.6947" \
      -grid-cell 0.5 \
      -zoom 16 \
      -depth 1 \
      -c 4
    

    Notes:

    • -grid-bbox guides where searches are launched from, but results are not strictly clipped to the box.
    • Add -grid-strict to keep only places whose coordinates fall inside the box, including its edges. This applies to all output formats. Places outside the box are still fetched before filtering.
    • When resuming, keep the same bounding box and strict-mode setting; use a fresh results file if you change either.
    • For strict distance filtering, use -fast-mode with -geo + -radius (or post-filter by latitude/longitude).

    With the default -pages-per-browser 1, each concurrent job (-c) effectively uses its own browser process with a single page tab. This can be inefficient because browser pages can be CPU- and memory-heavy, and each browser process adds overhead.

    The -pages-per-browser flag lets you run multiple page tabs inside the same browser process, reducing overhead. Leave -browser-pool-size at 0 to derive the browser count from concurrency and pages per browser, or set it explicitly to cap the number of browser processes independently of concurrency.

    How the flags interact:

    FlagWhat it controls
    -cTotal number of concurrent scrape jobs
    -browser-pool-sizeNumber of browser processes to launch (default: 0, derived from -c and -pages-per-browser)
    -pages-per-browserNumber of page tabs per browser process (default: 1)

    When -pages-per-browser is greater than 1, the scraper opens multiple tabs within each browser process and routes jobs through a shared page pool. This can significantly increase job throughput on the same hardware.

    Example — 8 concurrent jobs across 2 browsers with 4 tabs each:

    ./google-maps-scraper \
      -c 8 \
      -browser-pool-size 2 \
      -pages-per-browser 4 \
      -input queries.txt \
      -results results.csv \
      -depth 1
    

    Tuning guidance:

    • Start with -c 4 -browser-pool-size 1 -pages-per-browser 4 for a 4:1 page-to-browser ratio.
    • Monitor CPU and RAM usage with htop or docker stats; browser resource use varies significantly by workload, Chromium version, and page count.
    • If memory is the bottleneck, keep -browser-pool-size low and reduce -c or -pages-per-browser.
    • If CPU is the bottleneck, reduce the total number of active pages by lowering -c or -pages-per-browser.
    • The product -browser-pool-size × -pages-per-browser should roughly equal or exceed -c to keep all jobs busy.
    • Setting an explicit -browser-pool-size is most useful in containerized environments (Docker, Kubernetes) where you want predictable resource usage.

    PostgreSQL Database Provider

    For distributed scraping across multiple machines:

    1. Start PostgreSQL:

    docker-compose -f docker-compose.dev.yaml up -d
    

    2. Seed the jobs:

    ./google-maps-scraper \
      -dsn "postgres://postgres:postgres@localhost:5432/postgres" \
      -produce \
      -input example-queries.txt \
      -lang en
    

    3. Run scrapers (on multiple machines):

    ./google-maps-scraper \
      -c 2 \
      -depth 1 \
      -dsn "postgres://postgres:postgres@localhost:5432/postgres"
    

    Kubernetes Deployment

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: google-maps-scraper
    spec:
      replicas: 3  # Adjust based on needs
      selector:
        matchLabels:
          app: google-maps-scraper
      template:
        metadata:
          labels:
            app: google-maps-scraper
        spec:
          containers:
          - name: google-maps-scraper
            image: gosom/google-maps-scraper:latest
            args: ["-c", "1", "-depth", "10", "-dsn", "postgres://user:pass@host:5432/db"]
            resources:
              requests:
                memory: "512Mi"
                cpu: "500m"
    

    Note: The headless browser requires significant CPU/memory resources.

    Custom Writer Plugins

    Create custom output handlers using Go plugins:

    1. Write the plugin (see examples/plugins/example_writer.go)

    2. Build:

    go build -buildmode=plugin -tags=plugin -o myplugin.so myplugin.go
    

    3. Run:

    ./google-maps-scraper -writer ~/plugins:MyWriter -input queries.txt
    

    Performance

    Measured on 2026-11-22 with cafes in Rhodes, depth 3, and concurrency 4. Three runs per mode on an Intel Core Ultra 7 155H with 31 GiB RAM, Ubuntu 24.04.5. No proxies, email extraction, or extra review collection.

    ModeMedian timeTime rangeBusinesses per run
    Fast5.2 seconds4.9–6.0 seconds54–55
    Detailed (default)22.6 seconds22.6–24.9 seconds28

    Times include process startup through CSV output and shutdown. Detailed mode also returned review samples, per-star review counts, and owner information. The modes return different businesses and fields; this is not an identical-output comparison.

    Results vary by search, network, and machine. See benchmark commands, conditions, and individual results.

    For larger jobs, increase -c gradually and monitor CPU, memory, and failures. Use the PostgreSQL provider to distribute work across machines.

    Anonymous usage statistics are collected for improvement purposes. Opt out:

    export DISABLE_TELEMETRY=1
    

    Support the Project

    This project is free and open source. Stars, sponsorships, and sponsor referrals help fund maintenance.

    • Star the repository: github.com/gosom/google-maps-scraper
    • Sponsor development: GitHub Sponsors
    • Paid setup and API integration: Book a call with the maintainer
    • Need proxies? See Proxy Sponsors
    • Deploying the self-hosted platform? See SaaS deployment options

    Community

    Get setup help, share your results, and discuss ideas with other users.


    Contributing

    Contributions are welcome! Please:

    1. Open an issue to discuss your idea
    2. Fork the repository
    3. Create a pull request

    See AGENTS.md for development guidelines.


    • How to Extract Data from Google Maps Using Golang
    • Distributed Google Maps Scraping
    • Deploy your own Maps scraping API in 5 minutes (includes video walkthrough)
    • Video walkthrough (YouTube)
    • scrapemate - The underlying web crawling framework
    • omkarcloud/google-maps-scraper - Inspiration for JS data extraction

    License

    This project is licensed under the MIT License.


    Legal Notice

    Please use this scraper responsibly and in accordance with applicable laws and regulations. Unauthorized scraping may violate terms of service.


    Directory score

    33/100
    • Listed10 of 10
    • In the official MCP Registry0 of 18
    • Claimed by its maintainer0 of 8
    • Answers with a tool list0 of 12
    • GitHub stars16 of 16
    • Weekly downloads0 of 10

    Related MCP servers

    Web scraping
    • F
      FirecrawlKnowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.
    • S
      Scrapling🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and trick
    • S
      Scrapling MCP ServerWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
    • F
      FetchFetch a web page and return it as clean markdown for the agent, in chunks for long pages. The reference server from the Model Context Protocol project.
    • O
      ObscuraThe headless browser for AI agents and web scraping
    • D
      Douyin TikTok Download API🚀 自托管的抖音、TikTok、B 站数据采集与无水印视频下载 API,支持 AI agent 通过 MCP 调用与离线语音转文字,Docker 一键部署。| Self-hosted TikTok, Douyin & Bilibili scraper and no-watermark video downloader — async REST API, MCP server for AI age
    • A
      ApifyThe Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automa
    • A
      ApifyExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
    • S
      Skill SeekersConvert documentation websites, GitHub repositories, and PDFs into Claude AI skills with automatic conflict detection
    • S
      SeleniumBase📊 Python APIs for Web Automation, Testing, and Scraping. CDP Mode launches a stealth browser that bypasses bot-detection/CAPTCHAs. Adds stealth to Playwright and has an MCP server for AI agents.
    • M
      MobileModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
    • F
      FirecrawlOfficial Firecrawl MCP server, the context API for AI agents: search, scrape, and interact with the web, plus parse, crawl, map, Agent and Monitor, from any MCP client.
    Web scraping MCP serversBest Web scraping MCP servers

    Related skills

    View all
    • P
      playwright-cliAutomate browser interactions, test web pages and work with Playwright tests.
    • A
      anti-detect-browserDrive Chromium from standard Playwright APIs with a real-device fingerprint applied in the kernel, one persistent isolated profile per identity, and a per-profile proxy whose exit IP sets timezone and
    HomeServersGoogle Maps Scraper
    G

    Google Maps Scraper

    gosom·8.5k stars·

    Open-source Google Maps scraper for business listings. Export phone numbers, websites, ratings, and reviews to CSV or JSONL. Run it locally with the CLI, web UI, or REST API, or connect your AI agent

    Web Scraping
    Add to CursorAdd in ClaudeAdd to VS CodeRun on PlugMCPClaim this server
    Add to CursorAdd in ClaudeAdd to VS CodeRun on PlugMCP
    1{2  "mcpServers": {3    "gosom-google-maps-scraper": {4      "url": "https://learn.chatgpt.com/docs/extend/mcp?surface=cli",5      "headers": {}6    }7  }8}
    G
    .cursor/mcp.json
    MCP server
    Transport
    http
    Status
    Remote

    Overview

    About Google Maps Scraper

    Open-source Google Maps scraper for business listings. Export phone numbers, websites, ratings, and reviews to CSV or JSONL. Run it locally with the CLI, web UI, or REST API, or connect your AI agent through the built-in MCP server.

    Tools

    Tools

    No tool list yet. Remote servers get one after the first health check.

    FAQ

    Questions

    How do I install Google Maps Scraper?

    Copy the http config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.

    23data_idInternal Google Maps identifier
    24street_view_urlStreet View URL
    25place_idGoogle's unique place id
    26imagesAssociated image URLs
    27reservationsReservation booking link
    28order_onlineOnline ordering link
    29menuMenu link
    30ownerOwner profile ID, name, and link, when available
    31complete_addressAddress parts: street, city, postal code, state, and country
    32credit_cards_acceptedAccepted credit card networks
    33aboutAdditional business info
    34user_reviewsCustomer reviews (text, rating, timestamp)
    35user_reviews_extendedAdditional anonymously available reviews (requires -extra-reviews)
    36emailsExtracted email addresses (requires -email flag)
    37review_collectionCollection status, method, collected/expected counts, and stopping reason (with -extra-reviews)
  • F
    fingerprint-ci-gateGate a build on browser fingerprint regressions with liarjs - save a baseline scan as JSON, diff later runs against it, and fail the job when the consistency score falls below a floor. Use when asked
  • GitHub

    Does Google Maps Scraper need an API key?

    No required environment variable is listed on this record.

    What transport does Google Maps Scraper use?

    Google Maps Scraper is reached over HTTP.

    When was Google Maps Scraper last checked?

    Last checked 2026-11-29. Open-source Google Maps scraper for business listings. Export phone numbers, websites, ratings, and reviews to CSV or JSONL. Run it locally with the CLI, web UI, or REST API, or connect your AI agent through the built-in MCP server. # Google Maps Scraper <p align="center"> <a href="https://github.com/gosom/google-maps-scraper/stargazers"><img src="https://img.shields.io/github/stars/gosom/goog

  • Tools0 of 10
  • Tools have descriptions0 of 6
  • License4 of 4
  • Voice ready3 of 3
  • Maintain this server? Claiming it adds 8 points.
    Claim this server