google-maps-automation
できること
このツールを使うと、Googleマップで場所を探したり、道順を調べたり、距離を計算したりできます。住所を緯度・経度に変換することもできます。
使う場面
- ✓自宅と職場の間の距離を知りたいとき。
- ✓近くのレストランを探したいとき。
- ✓住所を緯度・経度に変換したいとき。
スキルのリンク
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/google-maps-automation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“パウリスタ通りから5km以内にあるレストランを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールはGoogleマップに接続して、必要な情報を取得します。特定のコマンドを使って、場所の検索、ルートの計算、住所の詳細の取得を行います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Google Maps Automation via Rube MCP
Geocode addresses, search places, get directions, compute distance matrices, and retrieve place details using Google Maps via Rube MCP (Composio).
Toolkit docs: composio.dev/toolkits/google_maps
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_maps - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_maps - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Geocode an Address
Use GOOGLE_MAPS_GEOCODING_API to convert a street address into geographic coordinates (latitude/longitude).
Tool: GOOGLE_MAPS_GEOCODING_API
Parameters:
- address: Street address or plus code to geocode
- latlng: Lat/lng for reverse geocoding (e.g., "40.714224,-73.961452")
- place_id: Place ID for place geocoding
- language: Language for results
- region: Region bias (ccTLD code)
- bounds: Bounding box for viewport bias
- components: Component filter (e.g., "postal_code:94043|country:US")
2. Search for Places
Use GOOGLE_MAPS_TEXT_SEARCH to find places using a free-text query.
Tool: GOOGLE_MAPS_TEXT_SEARCH
Parameters:
- textQuery (required): Search text (e.g., "restaurants in London")
- fieldMask: Fields to return (e.g., "displayName,formattedAddress,rating")
- maxResultCount: Max results (1-20, default 10)
3. Get Directions Between Two Locations
Use GOOGLE_MAPS_GET_ROUTE to calculate routes with distance and duration.
Tool: GOOGLE_MAPS_GET_ROUTE
Parameters:
- origin_address (required): Starting point (address or "lat,lng")
- destination_address (required): End point (address or "lat,lng")
- travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT
- routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL
- computeAlternativeRoutes: Return alternative routes (boolean)
- units: METRIC or IMPERIAL
- languageCode: BCP-47 language code
- routeModifiers_avoidTolls / avoidHighways / avoidFerries: Route preferences
4. Compute Distance Matrix
Use GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX to calculate distances and durations between multiple origins and destinations.
Tool: GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX
Parameters:
- origins (required): Array of origin locations (address strings or lat/lng objects)
- destinations (required): Array of destination locations
- travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT
- routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL
- fieldMask: Response fields to include
- units: METRIC or IMPERIAL
5. Get Place Details
Use GOOGLE_MAPS_GET_PLACE_DETAILS to retrieve comprehensive information about a specific place.
Tool: GOOGLE_MAPS_GET_PLACE_DETAILS
Description: Retrieves comprehensive details for a place using its resource
name (places/{place_id} format). Returns hours, contacts, reviews, etc.
Note: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.
6. Search Nearby Places
Use GOOGLE_MAPS_NEARBY_SEARCH to find places within a circular area around a point.
Tool: GOOGLE_MAPS_NEARBY_SEARCH
Parameters:
- latitude (required): Center latitude (-90 to 90)
- longitude (required): Center longitude (-180 to 180)
- radius (required): Search radius in meters (max 50000)
- includedTypes: Place types to include (e.g., ["restaurant", "cafe"])
- excludedTypes: Place types to exclude
- fieldMask: Fields to return
- maxResultCount: Max results (1-20)
Common Patterns
- Geocode then route: Use
GOOGLE_MAPS_GEOCODING_APIto convert addresses to coordinates, thenGOOGLE_MAPS_GET_ROUTEfor directions between them. - Search then detail: Use
GOOGLE_MAPS_TEXT_SEARCHto find places, thenGOOGLE_MAPS_GET_PLACE_DETAILSfor richer metadata (hours, contacts, reviews). - Autocomplete UX: Use
GOOGLE_MAPS_AUTOCOMPLETEfor type-ahead search suggestions as users type addresses or place names.
…
よくある質問
Googleアカウントは必要ですか?
はい。ツールがGoogleマップにアクセスできるように、Googleアカウントを接続する必要があります。手順は簡単で、画面の案内に沿って進められます。
自転車のルートを頼むこともできますか?
はい。車、自転車、徒歩、公共交通機関など、移動手段ごとのルートを頼むことができます。
ツールが正しい場所を見つけたかどうかは、どうやってわかりますか?
ツールは名前、住所、場合によっては評価などの情報を返すので、探していた場所かどうかを確認できます。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 77k
- ランキング
- #2105
- ライセンス
- —
- 更新日
- 2026/9/18
コメント
- …
このリポジトリの他のスキル
artifacts-builder
77kエージェントが複雑なユーザーインターフェースを構築できるようにします。最新の技術を使い、リッチで対話的なWebページを作成します。
brand-guidelines
77kエージェントが資料に公式のブランドカラーとフォントを適用できるようにします。会社らしく見せる必要がある制作物で、ビジュアルアイデンティティを保つのに役立ちます。
canvas-design
77kエージェントが.pngや.pdf形式のオリジナルのビジュアルアートを作成できるようにします。ポスター、アート、その他の静的なデザインを依頼されたときに使います。
changelog-generator
77kエージェントがコードのコミットから、ユーザー向けのリリースノートを作成します。技術的な情報を、わかりやすい文章に変換します。