MCP Google Maps

by ArtixZ

4 stars
360 downloads
Not rated
GitHub

About

MCP Google Maps server that can be used by claude, cursor, chatgpt, etc.

Details

Author
ArtixZ
GitHub stars
4
Downloads
360
Categories
Media

- Places search and place details
- Geocoding and reverse geocoding
- Distance matrix calculations
- Directions between two points
- Elevation data for locations
- Static map generation with directions

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Google Maps
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the package globally with npm install -g mcp-google-maps. Test the server by running npx mcp-google-maps. Configure the server in your MCP client by adding a google-maps entry with the command npx -y mcp-google-maps, supplying your GOOGLE_MAPS_API_KEY and optional environment variables such as language, region, rate limits, and caching settings.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp google maps": {
            "MCP-Google-Maps": {
                "command": "npx",
                "args": [
                    "mcp-google-maps"
                ]
            }
        }
    }
}

McpServers

{
    "MCP-Google-Maps": {
        "command": "npx",
        "args": [
            "mcp-google-maps"
        ]
    }
}

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.