Google Maps MCP Server logo

Google Maps MCP Server

by modelcontextprotocol

This MCP server provides access to the Google Maps API. It allows you to perform geocoding, reverse geocoding, place searches, and more.

View on GitHub

Last updated: N/A

What is Google Maps MCP Server?

The Google Maps MCP Server is a Model Context Protocol server that allows you to access various Google Maps API functionalities, such as geocoding, reverse geocoding, place searches, distance matrix calculations, elevation data retrieval, and directions.

How to use Google Maps MCP Server?

To use this server, you need a Google Maps API key. Configure the server within your claude_desktop_config.json using either Docker or NPX, providing your API key in the environment variables. Then, you can call the available tools with their respective inputs.

Key features of Google Maps MCP Server

  • Geocoding and reverse geocoding

  • Place search and details retrieval

  • Distance matrix calculations

  • Elevation data retrieval

  • Directions calculation

Use cases of Google Maps MCP Server

  • Finding the coordinates of an address

  • Determining the address of a location based on coordinates

  • Searching for nearby businesses or points of interest

  • Calculating travel times and distances between locations

  • Getting elevation data for specific points

  • Generating directions for different modes of transportation

FAQ from Google Maps MCP Server

How do I get a Google Maps API key?

Follow the instructions on the Google Maps Platform documentation to create and obtain an API key: https://developers.google.com/maps/documentation/javascript/get-api-key#create-api-keys

What is the maximum radius for the maps_search_places tool?

The maximum radius is 50000 meters.

What transportation modes are supported for directions and distance matrix?

The supported modes are driving, walking, bicycling, and transit.

How do I specify the location for maps_search_places?

The location should be provided as an object with latitude and longitude properties.

What license is this server distributed under?

This MCP server is licensed under the MIT License.