{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-google-maps-automation-1f46dd86e66e","title":"Google Maps Automation via Rube MCP","summary":"Geocode addresses, search places, get directions, compute distance matrices, and retrieve place details using Google Maps via Rube MCP (Composio).","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-google-maps-automation-1f46dd86e66e","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-google-maps-automation-1f46dd86e66e","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-google-maps-automation-1f46dd86e66e.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-google-maps-automation-1f46dd86e66e\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before using any tools, verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds. Then call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_maps` to establish an active connection. Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas.","instructions":"---\nname: google-maps-automation\ndescription: \"Automate Google Maps tasks via Rube MCP (Composio): geocode addresses, search places, get directions, compute route matrices, reverse geocode, autocomplete, get place details. Always search tools first for current schemas.\"\nrequires:\n  mcp: [rube]\n---\n\n# Google Maps Automation via Rube MCP\n\nGeocode addresses, search places, get directions, compute distance matrices, and retrieve place details using Google Maps via Rube MCP (Composio).\n\n**Toolkit docs**: [composio.dev\/toolkits\/google_maps](https:\/\/composio.dev\/toolkits\/google_maps)\n\n## Prerequisites\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `google_maps`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n**Get Rube MCP**: Add `https:\/\/rube.app\/mcp` as an MCP server in your client configuration. No API keys needed \u2014 just add the endpoint and it works.\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_maps`\n3. If connection is not ACTIVE, follow the returned auth link to complete setup\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. Geocode an Address\nUse `GOOGLE_MAPS_GEOCODING_API` to convert a street address into geographic coordinates (latitude\/longitude).\n```\nTool: GOOGLE_MAPS_GEOCODING_API\nParameters:\n  - address: Street address or plus code to geocode\n  - latlng: Lat\/lng for reverse geocoding (e.g., \"40.714224,-73.961452\")\n  - place_id: Place ID for place geocoding\n  - language: Language for results\n  - region: Region bias (ccTLD code)\n  - bounds: Bounding box for viewport bias\n  - components: Component filter (e.g., \"postal_code:94043|country:US\")\n```\n\n### 2. Search for Places\nUse `GOOGLE_MAPS_TEXT_SEARCH` to find places using a free-text query.\n```\nTool: GOOGLE_MAPS_TEXT_SEARCH\nParameters:\n  - textQuery (required): Search text (e.g., \"restaurants in London\")\n  - fieldMask: Fields to return (e.g., \"displayName,formattedAddress,rating\")\n  - maxResultCount: Max results (1-20, default 10)\n```\n\n### 3. Get Directions Between Two Locations\nUse `GOOGLE_MAPS_GET_ROUTE` to calculate routes with distance and duration.\n```\nTool: GOOGLE_MAPS_GET_ROUTE\nParameters:\n  - origin_address (required): Starting point (address or \"lat,lng\")\n  - destination_address (required): End point (address or \"lat,lng\")\n  - travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT\n  - routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL\n  - computeAlternativeRoutes: Return alternative routes (boolean)\n  - units: METRIC or IMPERIAL\n  - languageCode: BCP-47 language code\n  - routeModifiers_avoidTolls \/ avoidHighways \/ avoidFerries: Route preferences\n```\n\n### 4. Compute Distance Matrix\nUse `GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX` to calculate distances and durations between multiple origins and destinations.\n```\nTool: GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX\nParameters:\n  - origins (required): Array of origin locations (address strings or lat\/lng objects)\n  - destinations (required): Array of destination locations\n  - travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT\n  - routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL\n  - fieldMask: Response fields to include\n  - units: METRIC or IMPERIAL\n```\n\n### 5. Get Place Details\nUse `GOOGLE_MAPS_GET_PLACE_DETAILS` to retrieve comprehensive information about a specific place.\n```\nTool: GOOGLE_MAPS_GET_PLACE_DETAILS\nDescription: Retrieves comprehensive details for a place using its resource\n  name (places\/{place_id} format). Returns hours, contacts, reviews, etc.\nNote: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.\n```\n\n### 6. Search Nearby Places\nUse `GOOGLE_MAPS_NEARBY_SEARCH` to find places within a circular area around a point.\n```\nTool: GOOGLE_MAPS_NEARBY_SEARCH\nParameters:\n  - latitude (required): Center latitude (-90 to 90)\n  - longitude (required): Center longitude (-180 to 180)\n  - radius (required): Search radius in meters (max 50000)\n  - includedTypes: Place types to include (e.g., [\"restaurant\", \"cafe\"])\n  - excludedTypes: Place types to exclude\n  - fieldMask: Fields to return\n  - maxResultCount: Max results (1-20)\n```\n\n## Common Patterns\n\n- **Geocode then route**: Use `GOOGLE_MAPS_GEOCODING_API` to convert addresses to coordinates, then `GOOGLE_MAPS_GET_ROUTE` for directions between them.\n- **Search then detail**: Use `GOOGLE_MAPS_TEXT_SEARCH` to find places, then `GOOGLE_MAPS_GET_PLACE_DETAILS` for richer metadata (hours, contacts, reviews).\n- **Autocomplete UX**: Use `GOOGLE_MAPS_AUTOCOMPLETE` for type-ahead search suggestions as users type addresses or place names.\n- **Reverse geocode**: Use `GOOGLE_MAPS_GEOCODE_LOCATION` to convert coordinates back to a human-readable address.\n- **Batch distance calculation**: Use `GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX` for many-to-many distance calculations instead of calling `GOOGLE_MAPS_GET_ROUTE` repeatedly.\n- **Embed maps**: Use `GOOGLE_MAPS_MAPS_EMBED_API` to generate embeddable map URLs for places, directions, or search results.\n\n## Known Pitfalls\n\n- **Route matrix results structure**: `GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX` returns results under `data.elements` with `originIndex` and `destinationIndex` plus `distanceMeters` and `duration` -- not a `routes[]` structure.\n- **Duration format**: `GOOGLE_MAPS_GET_ROUTE` returns durations as strings like `\"937s\"` inside `data.response_data.routes`. You must parse these before numeric comparisons.\n- **Place IDs for chaining**: Use place identifiers returned from `GOOGLE_MAPS_TEXT_SEARCH` when calling `GOOGLE_MAPS_GET_PLACE_DETAILS` for richer fields.\n- **Reverse geocoding input**: `GOOGLE_MAPS_GEOCODE_LOCATION` is coordinate-driven. Ensure you pass lat\/lng (not an address string) to avoid mismatched lookups.\n- **Routing preference restrictions**: `routingPreference` cannot be set when `travelMode` is WALK, BICYCLE, or TRANSIT -- it must be omitted for these modes.\n- **Nearby search type validity**: `\"food\"` is NOT a valid type for `GOOGLE_MAPS_NEARBY_SEARCH` (it is Table B). Use specific types like `restaurant`, `cafe`, `bakery`, `fast_food_restaurant` instead.\n- **Embed API uses API keys only**: `GOOGLE_MAPS_MAPS_EMBED_API` requires an API key and does not support OAuth2.\n\n## Quick Reference\n| Action | Tool | Key Parameters |\n|--------|------|----------------|\n| Geocode address | `GOOGLE_MAPS_GEOCODING_API` | `address` or `latlng` or `place_id` |\n| Reverse geocode | `GOOGLE_MAPS_GEOCODE_LOCATION` | (see full schema via RUBE_SEARCH_TOOLS) |\n| Text search | `GOOGLE_MAPS_TEXT_SEARCH` | `textQuery`, `fieldMask`, `maxResultCount` |\n| Nearby search | `GOOGLE_MAPS_NEARBY_SEARCH` | `latitude`, `longitude`, `radius`, `includedTypes` |\n| Get directions | `GOOGLE_MAPS_GET_ROUTE` | `origin_address`, `destination_address`, `travelMode` |\n| Distance matrix | `GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX` | `origins`, `destinations`, `travelMode` |\n| Place details | `GOOGLE_MAPS_GET_PLACE_DETAILS` | (see full schema via RUBE_SEARCH_TOOLS) |\n| Autocomplete | `GOOGLE_MAPS_AUTOCOMPLETE` | `input`, `includedRegionCodes`, `locationBias` |\n| Place photo | `GOOGLE_MAPS_PLACE_PHOTO` | (see full schema via RUBE_SEARCH_TOOLS) |\n| Embed map | `GOOGLE_MAPS_MAPS_EMBED_API` | `mode`, plus mode-specific params |\n\n---\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["Geocode an address to get latitude and longitude","Find nearby restaurants using text search","Calculate driving directions between two locations","Compute distance matrix for multiple locations","Retrieve detailed information about a specific place"],"limitations":[],"compatibility":[],"setup_tip":"**Get Rube MCP**: Add `https:\/\/rube.app\/mcp` as an MCP server in your client configuration. No API keys needed \u2014 just add the endpoint and it works.\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_maps`\n3. If connection is not ACTIVE, follow the returned auth link to complete setup\n4. Confirm connection status shows ACTIVE before running any workflows","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/google-maps-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-20","created_at":"2026-11-19T17:53:17.000000Z","updated_at":"2026-11-20T07:26:51.000000Z","seo_title":"Google Maps Automation with Rube MCP","seo_description":"Automate Google Maps tasks like geocoding, place search, and route calculation using Rube MCP. Streamline workflows with Composio toolkits.","seo_keywords":["Google Maps automation","Rube MCP geocoding","Place search API","Route calculation tool","Distance matrix API"]}}