Google Maps routes, ETAs, and turn-by-turn steps via the Apify Directions API, hosted MCP.
MCPpedia last refreshed this data
io.github.johnisanerd/google-maps-directions is an MCP server that google Maps routes, ETAs, and turn-by-turn steps via the Apify Directions API, hosted MCP. Its tool list has not been published yet over http, requires no API key, and scores 68/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Google Maps routes, ETAs, and turn-by-turn steps via the Apify Directions API, hosted MCP.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in maps
AI tools for EasyEDA Pro schematics, PCB placement and routing, SPICE simulation, and DRC.
MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.
Enables AI assistants to control REAPER for mixing, mastering, MIDI and music production.
OSRM MCP — routing via the public demo server
MCP Security Weekly
Get CVE alerts and security updates for io.github.johnisanerd/google-maps-directions and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The most efficient, reliable, and developer-friendly way to use the Google Maps Directions API.
Actor page: apify.com/johnvc/google-maps-directions-api Input schema: apify.com/johnvc/google-maps-directions-api/input-schema
Call the Google Maps Directions API from Python or from any MCP client and get directions between an origin and a destination as clean, structured JSON: route options for driving, transit, walking, cycling, and flight, with distance, ETA, traffic-aware duration ranges, resolved place coordinates, turn-by-turn steps, and a direct Google Maps link. Provide addresses, GPS coordinates, or place IDs.
Clone the repository
git clone https://github.com/johnisanerd/Apify-Google-Maps-Directions-API.git
cd Apify-Google-Maps-Directions-API
Install dependencies with UV
# Install UV if you do not have it:
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install project dependencies:
uv sync
Configure your API key
cp .env.example .env
# Edit .env and add your Apify API key
# Get your free API key at: https://apify.com?fpr=9n7kx3
Run the example
uv run python google-maps-directions-api-example.py
export APIFY_API_TOKEN="your_api_key_here"
uv run python google-maps-directions-api-example.py
Once the basic run works, google-maps-directions-api-cookbook.py is a runnable catalog of every feature (all travel modes, coordinates and place-ID inputs, avoidance, units, localization, and transit time and routing). See the cookbook table under "Usage Examples" below.
Every travel mode in one call. Ask for the best options across modes, or pin a single mode: driving, transit, walking, cycling, flight, or two-wheeler. One request returns every route option Google offers for your origin and destination.
Turn-by-turn detail, structured. Each route option carries distance, duration, a traffic-aware typical duration range, a route summary, route notes (tolls, conditions), and trips broken down into individual turn-by-turn steps. Transit options include stops, lines, operators, and times.
Flexible inputs. Set your origin and destination as an address or place name, exact GPS coordinates, or a Google Maps place ID. Choose units, avoid tolls, highways, or ferries, tune transit routing, and set a departure or arrival time.
Predictable pricing. A single route lookup is one flat charge. No surprise per-step or per-byte billing.
Built for agents. The Actor is MCP-ready, so you can load it as a tool in Claude or Cursor and ask for directions in plain language (see the install sections below).
... [View full README on GitHub](https://github.com/johnisanerd/apify-google-maps-directions-api#readme)