> Documentation index: https://developers.google.com/maps/llms.txt

Maps Experience agent tools (formerly Maps Grounding Lite) provides a Model Context Protocol (MCP) server and REST methods that let LLMs and AI agents query Google Maps places (including places along a route), routes, weather, air quality, and pollen data, and resolve location names or Google Maps URLs to place IDs.

## Maps Experience agent tools: key facts

- **Product:** Maps Experience agent tools
- **Also known as:** Maps Grounding Lite, Maps Experience Agent Tools, Maps Grounding Essentials, Maps Grounding Pro
- **Category:** Places
- **Platform:** Web service (REST)
- **Runs on:** Server (backend code)
- **Launch stage:** GA
- **Lifecycle:** Active
- **Overview:** [Maps Experience agent tools overview](https://developers.google.com/maps/ai/maps-experience-agent-tools.md.txt)

## Maps Experience agent tools: when to use it

**Use Maps Experience agent tools when:**

- You build an AI agent with an MCP-compatible framework (such as ADK or Gemini CLI) that needs places, routes, weather, air quality, or pollen data.
- You want direct control of each tool call (`search_places`, `search_along_route`, `compute_routes`, `lookup_weather`, `resolve_names`, `resolve_maps_urls`).
- You need to resolve batches of up to 20 place names or Google Maps URLs (`maps.app.goo.gl`) into place IDs at no charge.
- You want to render Places UI Kit elements for grounded `search_places` or `search_along_route` results at no extra charge using `contentToken`.
**Don't use Maps Experience agent tools when:**

- You build on Gemini API, Google AI Studio, or Gemini Enterprise Agent Platform and want Gemini to run Grounding with Google Maps automatically.
- You need step-by-step directions, route legs, or turn-by-turn navigation. Use [Routes API](https://developers.google.com/maps/documentation/routes/quick-reference.md.txt) instead.
- You need structured place fields or autocomplete directly in application code without an LLM summary. Use [Places API (New)](https://developers.google.com/maps/documentation/places/web-service/quick-reference.md.txt) instead.

## Maps Experience agent tools: setup

- **Service to enable:** `mapstools.googleapis.com`
- **Authentication:** API key, OAuth 2.0
- **Prototyping key:** Get a working, no-cost [Maps Demo Key](https://developers.google.com/maps/demo-key.md.txt) with a personal Google Account (daily quota limits apply; see [eligibility and supported features](https://developers.google.com/maps/demo-key.md.txt#eligibility)). No Google Cloud project or billing account is required.
- **Get started:** [Set up Maps Experience agent tools](https://developers.google.com/maps/ai/maps-experience-agent-tools.md.txt#configure_llms_to_use_the_mcp_server)
- **Reference:** [Maps Experience agent tools reference](https://developers.google.com/maps/ai/maps-experience-agent-tools/reference/mcp.md.txt)
- **Pricing:** [Maps Experience agent tools usage and billing](https://developers.google.com/maps/ai/maps-experience-agent-tools.md.txt#billing_and_quotas)
- **Policies:** [Maps Experience agent tools policies](https://developers.google.com/maps/ai/maps-experience-agent-tools/attribution.md.txt)
- **Release notes:** [Maps Experience agent tools release notes](https://developers.google.com/maps/ai/maps-experience-agent-tools/release-notes.md.txt)

## Maps Experience agent tools: related products

- **Often used with:** [Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/quick-reference.md.txt), [Places SDK for Android](https://developers.google.com/maps/documentation/places/android-sdk/quick-reference.md.txt), [Places SDK for iOS](https://developers.google.com/maps/documentation/places/ios-sdk/quick-reference.md.txt), [Places API (New)](https://developers.google.com/maps/documentation/places/web-service/quick-reference.md.txt), [Routes API](https://developers.google.com/maps/documentation/routes/quick-reference.md.txt), [Weather API](https://developers.google.com/maps/documentation/weather/quick-reference.md.txt), [Air Quality API](https://developers.google.com/maps/documentation/air-quality/quick-reference.md.txt), [Pollen API](https://developers.google.com/maps/documentation/pollen/quick-reference.md.txt), [Agentic UI toolkit](https://developers.google.com/maps/ai/agentic-ui-toolkit/quick-reference-js.md.txt)

## Maps Experience agent tools: common mistakes

- **Problem:** Any Pro option bills the request under the Maps Grounding Pro SKU ($14 vs. $7 per 1,000), and an LLM can set Pro options on its own: `include_extended_details`, `page_size` \>5, `ROUTING_PREFERENCE_TRAFFIC_AWARE_OPTIMAL`, \>10 `intermediate_waypoints`, `POLLEN` or past `AIR_QUALITY` in `lookup_weather`, and any `search_along_route` call. **Fix:** Tell the model in your instructions when Pro options are appropriate, or never to use them. If your MCP client can restrict tools or arguments, block `search_along_route` and the Pro argument values, and monitor the Maps Grounding Pro SKU in your billing reports. See [/maps/ai/maps-experience-agent-tools#control_pro_usage](https://developers.google.com/maps/ai/maps-experience-agent-tools.md.txt#control_pro_usage).
- **Problem:** The `compute_routes` tool omits step-by-step directions, defaults to `ROUTING_PREFERENCE_TRAFFIC_UNAWARE`, rejects `ROUTING_PREFERENCE_TRAFFIC_AWARE_OPTIMAL` on `WALK` or `BICYCLE` with `INVALID_ARGUMENT`, and rejects `intermediate_waypoints` on `TRANSIT`. **Fix:** Set `ROUTING_PREFERENCE_TRAFFIC_AWARE_OPTIMAL` only on `DRIVE` or `TRANSIT` routes, omit `intermediate_waypoints` on `TRANSIT`, and use the Routes API if you need turn-by-turn steps. See [/maps/ai/maps-experience-agent-tools/compute-routes](https://developers.google.com/maps/ai/maps-experience-agent-tools/compute-routes.md.txt).
- **Problem:** `ResolveNames` and `ResolveMapsUrls` reject batches over 20 items with `400 INVALID_ARGUMENT`, don't support categorical queries like `"restaurants in New York"`, and return HTTP 200 with `{}` entries and `failedRequests` when individual items fail. **Fix:** Send at most 20 specific place names or single-place Maps URLs per call, and inspect `failedRequests` by 0-based index instead of relying only on HTTP status. See [/maps/ai/maps-experience-agent-tools/resolution-api](https://developers.google.com/maps/ai/maps-experience-agent-tools/resolution-api.md.txt).
- **Problem:** A `contentToken` waives Places UI Kit charges for only 10 minutes on supported elements under the same Cloud project (Maps JavaScript API `v=beta` in Preview, Places SDK for Android 6.1.0+, or `GooglePlacesSwift` 11.4.0+). Invalid or expired tokens bill at standard rates without an error, and JS `addContentTokens()` throws on a bare string. **Fix:** Read `contentToken` from `structuredContent` (or top-level REST JSON) in code rather than LLM text, use credentials from the same Cloud project, pass `[contentToken]` to `Settings.getInstance().addContentTokens()` on JS `v=beta`, or pass `contentTokens` on each Android or iOS Places UI Kit request. See [/maps/ai/agentic-data-visualization-token](https://developers.google.com/maps/ai/agentic-data-visualization-token.md.txt).
- **Problem:** Showing grounded tool output without `googleMapsLinks` sources, or sending Google Maps Content to an LLM that caches, stores, or trains on inputs, violates the Google Maps Platform Terms of Service. **Fix:** Render attributed `googleMapsLinks` right after the grounded output (viewable within one user interaction), and verify your model doesn't retain or train on input data. See [/maps/ai/maps-experience-agent-tools/attribution](https://developers.google.com/maps/ai/maps-experience-agent-tools/attribution.md.txt).

## What you can do with Maps Experience agent tools

See the guides linked below for each task, or compare across products in the
[Capabilities Explorer](https://developers.google.com/maps/documentation/capabilities-explorer.md.txt).

### Maps Experience agent tools: Generative AI

- [Return grounded place summaries, place IDs, and coordinates from a natural language query.](https://developers.google.com/maps/ai/maps-experience-agent-tools/search-places.md.txt)
- [Search for places along a travel route with detour times and distances from a natural language query.](https://developers.google.com/maps/ai/maps-experience-agent-tools/search-along-route.md.txt)
- [Calculate route distance and travel duration between locations for an AI agent.](https://developers.google.com/maps/ai/maps-experience-agent-tools/compute-routes.md.txt)
- [Return current and forecast weather, air quality, and pollen conditions for a location.](https://developers.google.com/maps/ai/maps-experience-agent-tools/lookup-weather.md.txt)
- [Resolve batches of place names, addresses, or Google Maps URLs to place IDs.](https://developers.google.com/maps/ai/maps-experience-agent-tools/resolution-api.md.txt)
- [Return the URI to save a batch of resolved places as a list in Google Maps.](https://developers.google.com/maps/ai/maps-experience-agent-tools/resolution-api.md.txt#save_resolved_places_to_google_maps)

### Maps Experience agent tools: Places UI Kit

- [Display place data UI elements with a grounding content token from an AI agent response.](https://developers.google.com/maps/ai/agentic-data-visualization-token.md.txt#get-token) **Note:** Only `search_places` and `search_along_route` from Maps Experience agent tools (`mapstools.googleapis.com`) issue `contentToken` (not Grounding with Google Maps). Tokens waive Places UI Kit charges for 10 minutes on supported components under the same Cloud project; invalid or expired tokens bill at standard rates without an error.