Skip to main content
MCP Server

Location services, directions, and place details

Share
890 stars TypeScript MIT Updated: 2025-04-10

Send to Your Agent

Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.

Install the Google Maps MCP server for me.

Server: Google Maps
Description: Location services, directions, and place details
Install command: npx -y @modelcontextprotocol/server-google-maps

Environment variables needed:
- GOOGLE_MAPS_API_KEY: Google Maps Platform API key (required)

GitHub: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/google-maps

Please install this MCP server and confirm when ready.

Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.

Quick Install

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

  1. Open Claude Desktop app
  2. Go to Settings → Developer → Edit Config
  3. Paste the config below into the file
  4. Restart Claude Desktop
{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-google-maps"
      ],
      "env": {
        "GOOGLE_MAPS_API_KEY": "AIza..."
      }
    }
  }
}

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json

Installation Methods

npx Run directly with npx
npx -y @modelcontextprotocol/server-google-maps

Tools (4)

search_places

Search for places using Google Places API

get_place_details

Get detailed information about a specific place

get_directions

Get directions between two locations

geocode

Convert addresses to coordinates and vice versa

Environment Variables

GOOGLE_MAPS_API_KEY Required

Google Maps Platform API key

Example: AIza...

Compatibility

Claude Desktop
Cursor
Cline
VS Code
Devin (formerly Windsurf)

About

A Model Context Protocol server that provides integration with Google Maps Platform. This server enables LLMs to search for places, get directions, and perform geocoding operations.

Key Features

  • Place search — Find businesses, landmarks, and addresses
  • Place details — Get ratings, hours, contact info, and reviews
  • Directions — Get driving, walking, and transit directions
  • Geocoding — Convert addresses to coordinates and vice versa

Authentication

Requires a Google Maps Platform API key. Get one at: https://developers.google.com/maps/documentation/javascript/get-api-key

Use Cases

  • Travel planning — "Find hotels near the Eiffel Tower"
  • Route optimization — "What's the fastest route from JFK to Times Square?"
  • Location analysis — "Find all coffee shops within 1 mile of this address"
  • Address validation — "Is this a valid address? What's the ZIP code?"
  • Distance calculation — "How far is it from here to the nearest hospital?"

Related Resources

Compare LLM Pricing

This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.