mcpField
G
google-maps

google-maps

github.com/refly-aiOther20450 installsUpdated 38w ago
Repository

About google-maps

A skill for using Google Maps to geocode addresses, search for places, and obtain directions or location data. It runs a Refly workflow through the CLI and extracts JSON results as text.

Key features

  1. 01Geocode addresses
  2. 02Search places by name or type
  3. 03Retrieve directions and location data
  4. 04Extract results through Refly workflows

Use cases

  1. 01Convert an address to coordinates
  2. 02Find places of a specific type
  3. 03Retrieve route information for a location

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/refly-ai/refly-skills --skill google-maps

After installing, type/google-mapsin Claude Code to confirm it loaded.

Bundled filesREADME.md

Details

From the project README

Google Maps

Integrate with Google Maps for location services. Use when you need to: (1) geocode addresses to coordinates, (2) search for places, or (3) get directions and location data.

Input

Provide input as JSON:

{
  "search_query": "Location or place name to search for (e.g., 'Eiffel Tower', 'restaurants in New York', '1600 Amphitheatre Parkway')",
  "place_type": "Type of place to search for (e.g., 'restaurant', 'hotel', 'museum', 'cafe'). Leave empty for general search."
}

Execution (Pattern B: Text/Data)

Step 1: Run the Skill and Get Run ID
RESULT=$(refly skill run --id skpi-cvy0z7sx46moqd1w590mygq3 --input '{
  "address": "1600 Amphitheatre Parkway, Mountain View, CA",
  "action": "geocode"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands
Step 2: Open Workflow in Browser and Wait for Completion
open "https://refly.ai/workflow/c-b6hhdfj7pt9c1yrowfbmx5vc"
refly workflow status "$RUN_ID" --watch --interval 30000
Step 3: Extract Text Content
# Get location data from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"

Expected Output

  • Type: Text content
  • Format: JSON location/geocoding data
  • Action: Display location information to user

Rules

Follow base skill workflow: ~/.claude/skills/refly/SKILL.md

Comments

Markdown supported