@einsteinthesloth/mcp-google-map
v0.0.5
Published
A fork of cablate/mcp-google-map. Credit to the original author: CabLate.
Maintainers
Readme
MCP Google Map Server
A powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
Note:
This is a public fork of cablate/mcp-google-map.
Credit to the original author: CabLate.
Features
Google Maps Features
Location Search
- Search for places near a specific location with customizable radius and filters
- Get detailed place information including ratings, opening hours, and contact details
Geocoding Services
- Convert addresses to coordinates (geocoding)
- Convert coordinates to addresses (reverse geocoding)
Distance & Directions
- Calculate distances and travel times between multiple origins and destinations
- Get detailed directions between two points with step-by-step instructions
- Support for different travel modes (driving, walking, bicycling, transit)
Elevation Data
- Retrieve elevation data for specific locations
Installation
Via NPM
npm install -g @einsteinthesloth/mcp-google-mapUsage
Command Line
mcp-google-mapIntegration with Dive Desktop
- Click "+ Add MCP Server" in Dive Desktop
- Copy and paste the following configuration:
{
"mcpServers": {
"google-map": {
"command": "npx",
"args": ["-y", "@einsteinthesloth/mcp-google-map"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_api_key"
},
"enabled": true
}
}
}- Click "Save" to complete the installation
Available Tools
The server provides the following tools:
- search_nearby - Search for places near a specific location
- get_place_details - Get detailed information about a specific place
- maps_geocode - Convert an address to coordinates
- maps_reverse_geocode - Convert coordinates to an address
- maps_distance_matrix - Calculate distances and times between multiple origins and destinations
- maps_directions - Get directions between two points
- maps_elevation - Get elevation data for specific locations
Google Maps API Setup
To use this service, you need to:
- Create a project in Google Cloud Console
- Enable Google Maps API services
- Obtain an API key
- Set the
GOOGLE_MAPS_API_KEYenvironment variable
Tech Stack
- TypeScript
- Node.js
- Google Maps Services JS
- Model Context Protocol SDK
License
MIT
