[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Google Maps directions](https://spiral.ai/integrations/grok/google-maps-directions)

# How to Use Google Maps directions in Grok

Returns routes with distances, estimated travel times, and ordered instructions between two places. Use it to compare access to a business or plan a visit.

|  |  |
| --- | --- |
| Model | Google Maps directions |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Google Maps directions in Grok

- Use Google Maps directions to compare walking routes from Union Station in Toronto, Canada, to the Royal Ontario Museum, with distances and estimated travel times.
- Scrape https://example.com/pricing with Google Maps directions and turn it into a comparison table.
- Crawl the docs at https://docs.example.com with Google Maps directions and summarize each section.
- Pull the latest posts from this blog with Google Maps directions and list their titles and dates.
- Scrape the job listings at https://example.com/careers with Google Maps directions and give me a CSV.

## How to set up Google Maps directions in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Google Maps directions**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "firecrawl-maps/businesses/directions",
    "input": {
      "origin": "<origin>",
      "destination": "<destination>"
    }
  }'
```

Then paste one of the prompts above: Grok finds Google Maps directions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Google Maps directions tools and prices

- [Maps · Directions](https://spiral.ai/tools/alexandria/firecrawl-maps/businesses/directions) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mode | driving, walking, bicycling, transit | driving | mode |

## What can you do with Google Maps directions in Grok?

Choose a place to visit with its address, recent customer feedback, and estimated travel time in one conversation. A chat app can explain the monthly review sample alongside the business's overall rating.

### Choose a restaurant and plan the trip

Find restaurants near San Francisco's Ferry Building, compare recent feedback and monthly rating patterns, then check travel time to the shortlist.

### Compare hotels near a conference

Find hotels near the Austin Convention Center, examine service complaints and recent rating patterns, and compare routes to the venue.

### Prepare competitor field visits

Find competing coffee shops in downtown Seattle, identify recurring customer complaints and recent rating patterns, and plan travel between selected locations.

### Screen venues for a team event

Find bowling alleys in Chicago, compare group-service feedback and monthly rating patterns, and estimate travel from McCormick Place.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Google Maps directions in other agents

- [Amp](https://spiral.ai/integrations/amp/google-maps-directions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/google-maps-directions)
- [Claude](https://spiral.ai/integrations/claude-desktop/google-maps-directions)
- [Claude Code](https://spiral.ai/integrations/claude-code/google-maps-directions)
- [Cline](https://spiral.ai/integrations/cline/google-maps-directions)
- [Codex](https://spiral.ai/integrations/codex/google-maps-directions)
- [Cursor](https://spiral.ai/integrations/cursor/google-maps-directions)
- [Devin](https://spiral.ai/integrations/devin/google-maps-directions)
- [dots](https://spiral.ai/integrations/dots/google-maps-directions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/google-maps-directions)
- [Gemini](https://spiral.ai/integrations/gemini/google-maps-directions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/google-maps-directions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/google-maps-directions)
- [goose](https://spiral.ai/integrations/goose/google-maps-directions)
- [Grok Build](https://spiral.ai/integrations/grok-build/google-maps-directions)
- [Hermes](https://spiral.ai/integrations/hermes/google-maps-directions)
- [Instinct](https://spiral.ai/integrations/instinct/google-maps-directions)
- [Manus](https://spiral.ai/integrations/manus/google-maps-directions)
- [Muse](https://spiral.ai/integrations/muse/google-maps-directions)
- [Muse Code](https://spiral.ai/integrations/muse-code/google-maps-directions)
- [n8n](https://spiral.ai/integrations/n8n/google-maps-directions)
- [Notion](https://spiral.ai/integrations/notion/google-maps-directions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/google-maps-directions)
- [opencode](https://spiral.ai/integrations/opencode/google-maps-directions)
- [Perplexity](https://spiral.ai/integrations/perplexity/google-maps-directions)
- [Raycast](https://spiral.ai/integrations/raycast/google-maps-directions)
- [VS Code](https://spiral.ai/integrations/vscode/google-maps-directions)
- [Windsurf](https://spiral.ai/integrations/windsurf/google-maps-directions)
- [Zapier](https://spiral.ai/integrations/zapier/google-maps-directions)

## More Grok guides

- [Google Maps business search](https://spiral.ai/integrations/grok/google-maps-business-search)
- [Hipcamp blocked-date calendar](https://spiral.ai/integrations/grok/hipcamp-blocked-date-calendar)
- [Google Maps business reviews](https://spiral.ai/integrations/grok/google-maps-business-reviews)
- [Hipcamp campsite reviews](https://spiral.ai/integrations/grok/hipcamp-campsite-reviews)
- [Google Maps business rating trend](https://spiral.ai/integrations/grok/google-maps-business-rating-trend)
- [Hipcamp campsite search](https://spiral.ai/integrations/grok/hipcamp-campsite-search)

## Questions about Google Maps directions in Grok

**Can Grok use Google Maps directions?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Google Maps directions like any built-in tool.

**How much does Google Maps directions cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use Google Maps directions in Grok?**

No. Spiral runs Google Maps directions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Google Maps directions in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Google Maps directions runs?**

Google Maps directions runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Where does Google Maps get business information?**

Google combines business websites, licensed data, contributions from users and business owners, and its own interactions with businesses. A listing can contain information its owner did not supply.

**How quickly does a business's overall rating update?**

Google says a new review can take up to two weeks to affect the displayed overall score. That score averages all published Google ratings, while the monthly trend here uses the newest 60 reviews.

**Does a business search cover every matching business?**

It returns 20 listings per page. Google's local results are ranked by relevance, distance, and popularity, so a first page should not be treated as a complete business count.

**Why can public reviews be missing or delayed?**

Google checks reviews for policy compliance, which can delay publication by a few days. It also removes reviews for violations such as spam or inappropriate content.

**Are transit directions available in every city?**

No. Google says a local transit agency must add its route information before transit directions can be available for that city.

