Google Maps MCP Server
Provides tools for using Google Maps Platform APIs, including place search and details, geocoding, turn-by-turn directions, distance matrices, elevation, and time zone lookups.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Maps MCP ServerGet turn-by-turn directions from Portland to Seattle"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@aiwerk/mcp-server-google-maps
Google Maps Platform MCP server — places, geocoding, turn-by-turn directions, route matrices, elevation and time zones.
Built on the current Google APIs: Places API (New), Routes API v2, Geocoding API, Elevation API and Time Zone API. Turn-by-turn steps, transit routes and live traffic are included, which the Maps Grounding Lite MCP service does not provide.
Install
npx -y @aiwerk/mcp-server-google-mapsOr add to your MCP client config:
{
"mcpServers": {
"google-maps": {
"command": "npx",
"args": ["-y", "@aiwerk/mcp-server-google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "your-api-key"
}
}
}
}Related MCP server: Google Maps MCP Server
Configure
Variable | Required | Description |
| yes | API key from Google Cloud Console |
| no | Request timeout in ms (default: 30000) |
APIs to enable on the Cloud project
Each tool group calls a different API, and a disabled API answers REQUEST_DENIED or HTTP 403. Enable the ones you plan to use:
API | Powers |
Places API (New) |
|
Geocoding API |
|
Routes API |
|
Elevation API |
|
Time Zone API |
|
Billing must be enabled on the project. The legacy Places API and Directions API are not used, so enabling those alone is not enough.
Tools
11 read-only tools. Nothing in this server writes, and every tool is annotated readOnlyHint.
Name | Description |
| Text search for places, with optional area bias, type, rating, price and open-now filters. |
| Places inside a circle around a coordinate, with the radius as a hard restriction. |
| Full detail for one place ID: hours, phone, website, rating, optionally reviews. |
| Place suggestions plus place IDs for partially typed input. |
| Address to coordinates, with normalised address components and place ID. |
| Coordinates to the addresses at that point. |
| Place ID to address and coordinates through the cheaper Geocoding API. |
| Route with turn-by-turn steps, waypoints, traffic, alternatives and transit support. |
| Travel time and distance for every origin-destination pair. |
| Elevation for up to 100 points, or a sampled profile along a path. |
| Time zone, UTC offset and DST offset for a coordinate at a given moment. |
Location arguments
maps_directions and maps_distance_matrix accept three shapes for every location:
Shape | Example |
Address |
|
Coordinates |
|
Place ID |
|
maps_reverse_geocode, maps_elevation and maps_timezone need coordinates, since those APIs do not geocode. Run maps_geocode first.
Cost control
Places and Routes calls are billed by the fields they request, so the field masks in this server are deliberately narrow.
maps_place_detailsleaves reviews out until you setinclude_reviews: true, which moves the call to the Enterprise + Atmosphere tier.maps_directionsrequests turn-by-turn steps by default. Setinclude_steps: falsefor totals only.maps_search_placesandmaps_search_nearbyaccept afieldsarray that replaces the default mask entirely, for either trimming cost or reaching fields the default omits.maps_place_id_lookupresolves a place ID through Geocoding instead of Place Details when only the address is needed.
Set a quota cap in Google Cloud Console before pointing an autonomous agent at this server.
Notes
The classic web services (Geocoding, Elevation, Time Zone) answer HTTP 200 even when they refuse a request, with the real result in a
statusfield. This server checks that field, so a bad key surfaces as a tool error instead of an empty success.ZERO_RESULTSis returned as data, not as an error. An emptyresultsarray means the address or route genuinely has no match.routingPreferenceand theavoid_*flags only apply toDRIVEandTWO_WHEELER. Passing them withWALK,BICYCLEorTRANSITis rejected locally rather than sent to the API.maps_distance_matrixresults carryoriginIndexanddestinationIndexand are not necessarily ordered.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables Claude Desktop to access Google Maps services including geocoding, place search, directions, distance calculations, and elevation data through stdio communication. Provides comprehensive location-based functionality with direct Google Maps API integration.MIT
- Flicense-qualityCmaintenanceEnables location-aware AI agents to search for nearby places, get detailed place information including hours and ratings, and calculate routes with turn-by-turn directions using Google Maps APIs.21
- AlicenseAqualityBmaintenanceEnables AI assistants to access Google Maps services including places search, details, directions, geocoding, and nearby search through natural language.62MIT
- Alicense-qualityDmaintenanceEnables interaction with Google Maps API for geocoding, place search, directions, distance matrices, and elevation data through natural language.MIT
Related MCP Connectors
Google Maps MCP Pack — geocoding, places, directions, distance matrix, elevation.
Live Google Maps business search, review, and photo data for AI agents over MCP.
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIWerk/mcp-server-google-maps'
If you have feedback or need assistance with the MCP directory API, please join our Discord server