Codex
ConfigureGMSCRAPER_API_KEY in the environment where Codex starts, then add the server:
Claude Code
Configure your client
Supply the API key through your client’s secret environment. The following is the common configuration shape; environment interpolation differs by client, so replace the placeholder using that client’s secret mechanism.API-KEY or a Bearer token. MCP also accepts GMS-API-KEY and X-API-KEY. Send one credential, not conflicting headers.
Python SDK
Install the official Python MCP SDK and use the discovery example in gmapscrawl-mcp:GMSCRAPER_API_KEY, initializes a session, and lists tools without starting work.
First tool call
Callsearch_google_maps with flat arguments (do not wrap them in REST’s operation and input envelope):
get_scrape_job and then get_scrape_results using the returned job ID.
Use a key from the API keys page; enter a name to create one, then copy it into your secret environment. New keys are live keys and requests use your API allowance. If you already have a test key, its results are simulated. A tool listing does not establish live access; check availability.