Repository avatar
Other Tools
v1.0.2
active

mcp-google-maps-place-photos

com.mambabuilt/mcp-google-maps-place-photos

Google Maps place photos with author credits via the official Places API on your key

Documentation

Google Maps Place Photos MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Google Maps Place Photos actor on Apify. Google Maps place photos with author credits, through the official Places API on your own key.

What's Inside

What it does

Give Google Maps places as place IDs, Google Maps URLs, or a business name and city, and your own Google Maps Platform API key. The actor looks each place up with the official Places API (New), takes up to 10 of its photos, and asks Google for a fresh image URL for each at your chosen width. One row per photo carries the URL, the original size, the rank, the author's name and profile link for the attribution Google requires, and the place's name, address, and Google Maps link.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-google-maps-place-photos": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-google-maps-place-photos"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_place_photos tool appears.

Prerequisites

Example prompts

  • "Get 5 photos of the Ferry Building Marketplace in San Francisco with author credits."
  • "Pull the Google Maps photos for these 20 restaurant place IDs so I can review their storefronts."
  • "Which of these hotels has the most photos on Google Maps?"

Tool

get_place_photos. One tool. Example arguments:

{
  "places": [
    "Ferry Building Marketplace, San Francisco"
  ],
  "max_photos_per_place": 5
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
api_keystringnoYour own Google API key with Places API (New) enabled and billing turned on for its project. Make one in Google Cloud Console: APIs and Services, Credentials, Create credentials, API key, then enable Places API (New). Google bills your project for each place lookup and each photo URL under its own Maps Platform pricing. The key is stored encrypted by Apify, sent only to places.googleapis.com, and never written to a row or a log. With no key the run writes one free row and reads nothing.
placesarraynoOne place per line: a Google place ID (ChIJ...), a Google Maps URL, or a business name with its city, for example Blue Bottle Coffee, Broadway, Oakland. A name or URL is looked up with Google's text search and the first match is used. Repeats are read once. In Clay, put the column inside a one item list.
max_photos_per_placenumbernoAt most this many photos per place, 1 to 10. Default 10. Google returns at most 10 photos per place.
max_width_pxnumbernoWidth of the image URL Google returns, 1 to 4800 pixels. Default 1600. A photo smaller than this comes back at its own size.
resolve_photo_urlsbooleannoyes (default) or no. With yes, each photo gets one extra Google call for a fresh image URL. With no, rows carry the photo name, size, and author only, and Google bills only the place lookups.
languagestringnoOptional. Language for place names and addresses, for example en, de, or pt-BR. Default: Google's choice for the place.
max_placesnumbernoRead at most this many places per run, after repeats are removed. Default 50, up to 1,000.
max_charge_usdstringnoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
photo-row, one photo of one place$0.0015$0.001425$0.00135$0.001275
apify-actor-start, per run start$0.005$0.005$0.005$0.005

A missing or refused key, a quota stop, a place not found, a place with no photos, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/google-maps-place-photos

License

MIT. See LICENSE.