mcpField
M
MCP Google Maps

MCP Google Maps

Local
github.com/ArtixZMedia & Design4Updated 64w ago

About MCP Google Maps

MCP Google Maps exposes Google Maps location and mapping capabilities to MCP clients for place lookup, routing, and geographic data tasks. It includes place search, geocoding, distance calculations, and static map generation.

Key features

  1. 01Search nearby places and retrieve details
  2. 02Geocode addresses and coordinates both ways
  3. 03Calculate distances across origins and destinations
  4. 04Retrieve directions and elevation data
  5. 05Generate map images with directions

Use cases

  1. 01Find places near a location
  2. 02Convert an address to coordinates
  3. 03Compare travel distances between locations
  4. 04Get a route and generate a map image

MCP support

This MCP server provides Google Maps capabilities through the MCP interface, including place search, geocoding, directions, distance matrices, elevation, and static maps.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"MCP-Google-Maps": {
"command": "npx",
"args": [
"-y",
"mcp-google-maps"
]
}
}
}
Run commandnpx -y mcp-google-maps

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-google-maps

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Google Maps MCP-Google-Maps

A Model Context Protocol (MCP) server for Google Maps functionality, providing access to places search, geocoding, directions, and more through the MCP interface.

Features

  • Places Search
  • Place Details
  • Geocoding and Reverse Geocoding
  • Distance Matrix
  • Directions
  • Elevation Data
  • Static Maps Generation

Installation & Testing

First, install the package globally:

npm install -g mcp-google-maps

You can test if the MCP server is working by running:

npx mcp-google-maps

MCP Configuration

To use this with your MCP client, add the following to your MCP configuration:

{
    "mcpServers": {
        "google-maps": {
            "command": "npx",
            "args": ["-y", "mcp-google-maps"],
            "env": {
                "GOOGLE_MAPS_API_KEY": "your_api_key_here",
                "DEFAULT_LANGUAGE": "en",
                "DEFAULT_REGION": "US",
                "MAX_REQUESTS_PER_SECOND": "50",
                "MAX_REQUESTS_PER_DAY": "100000",
                "ENABLE_CACHING": "true",
                "CACHE_TTL": "3600"
            },
            "enabled": true
        }
    }
}

Available MCP Commands

The following commands are available through the MCP interface:

  • search_nearby: Search for places near a location
  • get_place_details: Get detailed information about a specific place
  • get_geocode: Convert address to coordinates
  • get_reverse_geocode: Convert coordinates to address
  • get_distance_matrix: Calculate distances between multiple origins and destinations
  • get_directions: Get directions between two points
  • get_elevation: Get elevation data for locations
  • get_map_with_directions: Generate map visualizations with directions, waypoints, and static map images

License

MIT

Author

artixz

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.