# Google Maps — MCP server on mcp.ai > Integrate Google Maps to access location data, geocoding, directions, and mapping services in your application. By: mcp.ai · official Page: https://mcp.ai/google_maps ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_google_maps?ms=1781542200000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/google_maps/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/google_maps/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/google_maps/skill.md Postman collection (v2.1): https://mcp.ai/google_maps/postman.json ## Tools - google_maps_distance_matrix_api(key?: string, mode?: string, avoid?: string, units?: string, region?: string, origins: string, language?: string, arrival_time?: integer, destinations: string, transit_mode?: string, traffic_model?: string, departure_time?: integer, transit_routing_preference?: string) — Calculates travel distance and time for a matrix of origins and destinations. supports different modes of transportation and options like departure/arrival times. use when needing to determine travel - google_maps_geocoding_api(key: string, bounds?: string, latlng?: string, region?: string, address?: string, language?: string, place_id?: string, components?: string, result_type?: string, location_type?: string, extra_computations?: string[]) — Deprecated: tool to convert addresses into geographic coordinates (latitude and longitude) and vice versa (reverse geocoding), or get an address for a place id. use for finding coordinates for an addr - google_maps_get_direction(mode?: string, avoid?: string, units?: string, origin: string, language?: string, waypoints?: string, destination: string) — Fetches detailed directions between an origin and a destination, supporting intermediate waypoints and various travel modes. - google_maps_get_route(units?: string, fieldMask?: string, travelMode?: string, languageCode?: string, origin_address: string, routingPreference?: string, destination_address: string, computeAlternativeRoutes?: boolean, routeModifiers_avoidTolls?: boolean, routeModifiers_avoidFerries?: boolean, routeModifiers_avoidHighways?: boolean) — Calculates one or more routes between two specified locations using various travel modes and preferences; addresses must be resolvable by google maps. - google_maps_maps_embed_api(mode: string, view_params?: object, place_params?: object, search_params?: object, directions_params?: object, streetview_params?: object) — Tool to generate an embeddable google map url and html iframe code. use when you need to display a map (place, view, directions, street view, search) on a webpage without javascript. - google_maps_nearby_search(radius: number, latitude: number, fieldMask?: string, longitude: number, excludedTypes?: string[], includedTypes?: string[], maxResultCount?: integer) — Searches for places (e.g., restaurants, parks) within a specified circular area, with options to filter by place types and customize the returned fields and number of results. - google_maps_text_search(fieldMask?: string, textQuery: string, maxResultCount?: integer) — Searches for places on google maps using a textual query (e.g., "restaurants in london", "eiffel tower"). ## Links Docs: https://mcp.ai/docs/mcps/google_maps Website: https://mcp.ai/mcps/google_maps